If you are looking for a file by date you can use
touch -d "13 may 2001 17:54:19" date_marker
find . -newer date_marker
Wednesday, April 22, 2009
Linux looking for a file by date
Installing Postgres in Rails
Install PostgreSQL:
sudo aptitude install postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common postgresql-doc-8.2
Install ruby based postgres
sudo gem install postgres-pr
Install native postgres
sudo aptitude install ruby1.8-dev libpq-dev
POSTGRES_INCLUDE=/usr/include/postgresql sudo gem install postgres
sudo aptitude install postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common postgresql-doc-8.2
Install ruby based postgres
sudo gem install postgres-pr
Install native postgres
sudo aptitude install ruby1.8-dev libpq-dev
POSTGRES_INCLUDE=/usr/include/postgresql sudo gem install postgres
Tuesday, April 21, 2009
Mounting Network driver on Mac
To mount a network on my Mac I used a combination of Macfuse, SSHFS and Macfusion.
First installed Macfuse:
http://code.google.com/p/macfuse/
then install SSHFS
http://fuse.sourceforge.net/sshfs.html
Last install MacFustion
http://www.macfusionapp.org/
then just mount your driver
First installed Macfuse:
http://code.google.com/p/macfuse/
then install SSHFS
http://fuse.sourceforge.net/sshfs.html
Last install MacFustion
http://www.macfusionapp.org/
then just mount your driver
Changing A Debian Package
Unpack it.
dpkg-deb -x name.deb dir
Get conf files
dpkg-deb --control name.deb dir/DEBIAN
Edit
vi dir/DEBIAN/control
Pack it again
dpkg -b dir edited.deb
dpkg-deb -x name.deb dir
Get conf files
dpkg-deb --control name.deb dir/DEBIAN
Edit
vi dir/DEBIAN/control
Pack it again
dpkg -b dir edited.deb
Subscribe to:
Posts (Atom)