draft0 - a shared blog by just some people

Menu

All Entries (Page 30)

Bash Dotfiles

I've finally taken some time to overhaul my dotfiles. I took a lot from git repositories and reddit posts that I've found and added some functions and aliases myself. I'm using Bash 4 and haven't tested any of this with any other shell. I've removed and redacted personal lines.

.bashrc

.bash_profile

.bash_aliases

.bash_functions

.bash_options

There are a lot of dotfiles that other's have shared that would be worth sharing here. But it's easy to find those and I don't know what you'd like or not. So I'll point out just one simple project, "Sensible Bash by Mattia Tezzele, that attempts to set saner Bash defaults.

Comment via email

Beep Wars

This is one of these things that gets copied around without crediting the author or mentioning any source. Yea, I'm doing it too. I don't know where I got it from anymore.

If you still have a physical pcspeaker, execute this in your Linux shell for some beep music:

beep -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 250 -f 622.26 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 739.98 -D 100 -n -l 25 -f 698.46 -D 100 -n -l 25 -f 659.26 -D 100 -n -l 25 -f 622.26 -D 100 -n -l 50 -f 659.26 -D 400 -n -l 25 -f 415.3 -D 200 -n -l 350 -f 554.36 -D 100 -n -l 250 -f 523.25 -D 100 -n -l 25 -f 493.88 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 25 -f 440 -D 100 -n -l 50 -f 466.16 -D 400 -n -l 25 -f 311.13 -D 200 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 466.16 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 700 -f 587.32 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 739.98 -D 100 -n -l 25 -f 698.46 -D 100 -n -l 25 -f 659.26 -D 100 -n -l 25 -f 622.26 -D 100 -n -l 50 -f 659.26 -D 400 -n -l 25 -f 415.3 -D 200 -n -l 350 -f 554.36 -D 100 -n -l 250 -f 523.25 -D 100 -n -l 25 -f 493.88 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 25 -f 440 -D 100 -n -l 50 -f 466.16 -D 400 -n -l 25 -f 311.13 -D 200 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 300 -f 392.00 -D 150 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 700 -f 392

I've converted it for FreeBSD:

echo "L15T120MSO4G...G...G...D#..A#G...D#..A#G.....>D...D...D...D#..<A#F#...D#..A#G.....>G...<G..G>G...F#..FED#E.~~~~<G#~>C#...C..<BA#AA#.~~~~D#~F#...D#..GA#...G..A#>D.....G...<G..G>G...F#..FED#E.~~~~<G#~>C#...C..<BA#AA#.~~~~D#~G...D#..A#G.._~D#...A#G....." > /dev/speaker

I'm no musician. I know it's not quite right. But if you ask me, for what it is it's almost good enough. (I think you can tell that I'm not a Star Wars fan.)

Comment via email

Just Try It! It Will Have Been Simple Afterwards.

Again and again I encounter technical problems (software bugs, hardware defects) that seem to be nearly impossible to fix without having had a proper education in the respective field. The simple, and correct, way to getting rid of these types of problems surely is to declare them not a problem. Buy a new device, convince yourself that you don't want the feature anyway, make somebody else solve your problem and blame them if it isn't perfect or breaks again.

But in those cases where I do find the motivation to try and repair something myself, it is often easier than expected and always so in hindsight. If you have repaired something yourself before that you initially considered to be a problem that is above your capabilities, I congratulate you on this eminently gratifying feeling that more often than not seems to come with this experience. If you haven't, this sentence doesn't address you.

Comment via email

Deutschland, Bildung und der ganze Rest

This blog entry was originally posted to mixlog.de.

Diese Woche bekamen wir eine email der IHK, die erläuterte dass viele Schulabsolventen nicht ausbildungsfähig sind, u.a. wegen Motivations-, Rechen- und Leseschwierigkeiten. Die IHK bot als Hilfe Ihre Schulungen an (CD Lernmaterial und Kurse). Damit auch morgen all die Arbeit erledigt werden kann liegt es im Interesse der Unternehmen Ausbildung zu effektiv zu realisieren, so gibt es einen Wettbewerb um die motiviertesten Absolventen und da es immer weniger Jugendliche gibt, investieren die Unternehmen seit Dekaden in den betriebsinternen Ergänzungsunterricht. Unternehmen üben mit ihren Azubis neben dem Fachlichen eben auch Mathematik und Deutsch.

Was mich wundert: Warum nehmen Unternehmen das hin, wieso versuchen sie so selbstverständlich das aufzufangen, was die Lehrer heute augenscheinlich nicht mehr als ihre Aufgabe sehen - das effiziente Vermitteln von Basisfähigkeiten. Wenn in einigen ostdeutsche Ländern die Schulabbrecherquoten bereits zweistellige Prozentzahlen erreichen -dann scheinen zumindest die Jugendlichen dieses Schulsystem (und damit seine Lehrer) als Chance auf Zukunft abgeschrieben zu haben-

Wie kann es möglich sein, dass Deutschland, seine Unternehmen und seine Bürger das einfach so hinnehmen, wieso kämpfen nicht die Unternehmen mit all ihrem in die Politik gut verdrahteten Managern so aggressiv wie möglich für effizientere Lehrer? Anstatt auf Arbeitskräfte aus Europa zu setzen -vielleicht sollten wir es mal mit Lehrern aus Skandinavien oder anderen Ländern mit geringeren Schulabbrecherquoten versuchen, Wettbewerb führt vielleicht dann wenigstens bei den Lehrern zu dem für alle anderen Berufen selbstverständlichen Bezug zwischen eigener Arbeit und dem Ergebnis.

Film: The Road

The boy's father in "The Road" is not a good father. Change my mind.

All things considered, I'm glad he died. It would have been even better had he died earlier.

Comment via email

I'm good at misjudging people's moods.

Comment via email

Mute

File Attachments (1 file)

Comment via email

Why are all beds rectangular?

Comment via email
Mastodon