Check These Out
Works in sort (GNU coreutils) 7.4, don't know when it was implemented but sometime the last 6 years.
When you start screen as `ssh-agent screen`, agent will die after detatch.
If you don't want to take care about files when stored agent's pid/socket/etc, you have to use this command.
Full Command:
$ google contacts list name,name,email|perl -pne 's%^((?!N\/A)(.+?)),((?!N\/A)(.+?)),([a-z0-9\._-]+\@([a-z0-9][a-z0-9-]*[a-z0-9]\.)+([a-z]+\.)?([a-z]+))%${1}:${3} %imx'|grep -oP '^((?!N\/A)(.+?)) ' | sort
You'll need googlecl and python-gdata. First setup google cl via:
$ google
Then give your PC access
$ google contacts list name,email
Then do the command, save it or use this one to dump it in the cone-address.txt file in your home dir:
$ google contacts list name,name,email | perl -p -n -e 's%^((?!N\/A)(.+?)),((?!N\/A)(.+?)),([a-z0-9\._-]+\@([a-z0-9][a-z0-9-]*[a-z0-9]\.)+([a-z]+\.)?([a-z]+))%${1}:${3} %imx' | grep -o -P '^((?!N\/A)(.+?)) ' | sort > ~/cone-adress.txt
Then import into cone.
It filters out multiple emails, and contacts with no email that have N/A. (Picasa photo persons without email for example...)
the good:
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch
the bad:
Server: Microsoft-IIS/6.0
and the ugly:
Server: Apache/2.2.10 (Win32) mod_ssl/2.2.10 OpenSSL/0.9.8i PHP/5.2.6
QR codes are those funny square 2d bar codes that everyone seems to be pointing their smart phones at.
Try the following...
$ qrurl http://xkcd.com
Then open qr.*.png in your favorite image viewer.
Point your the bar code reader on your smart phone at the code, and you'll shortly be reading xkcd on your phone.
URLs are not the only thing that can be encoded by QR codes... short texts (to around 2K) can be encoded this way, although this function doesn't do any URL encoding, so unless you want to do that by hand it won't be useful for that.
Tested in Debian, ymmv.
- c 1 : send only one ping;;
-W 1: wait for one second and then exit ping, assuming target IP is not available; change as needed (-W 0.5 for half a second, smaller or greater value depending on network speed/latency)
It will only work if the service NETSEND in the Windows machine is enabled.