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
| # install easy_install | |
| wget -q http://peak.telecommunity.com/dist/ez_setup.py | |
| # install pyquery by easy_install | |
| easy_intsall pyquery |
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
| wget --html-extension --convert-links --page-requisites --execute robots=off --mirror --include-directories /<DIRECTORY>/ http://<HOST>/<PAGE> |
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
| find /fold/of/sql/files/ -name "*.sql" |sort -n|awk '{print "source", $0}' | mysql --batch -u root -p -f |
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
| /* old */ | |
| .clearfix:after { | |
| visibility:hidden; | |
| display:block; | |
| font-size:0; | |
| content:" "; | |
| clear:both; | |
| height:0; | |
| } | |
| .clearfix { |
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
| sudo route add -host 205.140.203.24 gw 192.168.1.111 |
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
| [] == [] | |
| => | |
| false |
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
| lsof -i:8080 |
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
| gpg --keyserver keyserver.ubuntu.com --recv [8-bit-key] | |
| gpg --export --armor [8-bit-key] | sudo apt-key add - |
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
| /* http://tinyurl.com/45yyrxr */ | |
| var container = new qx.ui.splitpane.Pane("horizontal"); | |
| var w1 = new qx.ui.Widget().set({ | |
| backgroundColor : "blue" | |
| }); | |
| var w2 = new qx.ui.Widget().set({ | |
| backgroundColor : "green" | |
| }); | |
| container.add(w1, 1); |
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
| var tabView = new qx.ui.tabview.TabView(); | |
| var page1 = new qx.ui.tabview.Page("Layout", "icon/16/apps/utilities-terminal.png"); | |
| page1.setLayout(new qx.ui.layout.VBox()); | |
| page1.add(new qx.ui.basic.Label("Page Content")); | |
| tabView.add(page1); | |
| var page2 = new qx.ui.tabview.Page("Notes", "icon/16/apps/utilities-notes.png"); | |
| tabView.add(page2); | |
| this.getRoot().add(tabView); |