Computer Science
HowTo set hostname/domainname on linux
If you’ve gotten this error: hostname: Name or service not known when typing hostname -f, then here is a solution. I got this error while trying to install Plesk. I couldn’t find a single clear response, most people spent their time showing how smart they are by explaining how host names work, and what it [...]
Tags: Command Line Commando, HowTo, Linux, Server
Posted in: Computer Science, Linux, Tips and Tricks, Topics | 1 Comment »
Tip: Flex/AS3 keyboardEvent listener
If you are writing a flex app, you might get this error TypeError: Error #1009: Cannot access a property or method of a null object reference. if you do, it simply means that you are trying to do something with an object that hasn’t yet been created. If that object is the stage, then you [...]
Posted in: ActionScript 3 Tutorials, Computer Science, Flex/AIR Tutorials, Tips and Tricks | No Comments »
HowTo Knock it off with crazy MYSQL queries and the qTranslate plugin unistall
We’ve all done it. Either we learn some tricks in MYSQL, or read a cool post about some obscure programming trick you can do with SQL and decide to try it in a pinch on a live database. Just don’t do it. 9 times out of 10 you have access to SSH, and PHP, and [...]
Posted in: Computer Science, MySQL, PHP Tutorials, PHP/MySQL, Tips and Tricks, Topics | No Comments »
Google Chrome Proxy Settings
Wow, google really fell down on the job with this one, using the basic windows/IE connection settings for the internet, I know it’s easier that way, but that’s an inconvenience I don’t need. Chrome is faster, but lacking such a basic feature really makes me not want to use it. It’s almost the principal of [...]
Tags: Rant, Tech Reviews
Posted in: Computer Science, General Computing, Information News, Topics | No Comments »
RubyGems 1.2+ Index not found, gems fail to install/update slow/sluggish
I had this problem while running sudo gem install anything, like sudo gem install sqlite3-ruby or what not, albeit while running Ubuntu in VirtualBox. The fix that worked for me was editing /etc/resolv.conf and using google’s public dns nameservers of 8.8.8.8 and 8.8.4.4 Now it works fine… Go figure. Related Posts:HowTo set hostname/domainname on linuxWhere [...]
Tags: Command Line Commando, Errors, Linux, Ruby, RubyGems
Posted in: Computer Science, General Computing, Information News, Topics, Tutorials | No Comments »
dovecot fatal listen address already in use
Here’s the best and quickest solution I could find: dpkg -r dovcot-common dovecot-pop3d etc… apt-get install popa3d And you’re done. Not, etc.. isn’t a package, just dpkg -r the ones you installed, like dovecot-imapd or such. Fixes the issue everytime. Related Posts:Developer BluesRubyGems 1.2+ Index not found, gems fail to install/update slow/sluggishFuck Kindle and AmazonSOAP [...]
Tags: Command Line Commando, Errors, Humor, Rant
Posted in: Computer Science, General Computing, Humor, Information News, Topics, Tutorials | No Comments »
HowTo: C Function Pointers for a Linear Search, void star pointer trick, comparison using memcmp, string replace
Well, I was messing around in C again today, sometimes I just love C, it’s a fun language when you understand it, which I really don’t, but am beginning to grok it. Anyway, I was checking out a little tutorial on C and saw this cool little trick that I thought I would share. It’s [...]
Tags: C/C++, HowTo, Programming
Posted in: c/C++, Computer Science, General Computing, Topics, Tutorials | No Comments »
The Essentials of Computer Programming, Part I: Binary Math (Addition, Subtraction, Multiplication, and Division)
At some point or another I got it into my head that I wanted to learn more about computers, and how they work. There seem to be a lot of places to start, even down at the deep hardware level, but, from a software perspective, the lowest it goes, is Binary. What the hell is [...]
Tags: Programming
Posted in: Computer Science, General Computing, Topics, Tutorials | No Comments »
