- Take backup of old keychain : http://osxdaily.com/2012/07/05/copy-keychain-login-passwords-between-macs/
- Backup /etc/hosts /etc/hostconfig
- copy .zshrc, bashrc, gitconfig etc If you don't already have dotfiles project
- export chrome/firefox/safari bookmarks, bookmarks-toolbars
- export idea/rubymine mine settings : http://www.jetbrains.com/idea/webhelp/exporting-and-importing-settings.html
- Also see: https://intellij-support.jetbrains.com/entries/23358108
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Keeps a tunnel to 'remote.example.com' open | |
After=network.target | |
[Service] | |
User=autossh | |
# -p [PORT] | |
# -l [user] | |
# -M 0 --> no monitoring | |
# -N Just open the connection and do nothing (not interactive) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select s.sql_text,s.sql_fulltext from v$sql s | |
where sql_id in (SELECT A.SQL_ID FROM V$SESSION A,V$PROCESS B | |
WHERE A.PADDR=B.ADDR AND B.SPID='6495') |
- normal(explicitly specified start AND end)
curl -v -X GET -H "range: bytes=1-8" http://localhost:8080/bbb/test
- specified ONLY start(end will be specified at the end of file)
curl -v -X GET -H "range: bytes=10-" http://localhost:8080/bbb/test
- specified ONLY one negative value(last N bytes of file will be retrieved)
NewerOlder