Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

March 26 2014

revoking (obsolete) gpg keys

# since uploading the standalone cert leads to failure
# here is my approach
gpg --list-secret-keys webermi@cip...
keyid=DAxxxxxx #the part after 1024D/
tempfile=$(mktemp)
gpg --output $tempfile --gen-revoke $keyid
gpg --import $tempfile
gpg --send-key $keyid #use --keyserver <> if not defined at .gnupg/gpg.conf
rm $tempfile
unset tempfile keyid

#wait for your buddies to retrieve the updated key
Tags: own linux

March 10 2014

7093 00f3 500
xmw.de
morning coffee - spring edition
Tags: own

February 11 2014

5578 a7d8 500
xmw.de
nsa cctv at pinakothek der moderne, munich
Tags: own
5194 221c 500
xmw.de
Tags: own
Reposted byfadenb fadenb
5120 1aa5 500
xmw.de
bild@lmu
Tags: own
Reposted byStadtgespenstnikirabamthedarknessaroundmemollitaubesplinterpiefadenbdrink-memupamolotovcupcake

December 28 2013

ISY IAP-1000 Powerbank (€10) soon to be used w/ old laptop cells.
Tags: own
0149 2e39 500
morning coffee
Tags: own
Reposted byhot-chocolate hot-chocolate

October 04 2013

3950 f97e 500
Fish cam
Tags: own cam

September 30 2013

5817 10ed 500
xmw.de
20 year old semi-scale motor boat with action cam. Original 6 cell NiCd power pack has been replaced with looted thinkpad battery cells (4 or 8 in 2s configuration).
Tags: own

September 24 2013

6007 9aa4 500
xmw.de
Wie viele Polizisten ...
Tags: own

August 11 2013

2984 a693 500
xmw.de
spider in munich 4
Tags: own
2922 c06e 500
xmw.de
spider in munich 3
Tags: own
Reposted bynikirabam nikirabam

August 10 2013

2459 9b0a 500
xmw.de
spider in munich 2
Tags: own
2013 69e8 500
xmw.de
spider in munich
Tags: own
1954 3c8f 500
xmw.de
Rumtopf
Tags: own
Reposted byfpletz fpletz

August 07 2013

update SSH_AUTH_SOCK in screen after ssh-reconnect.

usas () {
    export SSH_AUTH_SOCK=$(ls -t $(find /tmp/ssh-*/agent.* -user $USER) | head -n 1)
}

[1] https://xmw.de/dotfiles/.zshrc

Tags: own linux

August 06 2013

check SOA records with zsh and dig +short

 x ~ % which soacheck
soacheck () {
        which dig > /dev/null || {
                echo "install dig"
                return 1
        }
        [ "$#" -eq 1 ] || {
                echo "Usage: $0 <dns-zone>"
                return 1
        }
        for i in $(dig $1 NS +short)
        do
                echo -ne "$i\n\t"
                dig $1 SOA @$i +short
        done
}

x ~ % soacheck xmw.de
vuxu.org.
lore.xmw.de. root.xmw.de. 2013080105 86400 10800 604800 3600
spot.xmw.de.
lore.xmw.de. root.xmw.de. 2013080105 86400 10800 604800 3600
lore.xmw.de.
lore.xmw.de. root.xmw.de. 2013080105 86400 10800 604800 3600

x ~ % soacheck spf.fs.lmu.de
huygens.fs.lmu.de.
pauli.fs.lmu.de. root.fs.lmu.de. 2013080631 86400 10800 604800 3600
spot.xmw.de.
pauli.fs.lmu.de. root.fs.lmu.de. 2013080630 86400 10800 604800 3600
lee.fs.lmu.de.
pauli.fs.lmu.de. root.fs.lmu.de. 2013080631 86400 10800 604800 3600
lore.xmw.de.
pauli.fs.lmu.de. root.fs.lmu.de. 2013080630 86400 10800 604800 3600

[1] https://xmw.de/dotfiles/.zshrc
Tags: linux own
Reposted bygaf gaf

change to ebuild dirs easily

x ~ # which cde
cde () {
        [ $# -ne 1 ] && {
                echo "Usage: cde <package atom>"
                return 1
        }
        local cand
        local sel
        cand=($(for tree in $(portageq portdir) $(portageq portdir_overlay) ; do
                        find $tree -mindepth 2 -maxdepth 2 -type d | grep "${1}" | sort
                done))
        case $#cand in
                (0) echo "no match found"
                        return 1 ;;
                (1) sel=$cand[1]  ;;
                (*) until [ -n "$sel" ]
                        do
                                sel=$(zselect2 $cand)
                        done ;;
        esac
        [ -n "$sel" ] && {
                zexecverbose cd $sel
                return $?
        }
}

x squashfs-tools # cde binutils
1) /usr/portage/dev-embedded/msp430-binutils                                  
2) /usr/portage/sys-devel/binutils                                            
3) /usr/portage/sys-devel/binutils-apple                                      
4) /usr/portage/sys-devel/binutils-config                                     
5) /usr/portage/sys-devel/binutils-hppa64                                     
>2
cd /usr/portage/sys-devel/binutils
x binutils #

x binutils # cde trivdm 
cd /var/lib/xmw-overlay/x11-misc/trivdm
x trivdm #

[1] https://xmw.de/dotfiles/.zshrc
Tags: own linux

July 30 2013

Screen start two programs and display on tty2

io ~ # cat /etc/local.d/radio.start
#!/bin/bash
/bin/chgrp radio /dev/tty2
/bin/chmod g+r /dev/tty2
su -c '
screen -dmS "radio"
screen -S radio -p 0 -X stuff "sleep 5 ; ~/tag.py$(printf \\r)"
screen -S radio -X screen
screen -S radio -p 1 -X stuff "dump1090 --interactive --interactive-rows 62 --interactive-ttl 300 --net$(printf \\r)"
' radio
io ~ # cat /etc/local.d/radio.stop
#!/bin/bash
su -c "screen -S radio -X quit" radio
io ~ # grep ^c2 /etc/inittab
c2:2345:respawn:/bin/su -c "screen -r radio ; sleep 10" radio > /dev/tty2 < /dev/tty2
Tags: own linux
Reposted byjv6 jv6

July 25 2013

0986 5bb5 500
xmw.de
Thinkpad R61 with 2x3TB drives with ultrabay sata adapter and external psu.
Tags: own linux
Reposted byEvilDeath EvilDeath
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl