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 / updateSafeAreaForKeyboardFromNotification.swift
Created March 10, 2020 02:56 — forked from douglashill/updateSafeAreaForKeyboardFromNotification.swift
Avoid the keyboard by leveraging additionalSafeAreaInsets.
// Avoids the keyboard in a UIKit app by leveraging additionalSafeAreaInsets.
// You can put this in the root view controller so the whole app will avoid the keyboard.
// Only tested on iOS 13.3.
// Made for
@objc func updateSafeAreaForKeyboardFromNotification(_ notification: Notification) {
guard let endFrameInScreenCoords = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect else {
// Please consider whether the force unwrap here is safe for your own use case.
sneakyness /
Last active February 22, 2020 00:23 — forked from richellis/
Create iOS application icons from one PDF file. Requires ImageMagick & GhostScript
# Iconizer shell script by Steve Richey (
# Modified by Rich Ellis ( based on contributions on Github from crishoj, giria
# Further modified by Nick Pannuto ( based on gist comments from previous forks
# Changelog:

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?

# This file was generated by Tor; if you edit it, comments will not be preserved
# The old torrc file was renamed to torrc.orig.1 or similar, and Tor will ignore it
ExitNodes {us}
StrictExitNodes 1
ControlPort 9051
DirReqStatistics 0
HashedControlPassword 16:B4E75CA579C1C7D46016FFED1E8F35967198031230124FC45E4CD09D97
Log notice stdout
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"