source code of /read/gofaster

Last modified
Lines 28

Parent directory Download CGIread sitemap Main page

Quick links: (none)

  1. #!/usr/bin/python
  2. import os
  3. import string
  4. if not os.fork():
  5.     os.system('du -a . >/dev/null 2>/dev/null')
  6.     os._exit(0)
  7. if not os.fork():
  8.     os.system('cat ./* >/dev/null 2>/dev/null')
  9.     os._exit(0)
  10. if not os.fork():
  11.     os.system('cat ./*/* >/dev/null 2>/dev/null')
  12.     os._exit(0)
  13. for file in os.listdir('.'):
  14.     if file.endswith('.py'):
  15.         modulename = file[:-3]
  16.         for ch in modulename:
  17.             if ch not in (string.letters + string.digits + '_'):
  18.                 break
  19.         else:
  20.             os.system('python -c "import {}" >/dev/null'.format(modulename))
  21. os.wait()
  22. os.wait()
  23. os.wait()