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
| python3 -m http.server |
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
| if __name__ == '__main__': | |
| import timeit | |
| print(timeit.timeit("test()", setup="from __main__ import test")) | |
| # http://docs.python.org/3.3/library/timeit.html | |
| timeit.timeit(stmt='pass', setup='pass', timer=<default timer>, number=1000000) | |
| Create a Timer instance with the given statement, setup code and timer function and run its timeit() method with number executions. |
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
| # aliases defined by chenko | |
| # medit ~/.bash_aliases fast: | |
| alias al="sudo medit ~/.bash_aliases" | |
| # goagent | |
| alias go="python /home/chenko/Beckup/Linux/App/goagent-goagent-24bca79/local/proxy.py" | |
| # javascript enginge rhino1.7.4 | |
| alias rh="java -jar /home/chenko/Beckup/Linux/App/rhino1_7R4/js.jar" |
NewerOlder