Thursday, December 14. 2006Linux 5ucks on the desktop!![]()
I’m using Linux for some years now. It provides a very robust server operating system. With Linux you have high performance file systems, intelligent process handling, transparent configuration and very stable server software. You can have Linux for free, its software is open-source, thousands of programmers care for quality assurance. It really works.
But some think that Linux could replace Microsoft Windows on the PC. Windows is a great gaming platform, and some admins even go that far and use it on their servers! Similarly, some Linux enthusiasts placed Linux onto their PC or notebook. They believe, the time is now ripe for a desktop revolution. I also tried it, but, in my eyes, Linux is not usable on the desktop for ordinary people as long as:
Linux enthusiasts are pretty cool. They are hackers. Lots of textlines scroll over their X-desktop, just like in The Matrix. They encrypt their e-mails. If you want to be as cool, become it on your own. If you ask one of them to help you with your problem with Linux, they are unpolite and correct your misspellings. Linux freaks are assholes. I am one of them.
Posted by Stephan Paukner
in GNU/Linux
at
08:22
| Comments (2)
| Trackbacks (0)
Defined tags for this entry: rant
Thursday, December 7. 2006Tätigkeitsbereiche![]()
Um einmal niederzuschreiben, was ich bei der SOL4-IT alles so gemacht habe, habe ich mir eine Liste meiner Tätigkeiten erstellt. Das wäre ein Grundgerüst für die nächste Bewerbung. Um nicht zu viel zu verraten, habe ich hier die jeweiligen Kundennamen nur abgekürzt.
Beschäftigungszeitraum: 10.07.2003 - 31.01.2007. Alle Aufgabenbereiche wurden in direktem Kontakt mit dem jew. Kunden abgewickelt. Lotus-Notes-Development
Sunday, November 26. 2006jpg document vs. JPEG image![]()
Linux sucks on the desktop. I’ll write a rant on this soon.
In Nautilus, suddenly, one day, after a general (apt-get) upgrade, there were no more thumbnails generated for new JPEG images. When I clicked one of the icons, instead of opening the image in the viewer ‘eog’, a message raised, saying The filename “IMG_1234.JPG” indicates that this file is of type “jpg document”. The contents of the file indicate that the file is of type “JPEG image”. If you open this file, the file might present a security risk to your system.followed by the usual security-blah-blah. I couldn’t examine what the cause was, until I finally stepped over a posting telling that the file ~/.local/share/mime/globs contains an overfluid entry. Remove that entry containing the string ‘jpg’. Saturday, November 4. 2006Host automatically up and down![]() For the usage of a local backup host, I defined the following scenario, which could also be used for a printer server or any other type of host, which shouldn’t run 24/7, but:
And here’s the shell-script which implements the above. It’s enough to have it run every five minutes. The “echoes” are only interesting for debugging purposes. Continue reading "Host automatically up and down"
Posted by Stephan Paukner
in GNU/Linux
at
18:05
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: bash, programming
Monday, October 9. 2006Password generator in bash![]()
#!/bin/bash
# Number of letters as argument, default 7 if [ “$1” != “” ]; then num=$1 else num=7 fi generate() { # Take 1 block from /dev/urandom, encode it base64, # remove first two and last status line, purge capital letters and # special characters from output, cut desired length from front # sed with [A-Z] doesn’t work with Suse - typical! password=$(dd if=/dev/urandom count=1 2>/dev/null | uuencode -m - \ | head -n 2 | tail -n 1 | sed -e ’s:[/+A-Z]::g’ | cut -c -$num) } # Repeat until letters AND digits occur while true; do generate if echo $password | grep [a-z] | grep [0-9]; then break; fi done
Posted by Stephan Paukner
in GNU/Linux
at
07:43
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: bash, programming
Wednesday, September 27. 2006Using DVD-RAM on Linux![]() I had so many problems using DVD-RAM on Linux. I formatted them as ext2 and mounted the device /dev/sr0 directly, and wondered why there were so many SCSI-errors. I retried formatting as UDF, but this wasn’t better either. With UDF, the writing process didn’t even finish overnight! I finally found out what the problem was: I should have used Packet Writing. With this, and together with UDF and certain mount options, it finally worked, thanks to a (German) Linux DVD-RAM HOWTO. In short: Load the pktcdvd kernel module (or compile support into your kernel). Then issue the pktsetup command as told in the HOWTO (or have a corresponding init-script do it). Format (or keep, if you just bought it) your DVD-RAM as UDF; the UDF revision is only important if you want to share the disk with old operating systems (such as Win2k). Then mount your disk using the options rw,noatime,async,users. I had to switch from kernel 2.6.15 to 2.6.17, as otherwise I got a pktcdvd: Wrong disc profile (0)error in the syslog. With 2.6.15, it only worked mounting read-only, and remounting (-o remount,rw) as read-write. Wednesday, September 6. 2006Two pages on one - rearranging Postscript documents![]() For my mathematical Master’s thesis, I already downloaded and printed out some research papers—and that term already refers to the material it is printed on: To save paper, I like to print them out fitting two pages on one. To achieve this, I create a separate postscript document with the desired layout. I don’t want my printer to do that calculations, as it is not that flexible. psutils is the package of choice for manipulating Postscript documents. It contains the command pstops to convert—literally—Postscript to Postscript. The standard version of fitting two pages on one is: pstops ‘2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)’ infile.ps outfile.ps This arrangement is exact. You might find the font size a bit too small, and the white margins offer you to have the text enlarged a bit. My modified version, which reduces whitespace and enlarges the text by 20%, is: pstops ‘2:0L@.85(23.85cm,-1.5cm)+1L@.85(23.85cm,12.5cm)’ infile.ps outfile.ps I even came over an article, rendered on A4, but only using the area of A5-pages for the text. Every actual A5-page was centered on a single A4-page. So I needed no magnification, but only different shifts: pstops ‘2:0L(24.075cm,-2.175cm)+1L(24.075cm,10.5cm)’ infile.ps outfile.ps Thursday, August 24. 2006Netzwerker bei der Arbeit![]()
[started: 10:27]
Thomas Eisenm... Du, Frage: ein 248-Subnetz ist alternativ mit /29 anzugeben, oder? Stephan Paukn... ja Thomas Eisenm... 2°5? Thomas Eisenm... 2^5 mein ich Thomas Eisenm... nö Stephan Paukn... nrin Stephan Paukn... nein Stephan Paukn... 2^8 + 2^7 + ... Thomas Eisenm... :-p Thomas Eisenm... nicht einfacher? Stephan Paukn... ah ab 2^7 Thomas Eisenm... /24 = 0 Stephan Paukn... summe i=0 bis 7: 2^i Thomas Eisenm... kack Stephan Paukn... ah nicht 0 bis 7 Continue reading "Netzwerker bei der Arbeit"
« previous page
(Page 3 of 16, totaling 126 entries)
» next page
|
AboutCalendar
ArchivesCategoriesShow tagged entriesandroid antenna anti-spam apache astronomy austria automobile ballooning bash bluetooth bug career cloud collecting comic cooking crypto cw debian dreams education electronics event fail fashion finance flickr 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 microsoft migration movies music numismatics octave pdf perl philately philosophy phone photo gear photography physics podcast politics postfix private programming public transport rant religion review samsung science security shtf social web software statistics storage sustainability symbian tablet time lapse transceiver tv usenet video virtualization wordplay work www yahoo youtube
Syndicate This BlogFollow meBookmarks
Powered by |