Skip to content

Instantly share code, notes, and snippets.

@smirzaei
smirzaei / cloudSettings
Last active October 26, 2020 17:08
VS Code settings
{"lastUpload":"2020-10-26T17:08:12.102Z","extensionVersion":"v3.4.3"}
English short name lower case Alpha-2 code Alpha-3 code Numeric code ISO 3166-2
Afghanistan AF AFG 004 ISO 3166-2:AF
Åland Islands AX ALA 248 ISO 3166-2:AX
Albania AL ALB 008 ISO 3166-2:AL
Algeria DZ DZA 012 ISO 3166-2:DZ
American Samoa AS ASM 016 ISO 3166-2:AS
Andorra AD AND 020 ISO 3166-2:AD
Angola AO AGO 024 ISO 3166-2:AO
Anguilla AI AIA 660 ISO 3166-2:AI
Antarctica AQ ATA 010 ISO 3166-2:AQ
### Keybase proof
I hereby claim:
* I am smirzaei on github.
* I am soroush (https://keybase.io/soroush) on keybase.
* I have a public key ASAG2-RVUv78671TTXn5YN7AqcC-JPCv4yT1UYxRl2Eg3wo
To claim this, I am signing this object:
@smirzaei
smirzaei / index.html
Created June 14, 2015 10:10
Bare minimum html5 template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
</body>
# unicorn_rails -c /data/github/current/config/unicorn.rb -E production -D
rails_env = ENV['RAILS_ENV'] || 'production'
# 16 workers and 1 master
worker_processes (rails_env == 'production' ? 16 : 4)
# Load rails+github.git into the master before forking workers
# for super-fast worker spawn times
preload_app true