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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
def devanagari_math(statement): | |
trans = { | |
u'१':'1', | |
u'२':'2', | |
u'३':'3', | |
u'४':'4', | |
u'५':'5', |
class സൂചിക: | |
""" | |
മലയാളത്തിൽ പൈതോണ് കോഡ് ചെയ്യാം എന്നുള്ളതിനുള്ള തെളിവ് | |
Proof that python can use malayalam language (Only on Python 3x) | |
""" | |
def സൂചിക(സ്വയം): | |
print(u"പൈതോണ് ഇപ്പോൾ മലയാളത്തിലും !") | |
സൂചി = സൂചിക() | |
സൂചി.സൂചിക() |
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
source "http://rubygems.org" | |
gem "jammit" | |
gem "closure-compiler" |
#!/usr/bin/ruby | |
# | |
# I recommend using Pocket to do the export. It works better than the browser extensions. | |
require 'rubygems' | |
require 'htmlentities' | |
require 'csv' | |
# CHANGE THIS | |
input_file = '/path/to/passwords.csv' |