September 27, 2011
Mad.gd issue fixed!
Update:
Added compatibility for mobile browsers which not always let user copy URL with "http://" prefix. Now prefix is added automatically if not exists.
-----end update---------------------
Fixed issue with storing of the long parameterized urls at my url shortener mad.gd.
By the way, mad.gd is easy to type on phone (2-abc, 3-def, ...) keypad.
Added compatibility for mobile browsers which not always let user copy URL with "http://" prefix. Now prefix is added automatically if not exists.
-----end update---------------------
Fixed issue with storing of the long parameterized urls at my url shortener mad.gd.
By the way, mad.gd is easy to type on phone (2-abc, 3-def, ...) keypad.
September 16, 2011
how to backup your home dir (on a shared)
reqs:
1. no root, no access outside home
2. backup hidden (.*) files/dirs
It seems simple, but actually is tricky task, because tar tries to include the tar.gz archive being created at the moment, and zip does not want to include hidden, or includes them recursively (try "zip -r a .*" - it includes /.*, ./../* and so on :-) for me it was unexpected)
So the right command is:
1. no root, no access outside home
2. backup hidden (.*) files/dirs
It seems simple, but actually is tricky task, because tar tries to include the tar.gz archive being created at the moment, and zip does not want to include hidden, or includes them recursively (try "zip -r a .*" - it includes /.*, ./../* and so on :-) for me it was unexpected)
So the right command is:
tar -cvzf testing.tar.gz --exclude=testing.tar.gz .