![]() | Thrills! | Me on a horse! |
| Chills! | My dad on a jetski! | |
| Spills! | K and I enjoying some white water on the Ottawa River, thanks to the good folks at Owl Rafting! |
Much ado about scripting, Linux & Eclipse: card subject to change
![]() | Thrills! | Me on a horse! |
| Chills! | My dad on a jetski! | |
| Spills! | K and I enjoying some white water on the Ottawa River, thanks to the good folks at Owl Rafting! |
In: life
12:39am on a Friday night... and the Dilbert blog is down. Guess it's not just Google sites that disappear unexpectedly.
In: errata
It's 2:13am, and YouTube is down for the count. Ah, well, who wants 100% reliability? BSODs, coredumps and software crashes are about the only way I ever manage to shuffle off to bed these days. Night, all.
Tee hee. Found this via a link from redvsblue.com, after much timewasting on the Tra5hTa1k site. Worth a listen. Out of sheer (yet moderately creepy) coincidence, this was posted on my 30th birthday.
In: humour
Back from my weeklong escape to the Caribbean, and finally have a moment to write a little about it. Wow. First cruise, and I'm hooked. Great food, great staff, great locations. Photos, for the curious, are here. Planning the next one already... but no idea where yet.
Got to see the following locations:
In: life
For better or worse, I live with a Coke addict. If we happen upon a restaurant that serves Pepsi, it better also serve the best damn whatzits in the city or chances are we won't be back. At least she doesn't ask them in advance to screen out the Pepsi-servient restaurants before arriving.
In: humour
Phew. Solved the suspend to RAM issue, after a few annoying crashes.
For details and links to required .deb packages, see this script, /etc/init.d/ibm-acpi
The above script/instructions permits suspending to RAM in response to Fn-F4 keypress and optionally, closing the lid as well.
In: linux
Some do's and don'ts for performance tuning (disk, battery, swap) your Thinkpad with ubuntu/debian:
DO use a swap partition.
/dev/sda3 swap swap sw,pri=1 0 0
DO replace apmd with powersaved, and install kpowersave. This gives you a system tray icon for configuring cpu behaviour (throttling when running on battery), and a way to suspend to RAM ("sleep mode"). Now I just need to figure out how to map that to my Fn-F4 key.
DON'T mount your /tmp folder using tmpfs, unless you want to see the machine crash. It's not as fun as a BSOD, but it's a much bigger pain to recover from. You could also have a dedicated partition for /tmp if you want to restrict it to a given maximum size.
In: linux
It's been a long-standing kvetch on my part that when navigating deep directories in a Konsole window (or really, any xterm), when the paths get too long the line wraps on top of itself. So, today, as part of Think Fridays, I decided to solve this problem.
Step one: put the script lspathseg in your /usr/bin/ or somewhere else where your $PATH can find it.
Step two: use it in your /etc/bashrc like this:
export PS1="\$(lspathseg 2) \$ ";
Additionally, if you want to play with colour in your prompt, see my /etc/bashrc for how to do that.
In: linux
Well, I've finally got my Thinkpad set up just the way I like it: running the latest SimplyMEPIS 6, KDE 3.5.3, and kernel 2.6.15-27-686. Goodbye, Windows! After a couple days of pain, I managed to not only get Notes 7 working through the IBM Lotus Workplace client (aka a bloated Eclipse RCP app), and annoyed at having to search in several places for instructions and packages, I've written an interactive installer script. Instead of being a recipe for what to do, it does it all for you! The script should work for any ubuntu-based distro, but you might have things missing from your etc/apt/sources.list, like the multiverse stuff. Anyway, it's bound to be hella easier to use than the old manual trial and error method. Drop me a line if you use it and it works for you!
Contact:: Nick Boldt:: Toronto + Halifax, Canada Productization, Containers & Operators:: Red Hat CodeReady Workspaces |
|
|