July 1, 2011

using google places

SOME DESCRIPTION

using google places

https://maps.googleapis.com/maps/api/place/search/json?types=food|bar|cafe|liquor_store&name=pub|bar|cafe|enoteca|wine|church&sensor=true&key=_YOUR_KEY_&radius=10&location=44.493738,11.376947




note: no quoting

September 2, 2010

k-shaper mini how-to

http://www.slideshare.net/k0smik0/hackit05-trafficshapingandkshaperintroduction

A short introduction about linux and iptables architecture as well as traffic shaping engines in this environment, and relational issues.

A solution is provided by k-shaper, and these slides show a mini how-to.

This is part of my academic training, and it was introduced at HackMeeting in Naples, in 2005.



K-Shaper code is available at: https://github.com/k0smik0/k-shaper

May 27, 2010

screen session crypted password

sometimes i use irssi in screen, but in a box not mine...

so, i would like no one, except me, can reattach my screen...
read: i don't want superuser-root can reattach my screen....

a few of search (and test), et voila:

in screen, type:
ctrl-a ENTER
:password ENTER
[screen asks for password 1th time] TYPE_MY_PASS
[screen asks for password 2th time] RETYPE_MY_PASS

then, if u reattach (only screen -r) it will ask for pass

finally, if u want all future screen sessions use THAT (crypted) password, u have to:
  1. obtain pass: ctrl-a ]
    copy crypted string (i.e. "WWKHW6FMEu6TAjk234j")
  2. save a line into .screenrc as below:
    echo password WWKHW6FMEu6TAjk234j >> .screenrc


enjoy it ;D