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 8000
require 'open-uri' | |
require 'json' | |
data = JSON.load(open("https://ip-ranges.amazonaws.com/ip-ranges.json")) | |
ip_total = data['prefixes'].reduce(0) do | sum, item | | |
sum += 2 ** (32 - item['ip_prefix'].split('/')[1].to_i) | |
end | |
puts "AWS Total IPs: #{ip_total}" |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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 8000
Since this is on Hacker News and reddit...
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".char *
s.type * name
, however, is entirely intentional.