another devin-inspired website
Ever really debugged before? It’s a life changer. Forget dpm, dd, print_r, var_dump… 1) Install a debugger of your choice (NetBeans, protoeditor, Komodo, Eclipse…) 2) Install/Configure XDebug extension pecl install xdebug If you get errors regarding `pecl`, `phpize` or missing libraries, try installing the php-pecl and php-devel packages. Go to /etc/php.d, or wherever your PHP [...]
This is Mary. Joe has gone dead and I have wonderful news for you at the Can. It’s quite a bit fast. On October 8. You filled out the entry slip with my company Sundance return my call. Devin because I E M O I do have your wonderful and very exciting news. Waiting for [...]
PHPUnit has built in support for taking a screenshot with Selenium and storing it locally (as in, on the server that is running the firefox instance) This doesn’t work well when you’re running selenium RC, because you won’t know what server firefox eventually runs on. Fortunately, PHPUnit also implements captureEntirePageScreenshotToString(), which will return a base64-encoded [...]
rebuilding a software raid array and stuck with this error? for example, I was rebuilding on a live array and the server took a dive. try tricking the array into believing its clean, then try to add a new drive or start the array again. echo “clean” > /sys/block/md0/md/array_state mdadm /dev/mdN -a /dev/sdXN or mdadm [...]
Dolphin is still missing some features that I have set up in Konqueror. But EVEN AFTER changing your preferred “file browsing” application to Konqueror under System Settings ->Default Applications, Dolphin still runs on mostly any folder operation. I found that the easiest way to get Konqueror to run instead was to symlink dolphin to konqueror. [...]
instead of doing ssh customuser@hostname.com -p 12345 put some lines in your ~/.ssh/config file (create it if it doesn’t exist) Host hostname.com Port 12345 User customuser save some keystrokes, now you can do ssh hostname.com