Python notes - Timestamp to Datetime
>>> import datetime
>>> import time
>>> time.time()
1275242762.4052529
>>> int(time.time())
1275242769
>>> n=int(time.time())
>>> print datetime.datetime.fromtimestamp(n)
2010-05-30 20:06:20
>>> import datetime
>>> import time
>>> time.time()
1275242762.4052529
>>> int(time.time())
1275242769
>>> n=int(time.time())
>>> print datetime.datetime.fromtimestamp(n)
2010-05-30 20:06:20
Posted by Dani 0 comments
$ su # dropbear-keygen
dropbearkey -y -f /data/dropbear/dropbear_rsa_host_keyMore information about ssh at
su -c "rsync -av --partial --stats --progress --delete --rsh='ssh -p1234' dani@my_ip:/media/Music/android/ /sdcard/Music"
Posted by Dani 2 comments
Sometimes it is needed to do a task quick and effective on linux, here is when it comes into account keyboard shortcuts.
Posted by Dani 1 comments
Posted by Dani 0 comments
Posted by Dani 0 comments
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.