The original problem: Since I jump from project to project a lot, I have lots of project folders. Summary of the solution: use dnsmasq, and a mass vhost setup. Problem in detail: Normally, you’d have to: create a subdirector for your project all the standard setup stuff for your project. Setup an …
Category Archive: Technology
Aug 30
flush clear dns on Mac OSX 10.7+ 10.8+
The following two commands should work in OS X, 10.7+ dscacheutil -flushcache sudo killall -HUP mDNSResponder sudo killall -HUP dnsmasq Mind you, dscacheutil never worked for me… the second has always worked for me. Update 2012-10-17: Added killall for dnsmasq If you’re pinging something that you’re expecting another ip, check your network configuration, and …
May 23
pidgin.im msn protocol alternative: msn-pecan [update #2]
Okay, Been working with pidgin w/msn-pecan on ubuntu 10.04. New problem, pecan doesn’t crash pidgin anymore, however I am logged out after I’ve been away from my computer a little bit. As in, when the screen saver kicks in, pecan logs me out or can’t maintain a connection. Doesn’t seem to happen in windows 7. …
Apr 08
pidgin.im msn protocol alternative: msn-pecan [update]
Discovered that is crashes a lot, on ubuntu. Pretty stable (haven’t noticed it crashed yet) on windows. Verdict thus far: good on windows. Horrible on ubuntu.
Apr 01
Debugging a segfault in PHP
debugging segfaults is not fun. My low key technique: place a printf(“made it here: %s, %s+ %s\n”, __METHOD__, __LINE__, __FILE__); everywhere… put “DIE(‘something’);” to figure out the exact line that fails. If dies, good. move it further down. If it segfaults, move the die statement up. Until you’ve found the exact line that fails. Figure …
Mar 01
little project ideas
Just found a need to access my home server… however, it’s powered down… how can I overcome this problem in the future. To answer my own question… I should go lookup how to send a wake-on-lan command to the box. As well as know what my IP is… project ideas: 1.) Current IP notifier – send …
Sep 17
My current extension list for firefox 3.0.1
Adblock Filterset.G Updater 0.3.1.3 Synchronizes Adblock with Filterset.G Adblock Plus 0.7.5.5 Ads were yesterday! Better Gmail 2 0.6.1 Enhances Gmail with a compilation of user scripts and styles. All scripts copyright their original authors. Click on the script homepage in the Help tab for more information. Canadian English Dictionary 1.1.1 Canadian English (en-CA) spellchecking dictionary …
Oct 11
Encryption idea
A few months ago, I saw this method of jumbling words to make words all weird. “Hree is an exmlape”
Oct 11
Windows Vista timesync problem
Add “pool.ntp.org” to the server list solved my problem. The quick explanation is that the other servers on the list, are being hammered by millions of other window machines.