Skip to content

Instantly share code, notes, and snippets.

Avatar
🎹

Zane Helton ZaneH

🎹
View GitHub Profile
@ZaneH
ZaneH / install-docker-ubuntu.md
Created Mar 24, 2018
Install Docker (Ubuntu)
View install-docker-ubuntu.md
sudo apt-get install \
  apt-transport-https \
  ca-certificates \
  curl \
  software-properties-common;
    
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -;

sudo add-apt-repository \
@ZaneH
ZaneH / jailbreak-finder.sh
Created Dec 18, 2015
Find jailbroken devices on your network.
View jailbreak-finder.sh
#!/bin/bash
clear
wlanmax=$(ifconfig wlan0 | grep "inet addr:" | cut -d: -f2 | awk '{print $1};' | awk -F. '{print $1"."$2"."$3".1/24"};')
echo "Grabbing inet address..."
echo "Grabbing gatemask..."
nmap -sP $wlanmax | grep "Nmap scan report for" | awk '{system("ssh -t -t -o ConnectTimeout=5 root@"$5)};'
echo "Done"
View CAMediaTimingFunction+TWTEasingFunctions.m (Preprocessed)
@import QuartzCore.QuartzCore;
@interface CAMediaTimingFunction (TWTEasingFunctions)
+ (instancetype)twt_sineEaseInFunction;
+ (instancetype)twt_sineEaseOutFunction;
+ (instancetype)twt_sineEaseInOutFunction;
+ (instancetype)twt_quadraticEaseInFunction;
+ (instancetype)twt_quadraticEaseOutFunction;
+ (instancetype)twt_quadraticEaseInOutFunction;
+ (instancetype)twt_cubicEaseInFunction;
You can’t perform that action at this time.