Archive for November, 2006
Posted by JohannesTheHuman in light thoughts on November 28th, 2006
Always act so that the number of your options increase.
Renice all emerge processes and subprocesses to a nice value
Posted by JohannesTheDeveloper in fun with Linux on November 28th, 2006
Renice all emerge processes and subprocesses to a nice value:
ps -Ao pid,comm | \
grep emerge| \
sed 's/^ *//g' | \
cut -f 1 -d " "| \
while read line; do \
pstree -pl $line|\
grep -E "[0-9]{3,}" -o|\
while read pid; do renice 10 $pid; done
done
Easy to modify…
Schwarz, stark und lecker.
Posted by JohannesTheDeveloper in Zeugs on November 14th, 2006
äh. ja jetzt Junge, Alte das is Kaffee, ne und Kaffee is nu ma lecker, ne , schwarz, stark und vor allem schön lecker, echt jetzt. Schwarz und schön lecker . äh Junge, Äh, wenn ich ehrlich bin, dann , äh , trink ich am liebsten echt schwarzen Kaffee .
Vor allem wenn er schön schwarz und lecker is, Captain.
Schwarzer, Junge, jetzt echt schwarzer Kaffee, wa, Junge , äh, der schmeckt richtig, lecker schmeckt der echt jetzt, hmm, äh . äh, det wil ich dir jetzt echt mal erklären Alte, äh, schöner schwarzer heißer schöner Kaffee, scheiße, höö?
Kann auch Milch reinschütten.
Öhm äh, schwarzer Junge, äh, der is doch nimmer schwarz, wenn du da Milch reintust, äh ich erklär dir des nochmal, schwarzer , schöner, heißer Kaffee, äh, richtig dunkel-schwarzer, heißer Kaffee, hm. Also dann ohne Milch. hm, mh mhmmhih , ich glaub ich hab mir grad echt n Ei eingeklemmt, scheiße ,mh
stop high-load programs, if they get out of control
Posted by JohannesTheDeveloper in fun with Linux on November 14th, 2006
Stop high-load programs, if they get out of control:
amule likes to defunct.
LOAD=$(cat /proc/loadavg |cut -d . -f 1); if [[ "$LOAD" -gt 3 ]]; then skill amule sleep 3 skill -KILL amule fi
this as a cronjob.
Dual-Boot stuff
Posted by JohannesTheDeveloper in fun with Linux on November 14th, 2006
There are some platform-independent programs, lets pick Firefox.
Since it is build across platforms, it stores it data platform-independent. So there should be a way to connect your Windows-Firefox-Profile with your Linux-Firefox-Profile (same applies to other UNIX-derivates like MacOS, BSD).
I thought so years ago. But then I stumbled upon a post verifiing my idea. It wasn’t saying how you can do it, just that its is possible with the suspicious note: “Will note how this works some other day.” We all know what that means.
So I tried it on my own. From Linux, it is quite easy. You can make a soft-link from ~/.mozilla/firefox (depends on distro and version, also see the Knowledge Base on Profile_Folder) to your Windows-Profile.
You wouldn’t have a problem if Windows wasn’t NTFS. If you have a FAT C:\, then lucky (unsecure) you. If you got NTFS, you can still copy it over in Linux (don’t forget to set it writable, otherwise you’ll get “Profile in use”!).
Solution: In Windows, install a PortableFirefox version or otherwise lay your profile folder on another cross-platform writable partition, aka FAT32. (do you know any other?)
Same works for Thunderbird.
The way I like … MacOS
Posted by JohannesTheDeveloper in The way I like ... on November 14th, 2006
First, I never had a Mac computer (omg, I nearly wrote PC) or laptop.
I worked with it once (MacOSX and Classic) and it was nice. It looks nice, it works, is fast, everything cool.
I like to watch the people with these MacBooks-toys …
Btw: I wonder if you can choose a different theme for the desktop: What if I don’t like blue and gray? I never saw a MacOSX without the default style.
I like the zoom out and see all windows thing … loved it when Xgl stole it … um this is getting off-topic…
I’m shocked when they boot Window XP… I wonder how they rightclick there btw… There must be some Ctrl-click to replace that…
I like what Apple produces. It looks good and is innovative. But they all [Apple, Microsoft, Google] are commercial und thus not un-evil.
Macs seem to be the best atm: You can have it triple-booted: MacOS, Windows, Linux. And BSD, maybe.
Still, they look like toys and YOU CAN’T RIGHTCLICK!!!
The craziest thing I’ve ever done … on Linux
Posted by JohannesTheDeveloper in fun with Linux on November 13th, 2006
I downloaded a Ubuntu (Linux) install CD, was too lazy to burn it. So I booted the image file on the hard disk it from Windows using VMWare and installed it on the hard disk (of course, in another partition). Rebooted, adjusted here (X Server config) and there (kernel parameters), but it worked.
The way I like … Windows
Posted by JohannesTheDeveloper in The way I like ... on November 13th, 2006
I like Windows. It comes with my computers, so why through it away? What you got is what you got.
I really like Windows.
I like it for being secure (if you know how to configure it).
I like it for being stable (if you know how to configure it).
I like it for being performant (if you know how to configure it).
I like the Graphical server. I like it slightly more than X, because it feels more native.
I like it after I installed 100 programs for having it how I want.
I like it for Notepad!!!
I like it for calling everything over Win-R: Programs, Urls. I also use it to take notes.
- StrokeIt Mouse Gestures … I’m so fast
- NEO keyboard layout
- Firefox … I already said I like Firefox
- Kerio Firewall
- Copy Handler for copying a lot faster over the net
- WinRAR for zipping, raring (never heard that word) and opening tarballs
I like it. Maybe I’d hate it too, if I didn’t know it so well.
I just hate it that you have to install everything manually and every installer is different.
The way I like … Linux
Posted by JohannesTheDeveloper in The way I like ... on November 13th, 2006
I like Linux in GNOME, with Kartoon-Icons and Glossy-P Theme.
I like Linux in KDE with Kontact and Kopete.
I like Linux in IceWM because the whole boot take 60 seconds then.
I like Linux from floppies in raw style tty.
I like Linux for being able to switch to ttys when my load is over 30.
I like Linux for cronjobs, atjobs and shellscripts that allow me to delegate my work to the system.
I like Linux because I can stick it together like Lego.
I like Linux because it can look like DOS, Windows, MacOS, the desktop on the highest rated theme site or how I want it and still be performant.
I like Linux for being a server.
I like Linux for being a desktop.
I like Linux for “apt-get update” and “yum update -y”.
I like Linux because selecting between ten-thousends of packages is like shopping must be for girls…
I like Linux for not being limited to be called Linux.
I like FreeBSD too.
I like Linux for the distributions getting better every half-year – you can watch it.
I like Linux for all the odd things you can do with the devices files and the network.
Also, it’s free, did you know that?
The way I like … firefox
Posted by JohannesTheDeveloper in The way I like ... on November 13th, 2006
I like firefox with
- Foxiliciuos and del.icio.us for syncing my bookmarks between Windows and Linux and having them available online.
- Downloadthemall … for downloading??
- Forecastfox on the top right with 9 days forecast
- Adblock of course … no one should be able to make money with the internet, but it ought to be free -.-
- WebDeveloper Toolbar for starting evil [tm] hacks
- DictionarySearch with PDA LEO setup: http://pda.leo.org/?search=$
- CustomizeGoogle
I like to have Wikipedia (en, de), PDA LEO and Google as search engines.
I like to have > 20 tabs open.
I like to use poweruser moves on the fox (middleclicking on tabs/links, shortcuts, moving through search engines with ctrl-up and down, etc. etc.)
I supposed to make the active search engine bold to the developer team (in the time where I worked in QA, bug squad and irc support for mozilla.org).
I like Firefox.
… Although Konqueror is nice too. Opera is a god object. IE6 is harmless. 7 is odd.
Recent Comments