How to Manage Your iPod without iTunes?

in manage ipod without itunes

By default, iTunes is the only media player that you can use to sync your iPhone and iPod Touch with your computer. However, iTunes is only supported in Mac and Windows, which means Linux users with iPhones will have to find an alternative way to sync their iPhones, or at least get their music into the mobile device. In addition, there may be a large group of Windows users who are using other media players (such as Winamp) to manage their music library and loathe the idea of migrating the whole library to iTunes just because they bought an iPhone.

Transfer Music from iPod to Mac

in transfer music from ipod to mac

The iPod is probably the best portable music player the world has ever seen. It's simple to use, easy to operate, and instantly updatable. It's easy to take this beautiful and reliable device for granted. But the iPod isn't perfect. One of our pet peeves is the inability to transfer an iPod's music back to a computer. There are a handful of nice applications you can use to take back control of your iPod.

Simple ftp-script

in ftp, upload

So, I was doing some work for a customer the other day. And I had to transfer files from one point to another, sadly, the only thing I had to work with was either rcp or ftp. So basically, I got to choose between two things I dislike quite alot.

Anyway, the structure was all in place, it was just the files that needed to be updated. Since ftp and "mput *" doesnt traverse directories I made a simple solution...

Time for some action

in news

Well... I've been terribly bad at updating this page. I'd like to blame it on the fact that its been a bother, at my previous employer, to actually move the scripts like three times before I can publish them.

But well, if I really would've been inspired to do that, I would've done it. So... im just lazy.

Anyway, time to start publishing some scripts. There is a new theme. I've cleaned the page up a bit and we're kicking it off.

Epoch time 1234567890 Count-Down timer.

in epoch countdown count-up shell script while loop sleep

Wrote a little one-liner for the countdown (or count-up rather) to Epoch time being 1234567890
It shows Current count, seconds left, and the target.

while sleep 1; do NOW=`date +%s`; let CD=1234567890-$NOW; let HOUR=$CD/60/60; let MIN=$CD/60%60; let SEC=$CD%60; printf "$NOW $HOUR:$MIN:$SEC ($CD seconds) until 1234567890 \r"; done

Enjoy it, while it lasts!... :-)
And remember, anyone claiming to be born before 1970 is lying!

Oracle tablespaces in sqlplus

in oracle, sqlplus

I had the fortune to work as Oracle DBA for a while in a place where we had no administrative tools at all, so we had to do with good ol' sqlplus.
Here are two scripts, the first to check size and usage of all tablespaces and the other is for checking data files sizes and names.

Impressive batch-coding

in bat, Batch, PI, Windows

I was directed to a link with some seriously impressive batch-coding.

This guy uses the very limited commands in batch programming to create a PI-calculator. Amazing.

Watch this:
http://thedailywtf.com/Articles/Stupid-Coding-Tricks-A-Batch-of-Pi.aspx

I also recommend following the links in that post.

Thank you hlindhe, next time. Post it yourself :-)

Today

in GSP, HP-UX, HP9000

Today I had to reset the password on a HP9000 GSP (Guardian Service Processor), here is how to do it:

Log on as root at the console:

# stty +resetGSP < /dev/GSPdiag1

You will be prompted to press 'p' after a short while, do so, and then press ctrl-b and log on to the GSP using a blank user and password.

Bash: Hello World

Just a simple script echoing "Hello World".

#!/bin/bashif [ "$USER" = "root" ]then  echo "Hello world"fi

unix.st - It is alive

This is the first message on unix.st. I will try and write a summary of what I wish to achive with this site aswell as trying to finish all the little kinks im not satisfiied with yet.

Right now I'm actually experimenting with looks, themes and functions to try and achieve a webpage with the looks and feel of that one inside my head.

Bringing fantasy to reality. Quite a challenge.