Skip to content

Instantly share code, notes, and snippets.

Justin Voss justinvoss

Block or report user

Report or block justinvoss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@justinvoss
justinvoss / syslog
Created Jul 8, 2016
Pokemon Go login error log
View syslog
Jul 7 23:10:20 Justins-iPhone-6s kernel[0] <Notice>: Sandbox: pokemongo(14650) deny(1) file-write-create /private/var/mobile/Containers/Data/Application/B1C85012-204D-468B-B0F7-99CB00E7857D/.config
Jul 7 23:10:20 Justins-iPhone-6s kernel[0] <Notice>: Sandbox: pokemongo(14650) deny(1) file-write-create /private/var/mobile/Containers/Data/Application/B1C85012-204D-468B-B0F7-99CB00E7857D/.config
Jul 7 23:10:20 Justins-iPhone-6s kernel[0] <Notice>: Sandbox: pokemongo(14650) deny(1) file-write-create /private/var/mobile/Containers/Data/Application/B1C85012-204D-468B-B0F7-99CB00E7857D/.config
Jul 7 23:10:20 Justins-iPhone-6s kernel[0] <Notice>: Sandbox: pokemongo(14650) deny(1) file-write-create /private/var/mobile/Containers/Data/Application/B1C85012-204D-468B-B0F7-99CB00E7857D/.config
Jul 7 23:10:21 Justins-iPhone-6s pokemongo[14650] <Warning>: I: Setting host to: pgorelease.nianticlabs.com/plfe
Jul 7 23:10:22 Justins-iPhone-6s pokemongo[14650] <Warning>: I: [200] https://pgorelease.nianticlabs.com/plfe/rpc
@justinvoss
justinvoss / voicemail.py
Created Jun 28, 2014
An example of how to use Twilio to set up a bare-bones voicemail line for show listeners to call in to.
View voicemail.py
#!/usr/bin/env python
import os
from flask import Flask
from flask import request
import twilio.twiml
import smtplib
@justinvoss
justinvoss / RBServerLocator.h
Created Dec 12, 2011
Easy Bonjour Browsing
View RBServerLocator.h
//
// RBServerLocator.h
//
// Created by Justin Voss on 12/9/11.
//
#import <Foundation/Foundation.h>
@interface RBServerLocator : NSObject <NSNetServiceBrowserDelegate, NSNetServiceDelegate>
{
View runserver-bonjour.py
#!/usr/bin/env python
import sys
import subprocess
def runserver_bonjour(service_name, service_type, port):
django_process = subprocess.Popen(
['python', 'manage.py', 'runserver', '0.0.0.0:%s' % port],
@justinvoss
justinvoss / pyramid.py
Created Nov 23, 2011
Tennis Ball Pyramid Part Deux
View pyramid.py
def pyramid(level):
total = 0
for x in range(1, level+1):
total += (x * x)
return total
assert pyramid(1) == 1
assert pyramid(2) == 5
assert pyramid(3) == 14
@justinvoss
justinvoss / pyramid.py
Created Nov 23, 2011
Tennis Ball Pyramid
View pyramid.py
def pyramid(level):
if level == 1:
return 1
return (level * level) + pyramid(level-1)
assert pyramid(1) == 1
assert pyramid(2) == 5
assert pyramid(3) == 14
@justinvoss
justinvoss / spike.py
Created Sep 2, 2011 — forked from k0emt/Arguments.py
Overloading constructor example
View spike.py
class Greeter:
def __init__(self, greeting=None):
self.myGreeting = greeting or 'Hello World!'
def greeting(self):
return self.myGreeting
View fabfile.py
from fabric.api import settings, roles, env, run, sudo, cd
from fabric.decorators import task
from fabric import tasks
from fabric.contrib.project import rsync_project
env.roledefs = {
'dev': [
'vagrant@127.0.0.1:2222'
@justinvoss
justinvoss / example.sh
Created Jul 23, 2011
Possible Cache Issue
View example.sh
$ curl -v http://simpledesktops.com/api/desktop/random/
* About to connect() to simpledesktops.com port 80 (#0)
* Trying 205.186.149.79... connected
* Connected to simpledesktops.com (205.186.149.79) port 80 (#0)
> GET /api/desktop/random/ HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: simpledesktops.com
> Accept: */*
>
< HTTP/1.1 200 OK
@justinvoss
justinvoss / gist:1080521
Created Jul 13, 2011
Example of API Output
We couldn’t find that file to show.
You can’t perform that action at this time.