Skip navigation.

My Scattered Techie Notes

while mastering the firebending

Undo that SVN rm

Use the svn revert command:

svn revert --recursive example_folder


and your life saved :smile: (can be also apply to svn add)

How to make Phusion Passenger run in development mode

, , , ...

Simply add this to your virtual host configuration file

RailsEnv development


so it may looks like this

<VirtualHost *>
ServerName example.com
DocumentRoot /home/yourname/htdocs/example.com/public
RailsEnv development
</VirtualHost>


don't forget to restart your Apache.

Enabling Atheros AR5007 Based Wireless on Ubuntu 8.04

, ,

My main notebook use Atheros AR5007 based chipset (Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)) wireless adapter and I found it's not automatically working with Ubuntu. I came accross this solution to make it work but I did little modification due to MadWiFi driver update.

By the way, these steps below is for 32-bit users.

  1. First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following option: Atheros Hardware Access Layer (Hal)
  2. Reboot.
  3. Open the terminal.
  4. To make sure your sources is updated you can run
    sudo apt-get update

  5. and proceed with
    sudo apt-get install build-essential

    wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3875-20081105.tar.gz

    tar xfz madwifi-hal-0.10.5.6-r3698-20080604.tar.gz

    cd madwifi-hal-0.10.5.6-r3698-20080604

    make

    sudo make install

    sudo modprobe ath_pci

  6. Reboot.


That’s it now your wireless should work without any problem.

Updated on February 28th 2009, thanks to Shail and SideJacked.