Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| <?php | |
| /** | |
| * PSO Algorithm implementation | |
| * | |
| * ############################################################################# | |
| * #FUNCTION: <Booth's function> | |
| * #EQUATION: <f(x,y)=(x+2y-7)^2 + (2x+y-5)^2> | |
| * #MINIMUM: <f(1,3)=0> | |
| * #SEARCH DOMAIN: < -10<=x,y<=10 > |
| <?php | |
| /** | |
| * DE[Differential Evolution] Algorithm implementation | |
| * | |
| * ############################################################################# | |
| * #FUNCTION: <Booth's function> | |
| * #EQUATION: <f(x,y)=(x+2y-7)^2 + (2x+y-5)^2> | |
| * #MINIMUM: <f(1,3)=0> | |
| * #SEARCH DOMAIN: < -10<=x,y<=10 > | |
| * @link http://en.wikipedia.org/wiki/Test_functions_for_optimization the function link |
| #!/usr/bin/python | |
| import re | |
| from collections import defaultdict | |
| import time | |
| ''' | |
| Report Class | |
| To open a log file, process it and print result | |
| ''' | |
| class Report(object): |
| assets/* | |
| !assets/.gitignore | |
| protected/runtime/* | |
| !protected/runtime/.gitignore | |
| protected/data/*.db | |
| themes/classic/views/ | |
| nbproject/ | |
| nbproject/* | |
| nbproject/private/ |
| server{ | |
| listen 90; | |
| server_name masud.dev; | |
| access_log /var/log/nginx/access.log; | |
| error_log /var/log/nginx/error.log; | |
| rewrite_log on; | |