Friday, December 16. 2005Changes between development and public directory![]()
I do testing in web development in that way, that the public website is stored in the public_html subdirectory, and the test site is located in develop_html. To see whether there are differences between those two sites, I use the following aliases:
alias changes=’dir=$(pwd|sed -e s:develop:public:); echo diff with $(echo $dir|sed -e s:$HOME:\~:); for file in $(for rcsfile in RCS/.??* RCS/*; do echo $rcsfile|cut -d, -f1; done); do echo “>>> $(basename $file):”; colordiff --no-banner $(basename $file) $dir; done’
That way only files I manage with RCS are checked, and I can do that call from any subdirectory of develop_html.
Posted by Stephan Paukner
in GNU/Linux
at
15:32
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: bash, programming
Thursday, December 15. 2005Part 2 finished with "outstanding success"![]() Today I went to Prof. Baxa and showed him my exam reports. Although there were some “Gut” (“good”, i.e. B’s) among them, I cleverly combined them with some “Sehr gut” (“very good”, i.e. A’s) to get an average of “Sehr gut” in most cases. Topology will be my only “Gut” in the master exam report. But that’s OK, as I can’t call myself a very good mathematician. Anyway, all in all I have finished the second part of my study with “Ausgezeichneter Erfolg” (“outstanding success”). All that’s missing now is a master thesis and the master exam. Tuesday, December 13. 2005Literature![]()
Also, I finally collected all exam reports and will hand them out to Prof. Baxa, together with the exam pass. The meeting with Thomas K. is still up to come, but I want to wait until I really understand what we’ll be talking about. Thursday, December 1. 2005DVD-RAM for backup![]() I got myself a “Super Multi DVD ReWriter”, namely the LG Electronics GSA-2166D, an external DVD burner using a USB 2.0 interface. I plugged it in and could use it immediately with GNU/Linux thanks to udev and the kernel modules scsi_mod, sr_mod (for SCSI CD-ROM drives) and usb_storage. I want to use DVD-RAM as backup media, and it really works like a charm: I could create an ext2 filesystem on it by simply issuing the command
# mke2fs /dev/dvdrw
after which I could mount it and use it like a harddisk. The only drawback is when a large amount of data is written, the kernel is still busily writing data for up to 15(!) minutes after the copy process has finished in the user space! Be careful when using such media with autofs. I experienced that when I simply began to copy data to /misc/dvdram without explicitly mounting the media before, autofs reaches its timeout during the transfer, which leads to a currupt filesystem. The manually executed e2fsck failed, all files went into lost+found!
(Page 1 of 1, totaling 4 entries)
|
AboutCalendarArchivesCategoriesShow tagged entriesandroid antenna anti-spam apache austria automobile ballooning bash bluetooth bug career cloud collecting cooking crypto cw debian diy dreams education electronics event fail fashion finance flickr fuerteventura fun gentoo geography german gnu-linux gnucash google google earth graphics guitar hardware history image processing internet kernel kids language lanzarote lhc lifestyle linkroll literature ltd machine learning making mallorca mathematics matlab migration munich music nautilus numismatics octave perl philately philosophy phone photo gear photography physics podcast politics postfix private programming public transport rant religion review salzburg samsung science security social web software statistics storage sustainability symbian tablet time lapse transceiver tv usenet venice video virtualization wordplay work www yahoo youtube
Syndicate This BlogFollow meBookmarksPowered by |