Intranet: setup DJBDNS to respond for *.local to help development

  0. Follow instructions to setup a DNS Cache   1. Create an alias for eth0: # nano /etc/network/interfaces auto eth0:0 iface eth0:0 inet static address 10.0.0.251 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.254 2 . restart networking # /etc/init.d/networking restart   3. Use tinydns-conf to setup djbdns  #… Continue reading

Kohana 3.2.6: Change Default Route

Let’s define a redirect module that will handle all requests that were not handled by any other controller. It will also be a good place to include a 404 page. modules/application/bootstrap.php Kohana::modules(array( . . ‘redirect’ => MODPATH . ‘redirect’, //Redirect module . . )); Route::set(‘default’, ‘(<request>)’, array( ‘request’ => ‘(.*)’,… Continue reading

Code:: css-message-box

I just started a Google Code hosted project since I’m always in need of pretty message boxes for my HTML things. Let me know if you want/can contribute to it. It’s currently licensed under GPL 2.0 Here’s the address: http://code.google.com/p/css-message-box/   Why: This seems to have been dead for a… Continue reading

Installing DropBox on Slackware 13.1 64-bit

Before you start, let's make sure you have gnome docutils installed: Get the package: http://www.linuxfromscratch.org/blfs/view/cvs/gnome/gnome-doc-utils.html Install GNOME Doc Utils (this part is borrowed from LinuxFromScratch book) ./configure –prefix=$(pkg-config –variable=prefix ORBit-2.0) –mandir=$(pkg-config –variable=prefix ORBit-2.0)/share/man make Test it make check and then install as root: make install switch to Dropbox installation folder… Continue reading