simple directory mass lame decode 

need to convert all the mp3's in a directory to wave to burn in xcdroast ?

here is an easy way:
for x in *mp3 ; do lame --decode `echo $x | cut -d. -f1`.mp3 `echo $x | cut -d. -f1`.wav ; done

obviously this assumes you have lame installed

EDIT 06.17.09 - converting wma to mp3's (found this using "the google", not mine):
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader "$i" && lame -m j -h --vbr-new -b 160 audiodump.wav -o "`basename "$i" .wma`.mp3"; done; rm -f audiodump.wav
this assumes you have mplayer & lame
[ add comment ] ( 2 views ) [ 0 trackbacks ] permalink ( 3 / 53 )
sweet uptime 

this shot was yanked from a server at work that we were decommissioning:


click to view
[ add comment ] ( 2 views ) [ 0 trackbacks ] permalink ( 2.9 / 94 )
screen shot for rage 

here is a screen shot for rage since he likes seeing multiple processors in htop:



iapetus:
IBM eserver xSeries 235
MemTotal: 6229956 kB
4 x xeon 3.06ghz
uname: Linux iapetus 2.6.29-gentoo-pappys_seeds #1 SMP PREEMPT Mon Apr 20 10:55:05 EDT 2009 x86_64 Intel(R) Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux

terminal is mrxvt
mrxvt can be grabbed from here or in gentoo emerge x11-terms/mrxvt

process monitor is htop
htop can be grabbed from here or in gentoo emerge sys-process/htop

screen shot grabbed with gimp
[ 1 comment ] ( 6 views ) [ 0 trackbacks ] permalink ( 3 / 99 )
some new bootchart shots 

here is a shot of my desktop starting up with bootchart:



here is a shot after cleaning it up a bit:


a difference of 5 seconds is not much but it is nice on startup

bootchart is readily available from here or in gentoo by emerging app-benchmarks/bootchart
[ add comment ] ( 3 views ) [ 0 trackbacks ] permalink ( 3 / 98 )
spring cleaning 

to the 2 or 3 of you that read this, i am selling off some hardware:
cobalt qube 3
sun blade 100
sun sparcengine cp1500 w/ chassis and 4 port nic
sgi fuel 600
mvme 187 (mainframe)
hp jornada 720
some random ipaq's
oqo model 1+
specs:
sun blade 100
sun sparcengine
sgi fuel 600
mvme 187
i will be adding more as i get them, since some of these machines are not powered on.

most of these machines have larger drives and more ram

email me for info.

sales would be through paypal
[ add comment ] ( 3 views ) [ 0 trackbacks ] permalink ( 3 / 105 )
android ssh: Warning: Reading the random source seems to have blocked. 

error:
# ssh user@someserver
_dns_getaddrinfo() name = 'someserver'
res_searchN() name = 'someserver'
ssh: Warning: Reading the random source seems to have blocked.
If you experience problems, you probably need to find a better entropy source.
fuck...

quick reference as taken from wikipedia:
<begin knowledge>Entropy (computing)

In computing, entropy is the randomness collected by an operating system or application for use in cryptography or other uses that require random data. This randomness is often collected from hardware sources, either pre-existing ones such as mouse movements or specially provided randomness generators.</end knowledge>

hmm. ok - now its all coming together...

after some playing around i found a fix.

this assumes that you have busybox installed on android and have your path set (dont ask - use the google).

this is a pretty straight walk through

# ./adb remount
# ./adb shell
# cd /dev/
# mv random random_BAK
# ln -s urandom random


now test your ssh again:
# ssh user@someserver
_dns_getaddrinfo() name = 'someserver'
res_searchN() name = 'someserver'
ssh: Warning: failed creating //.ssh: Read-only file system

Host 'someserver' is not in the trusted hosts file.


profit!!

[ 1 comment ] ( 16 views ) [ 0 trackbacks ] permalink ( 3 / 103 )
sun blade 2000 - even prettier site 

qla2xxx 0001:00:04.0: Verifying loaded RISC code...
firmware: using built-in firmware ql2200_fw.bin
qla2xxx 0001:00:04.0: Allocated (252 KB) for firmware dump...
qla2xxx 0001:00:04.0: LIP reset occured (f8f7).
scsi2 : qla2xxx
qla2xxx 0001:00:04.0:
QLogic Fibre Channel HBA Driver: 8.02.01-k7
QLogic QLA22xx -
ISP2200: PCI (66 MHz) @ 0001:00:04.0 hdma-, host#=2, fw=2.02.08 TP
qla2xxx 0001:00:04.0: LIP occured (f8f7).
qla2xxx 0001:00:04.0: LOOP UP detected (1 Gbps).
scsi 2:0:0:0: Direct-Access IBM IC35L146 CLAR146 R58A PQ: 0 ANSI: 3
scsi 2:0:1:0: Direct-Access SEAGATE ST136403FSUN36G 144A PQ: 0 ANSI: 2

Linux venus 2.6.27-gentoo-r8 #1 SMP Wed Mar 25 14:44:28 EDT 2009 sparc64 sun4u TI UltraSparc III+ (Cheetah+) GNU/Linux

here is the new .config file

[ add comment ] ( 2 views ) [ 0 trackbacks ] permalink ( 3 / 95 )
sun blade 2k lspci 

aint that just attractive ??

# lspci
0000:00:00.0 Host bridge: Sun Microsystems Computer Corp. Schizo PCI Bus Module
0000:00:04.0 SCSI storage controller: QLogic Corp. QLA2200 64-bit Fibre Channel Adapter (rev 05)
0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Schizo PCI Bus Module
0001:00:01.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
0001:00:05.0 Bridge: Sun Microsystems Computer Corp. RIO EBUS (rev 01)
0001:00:05.1 Ethernet controller: Sun Microsystems Computer Corp. RIO 10/100 Ethernet [eri] (rev 01)
0001:00:05.2 FireWire (IEEE 1394): Sun Microsystems Computer Corp. RIO 1394 (rev 01)
0001:00:05.3 USB Controller: Sun Microsystems Computer Corp. RIO USB (rev 01)
0001:00:06.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 37)
0001:00:06.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 37)

[ add comment ] ( 3 views ) [ 0 trackbacks ] permalink ( 3.1 / 98 )

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next> Last>>