Skip to content

Instantly share code, notes, and snippets.

@clintharris
clintharris / osrm-extract.log
Created December 20, 2013 17:02
Output from running: ./osrm-extract planet.osm.pbf
Wed Dec 18 21:42:37 UTC 2013
[info] Input file: planet.osm.pbf
[info] Profile: profile.lua
[info] Threads: 8
[info] Using script profile.lua
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-MSG] 1 disks are allocated, total space: 100000 MiB
[info] Using turn restrictions
[info] Found 3 exceptions to turn restriction
$ cd /mnt/xvdf/Project-OSRM/
$ git describe --tags
v0.3.5-465-g8b6fe69
$ git branch
* develop
master
$ cat .stxxl
$ sudo su -
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 1967992
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
@clintharris
clintharris / out.txt
Created December 2, 2011 21:19
Using .cmd script hack with NPM package.json on Windows
Z:\dev\xos_script_test>node --version
v0.6.3
Z:\dev\xos_script_test>npm --version
1.1.0-alpha-2
Z:\dev\xos_script_test>echo %PATHEXT%
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Z:\dev\xos_script_test>type package.json
{
"data" : [
{
"id" : 300,
"propertyB" : "value B1"
}
]
}
{
"data" : [
{
"id" : 100,
"propertyA" : "value A1"
}
]
}
@clintharris
clintharris / fiddle.response.json
Created October 19, 2011 18:42
JSON sample data used with JavaScript proof-of-concept at http://jsfiddle.net/clint_harris/vzUdn/
{
"id" : 123,
"name" : "Pete Schweddy",
"roles" : ['admin']
}
@clintharris
clintharris / fiddle.response.html
Created September 22, 2011 19:57
A template file that can be used with the ExtJS demo at http://jsfiddle.net/3Tkdf/
<span style="font-size: 1.2em">Users:</span>
<tpl for="users">
<p class="user"><img src="{photo}" />{name}</p>
</tpl>
@clintharris
clintharris / fiddle.response.html
Created September 22, 2011 17:49
A template file that can be used with the ExtJS demo at http://jsfiddle.net/3Tkdf/
<!-- Note: this file must be named 'fiddle.response.html' for it be readable by the JSFiddle site -->
<em>Note: This content was generated from a remote file (hosted as a GitHub Gist) with XTemplate markup (see it <a href="https://gist.github.com/raw/1235255/fiddle.response.html">here</a>).</em>
<h3>Dork List</h3>
<ul>
<tpl for="dorks">
<li><a target="_blank" href="{url}">{lastName}, {firstName}</a></li>
</tpl>
</ul>