Skip to content

Instantly share code, notes, and snippets.

View sneakyness's full-sized avatar
💭
Rolling up to the function like a stretched out Steve Ballmer

Nick Pannuto sneakyness

💭
Rolling up to the function like a stretched out Steve Ballmer
View GitHub Profile
@sneakyness
sneakyness / gist:8725618
Last active August 29, 2015 13:55
twitter.txt
Granite
911 biggie
Lack toast
Raymond noodles
Maid wake
Mack book
Labtop
Mute point
Intensive purposes
How do you spell
@sneakyness
sneakyness / gist:8820763
Created February 5, 2014 10:26
Decent iOS TD Games List

iOS Tower Defense Games

  • GeoDefense
  • GeoDefense Swarm
  • Plants vs Zombies HD
  • Plants vs Zombies 2
  • Fieldrunners
  • Kingdom Rush HD
  • Kingdom Rush Frontiers
  • Gem Keeper
  • Anomaly Warzone Earth
@sneakyness
sneakyness / gist:9925627
Created April 2, 2014 00:11
keybase.md
### Keybase proof
I hereby claim:
* I am sneakyness on github.
* I am sneakyness (https://keybase.io/sneakyness) on keybase.
* I have a public key whose fingerprint is 3B3A 7121 8095 1DB6 8F22 4631 7DA4 08F5 2FF2 FED1
To claim this, I am signing this object:
@sneakyness
sneakyness / bootstrap_commands.py
Created May 5, 2015 19:23
servo bootstrap_commands.py fix
from __future__ import print_function, unicode_literals
import os
import os.path as path
import shutil
import subprocess
import sys
import tarfile
import urllib2
import ssl
@sneakyness
sneakyness / gist:56c47f994a7871295da8
Created July 2, 2015 19:21
Today Extension Max Sizes
iPhone 5S Portrait (272, 441.5)
iPhone 5S Landscape (520, 205.5)
iPhone 6 Portrait (327, 540.5)
iPhone 6 Landscape (586, 260.5)
iPhone 6 Plus Portrait (362, 610)
iPhone 6 Plus Landscape (585, 288)
iPad Mini Portrait (535, 853)

Security Guidelines

  • Use an iDevice

    • Use an iPod or an iPad without a SIM card
    • Use an iPhone
    • Do not jailbreak
  • Use Signal (iOS)

  • Use TextSecure + RedPhone (Android)

  • Android?

@sneakyness
sneakyness / gist:1186726
Created September 1, 2011 17:36
iOS 3/4 compatible locationServices check
BOOL locationAccessAllowed = NO;
if( [CLLocationManager instancesRespondToSelector:@selector(locationServicesEnabled)] )
{
// iOS 3.x and earlier
locationAccessAllowed = locationManager.locationServicesEnabled ;
}
else if( [CLLocationManager respondsToSelector:@selector(locationServicesEnabled)] )
{
// iOS 4.x
locationAccessAllowed = [CLLocationManager locationServicesEnabled] ;
@sneakyness
sneakyness / gist:1879211
Created February 21, 2012 21:49
URL Query to Dict
NSArray *parameters = [[url query] componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"=&"]];
NSMutableDictionary *keyValueParm = [NSMutableDictionary dictionary];
for (int i = 0; i < [parameters count]; i=i+2) {
[keyValueParm setObject:[parameters objectAtIndex:i+1] forKey:[parameters objectAtIndex:i]];
}
@sneakyness
sneakyness / MAKEFILE
Created August 13, 2012 21:06
LWIP Makefile
#
# Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice,
@sneakyness
sneakyness / gist:3346693
Created August 14, 2012 05:49 — forked from anonymous/gist:3346690
Scroll to Top
//
// SideMenuViewController.m
// MFSideMenuDemo
//
// Created by Michael Frederick on 3/19/12.
#import "ANSideMenuController.h"
#import "MFSideMenu.h"
#import "ANGlobalStreamController.h"
#import "ANUserStreamController.h"