http://en.wikipedia.org/wiki/Markdown
http://www.codinghorror.com/blog/2012/10/the-future-of-markdown.html
http://ikiwiki.info
marthjod
20121027
JSON ftw
"jq is a lightweight and flexible command-line JSON processor."
http://stedolan.github.com/jq/
http://stedolan.github.com/jq/
20121024
20121022
SSH SOCKS proxy configured in ~/.ssh/config (instead of Bash alias)
http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/
http://linux.die.net/man/5/ssh_config
I like this better than aliases in .bashrc.
I now have in my ~/.ssh/config
At first I thought I noticed some weird behavior going back and forth between aliases and the config file, but this owed more to a strict '(re-)connect allowed only thrice in 60 minutes' rule and was ok when using different destinations.
I like this better than aliases in .bashrc.
I now have in my ~/.ssh/config
Host outside HostName outside.dyndns.org Port 2222 User user DynamicForward 3333 Host inside HostName 192.168.x.y User user DynamicForward 3333Issuing
ssh outsidenow is equivalent to
ssh -D 3333 -p 2222 user@outside.dyndns.org(I have to add -N though myself everytime if I don't want a shell... at least I could not find a respective config option.)
At first I thought I noticed some weird behavior going back and forth between aliases and the config file, but this owed more to a strict '(re-)connect allowed only thrice in 60 minutes' rule and was ok when using different destinations.
20110811
copy modules needed for chroot environment commands from real root
echo '#!/bin/bash' > /tmp/cp2chroot.sh mkdir -p /www/chroot/newchuser/usr/lib64 /www/chroot/newchuser/lib64 ldd /usr/bin/scp | \ perl -ne 'my $dest_dir = "/www/chroot/newchuser"; \ my @line = split(/\n/, $_); \ foreach (@line) { $_ =~ s/.*=>(.*)/$1/; $_ =~ s/^\s+(.*) \(.*\)/$1/; \ print "cp $_ $dest_dir$_\n"; }' \ >> /tmp/cp2chroot.sh
20110808
UMTS USB stick ("congstar surfstick") under Ubuntu 11.04 natty with network-manager 0.8.4, network-manager-gnome 0.8.4
props:
https://www.heise.de/artikel-archiv/ct/2011/16/134_UMTS-Sticks-unter-Linux
prerequisites:
connect USB stick
and watch
also check
start network-manager
https://www.heise.de/artikel-archiv/ct/2011/16/134_UMTS-Sticks-unter-Linux
prerequisites:
network-manager network-manager-gnome
connect USB stick
$ lsusb ... ID 19d2:0039 ONDA Communication S.p.A.
and watch
/var/log/syslogor the like if the modem part of the device is properly recognized.
... usb_modeswitch: switching 19d2:2000 (congstar Surfstick: congstar Surfstick)
also check
$ lsmod usb_wwan 19711 1 option usbserial 37116 7 option,usb_wwan
start network-manager
# NetworkManagerand configure away. the 'new connection' wizard worked for me, I only had to enter my PIN and select 'Connect automatically'.
Number: *99# Username: t-mobile Password: tm APN: internet.t-mobile PIN: ****
$ ifconfig ppp0 $ ps -efd /usr/sbin/modem-manager /usr/sbin/pppd nodetach lock nodefaultroute user t-mobile ttyUSB2 noipdefault noauth usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/0 plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so
Abonnieren
Posts (Atom)