Skip to content

Instantly share code, notes, and snippets.

View paulreimer's full-sized avatar

Paul Reimer paulreimer

View GitHub Profile
@paulreimer
paulreimer / .zshrc
Created October 3, 2013 05:28
This is how I Z my shell, Z my shell, Z my shell
source ~/.path
# Skip all this for non-interactive shells
[[ -z "$PS1" ]] && return
source ~/.login
autoload -U zutil
autoload -U compinit
compinit
autoload -U promptinit
@paulreimer
paulreimer / CALL toGeoJSON(sender);
Created October 23, 2012 02:05
Select geoJSON string from fix DB
SELECT
CONCAT('{
"type": "LineString",
"coordinates": [',
`linestring`,
'],
"properties": {
"name": ', `quoted_sender`, ',
"popupContent": ', `quoted_sender`,
'}}') as `geoJSON`
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[1994]: garbage collection is OFF
*** error for object 0xc005abe0: pointer being freed was not allocated