Monday, April 30, 2012
Quote: Seeds you Plant
Friday, April 27, 2012
Server showing IP address in URL?
Wednesday, April 25, 2012
Point Domain Name to your Server
Monday, April 23, 2012
Adventure into Electronics
Friday, April 20, 2012
I'm not IT bitch
The one thing that makes me cringe is when someones asks me if I'm IT or should do IT. Many miss use this term because they're ignorant.
I agree with Linus Torvalds and this is what he said:
"Oh, the absolute *last* thing I want to do is be seen as a support person. No way.
But I’m simply not really organized enough to be a good MIS person. And frankly, I lack the interest. I find the low-level details of how computers work really interesting, but if I had to care about user problems and people forgetting their passwords or messing up their backups, I don’t know what I’d do. I’d probably turn to drugs and alcohol to dull the pain".
source
I don't want to help you fix your mistake, your lack of knowledge, fix your screen resolution. I'm a programmer, I build things, I'm not IT bitch!
Wednesday, April 18, 2012
Programmer Hiring
First I'm not a geek just because I'm a programmer. By definition I'm NOT a person regarded as foolish, inept, or clumsy.
Second, the questions were wrong like saying PHP is a programming language when in its a scripting language, some were dumb like who is father of PHP, who cares! How does knowing this make your software any better, some question were deprecated and finally bad practices and obfuscated. Overall silly!
Now I wonder what kind of developers they have employed. Recruits don't understand that programming isn't a multiple choice test and not necessary what you know but what you can discover. Without the internet I'm a worst programmer because I use it like an extension of my memory. I don't try to memorize every single function in a language because I'm not going to use them all and I can build my own if I have to.
Friday, April 13, 2012
Too many Options
Did you ever start a project or idea but not finish it because another option appeared? When younger we normally had 2 or 3 games for our SEGA and we played those games so many times we could easily sing the songs. Now I have many games its a sacrifice to finish one.
Less options makes life simpler. Imagine if you had 5 toothbrush to choose from. How frustrating every morning would be and you'll probably end up using only one anyways.
Don't confuse less options with laziness to achieve them. I can but don't because I choose not to. Because the harder you work the more options you get.
Simplicity is what I strive for, not how cool looking or complex my code is. If it gets the job done why will I put an unprofitable twist to it?
Wednesday, April 11, 2012
SSH in Windows
The problem I was having is that ssh is shipped with Unix operating systems such as Linux and iOS but not on Windows. What if I need to securely access my files on my Windows computer, what will I do? No worries you can have ssh on on Windows but it takes extra work. You'll need to install cygwin a Unix-like environment and command-line interface for Windows. Click Me for detailed instructions on how to set it up.
Friday, April 6, 2012
Hello world in Node.js
$ apt-get install openssl libssl-dev
Create a file named test.js, and copy and paste the code below
To start the server go to the terminal and the run the script you created by typing
//how to run the server output hello world
var http = require('http');
var server = http.createServer(function(request, response){
response.writeHead(200, {
'Content-type' : 'text/plain'
});
response.end('hello world');
});
// where the host in located
server.listen(8000); //see the code below
console.log('listening on http://127.0.0.1:8000'); //echo in the terminal whatever you want
$ node test.js
Now go to the browser and enter http://127.0.0.1:8000 and your done.
Resource: http://net.tutsplus.com/tutorials/javascript-ajax/this-time-youll-learn-node-js/
Wednesday, April 4, 2012
Downloading files using PHP
/file.rar
Now when you want to download it just go http://mysite.com/file.rar
It's that simple, don't over complicated it and you don't need PHP. Yesterday I tried to figure out how to download files but ran across all kinds of complicated methods. Using HTTP heaters, download helper; force_download in codeigniter, and PEAR. Maybe the reason I had such a hard time finding the solution was because its too obvious. Shot! I personally missed it.
Tuesday, April 3, 2012
Finish Strong
This analogy can relate to any goal. You may start off slow but if your pace is good you will finish on top. Slow but steady wins the race. Show me someone who is consistent and I'll show you a successful person. Lesson learned!