User:Kd8ikt

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Current Projects)
Line 8: Line 8:
  
 
==Current Projects==
 
==Current Projects==
 +
 +
===Mplayer frontend for streaming music===
  
 
== dont forget==
 
== dont forget==

Revision as of 09:11, 15 August 2008

much <3 openmoko James Lutz Cincinnati, Ohio USA kd8ikt at fuse.net my useless home hosted webserver ipv6+ipv4
http://we.trekbeyond.org/ 513 476 niner six niner four

Contents

Current Projects

Mplayer frontend for streaming music

dont forget

  • damnit i forgot
    • something about wifi bluetooth and networking and automated search and connect meshing crap

demon daemon

randomly toggles all the lights on/off at a random times
vibrator stuff has been commented out

#!/bin/bash
#/hacker/kd8ikt
#this could be a neat silent ringer 
# 
#		REQUIRES BASH  $RANDOM
e=echo
aux_r=/sys/class/leds/gta02-aux\:red/brightness
pow_b=/sys/class/leds/gta02-power\:blue/brightness
pow_o=/sys/class/leds/gta02-power\:orange/brightness
vib=/sys/class/leds/neo1973\:vibrator/brightness


get_rand_sleep() {
        rand_time=$RANDOM
        RANGE=5
                let "rand_time %= $RANGE"
sleep $rand_time
}

get_rand() {
	randy=$RANDOM
	RANGE=2
		let "randy %= $RANGE"
}

#get_rand_vib() {
#	randy_vib=$RANDOM
#	RANGE=250
#	let "randy_vib %= $RANGE"
#}

	while [ 1 == 1 ]; do
        get_rand_sleep
	get_rand
		$e $randy > $aux_r
        get_rand_sleep
	get_rand
		$e $randy > $pow_b
        get_rand_sleep
	get_rand
		$e $randy > $pow_o
#			get_rand_vib
#		$e $randy_vib > $vib
	done
  1. killscipt
e=echo
#cleanupSCIPT
aux_r=/sys/class/leds/gta02-aux\:red/brightness
pow_b=/sys/class/leds/gta02-power\:blue/brightness
pow_o=/sys/class/leds/gta02-power\:orange/brightness
vib=/sys/class/leds/neo1973\:vibrator/brightness


        killall abovescriptname
	$e 0 > $aux_r
	$e 0 > $pow_b
	$e 0 > $pow_o
	$e 0 > $vib



Personal tools

much <3 openmoko James Lutz Cincinnati, Ohio USA kd8ikt at fuse.net my useless home hosted webserver ipv6+ipv4
http://we.trekbeyond.org/ 513 476 niner six niner four

Current Projects

Mplayer frontend for streaming music

dont forget

  • damnit i forgot
    • something about wifi bluetooth and networking and automated search and connect meshing crap

demon daemon

randomly toggles all the lights on/off at a random times
vibrator stuff has been commented out

#!/bin/bash
#/hacker/kd8ikt
#this could be a neat silent ringer 
# 
#		REQUIRES BASH  $RANDOM
e=echo
aux_r=/sys/class/leds/gta02-aux\:red/brightness
pow_b=/sys/class/leds/gta02-power\:blue/brightness
pow_o=/sys/class/leds/gta02-power\:orange/brightness
vib=/sys/class/leds/neo1973\:vibrator/brightness


get_rand_sleep() {
        rand_time=$RANDOM
        RANGE=5
                let "rand_time %= $RANGE"
sleep $rand_time
}

get_rand() {
	randy=$RANDOM
	RANGE=2
		let "randy %= $RANGE"
}

#get_rand_vib() {
#	randy_vib=$RANDOM
#	RANGE=250
#	let "randy_vib %= $RANGE"
#}

	while [ 1 == 1 ]; do
        get_rand_sleep
	get_rand
		$e $randy > $aux_r
        get_rand_sleep
	get_rand
		$e $randy > $pow_b
        get_rand_sleep
	get_rand
		$e $randy > $pow_o
#			get_rand_vib
#		$e $randy_vib > $vib
	done
  1. killscipt
e=echo
#cleanupSCIPT
aux_r=/sys/class/leds/gta02-aux\:red/brightness
pow_b=/sys/class/leds/gta02-power\:blue/brightness
pow_o=/sys/class/leds/gta02-power\:orange/brightness
vib=/sys/class/leds/neo1973\:vibrator/brightness


        killall abovescriptname
	$e 0 > $aux_r
	$e 0 > $pow_b
	$e 0 > $pow_o
	$e 0 > $vib