Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sipp11 on github.
  • I am sipp11 (https://keybase.io/sipp11) on keybase.
  • I have a public key ASAQ0bVM32el4XN_75cVcc40IOS62Xqz6PMdWYZVyzZTlwo

To claim this, I am signing this object:

@sipp11
sipp11 / gist:083f01f03a9bcdd26c42163e3f39d6cc
Created November 13, 2017 09:27
Preview.app crashes always
Process: Preview [99177]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Identifier: com.apple.Preview
Version: 10.0 (944.2)
Build Info: Preview-944002000000000~8
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Preview [99177]
User ID: 502
@sipp11
sipp11 / .hyper.js
Last active July 7, 2017 16:54
Dot file for hyper.app
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
@sipp11
sipp11 / nmea_serializer.py
Created April 21, 2017 02:12
NMEA decoder
import arrow
class PointSerializer(object):
def decode_nmea(self, data):
sentences = data.split('\n')
_processed = {}
for sentence in sentences:
words = sentence.split(',')
@sipp11
sipp11 / gist:3382426
Created August 17, 2012 20:42
TextMate 2 .tm_properties

This is all based on the [alpha release][1].

Properties

From the built-in help system:

For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).

These are simple setting = value listings where the value is a format string in which other variables can be referenced.

@sipp11
sipp11 / new_bashrc.sh
Created August 11, 2012 17:25 — forked from josephwecker/new_bashrc.sh
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful.
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?
# Are you tired of trying to remember how darwin/mac-osx treat them differently from linux?
# Are you tired of not having your ~/.bash* stuff work the way you expect?
#
# Symlink all of the following to this file:
# * ~/.bashrc