Skip to content

Instantly share code, notes, and snippets.

Avatar

Keaton Burleson 128keaton

View GitHub Profile
View ProfileManager.swift
//
// ProfileManager.swift
// Logglu
//
// Created by Keaton Burleson on 11/11/16.
// Copyright © 2016 Keaton Burleson. All rights reserved.
//
import Foundation
View app.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>download</key>
<string>http://apple.com</string>
<key>version</key>
<string>4.03</string>
<key>categories</key>
<dict>
View brightness.c
/* gcc -std=c99 -o brightness brightness.c -framework IOKit -framework ApplicationServices */
#include <stdio.h>
#include <unistd.h>
#include <IOKit/graphics/IOGraphicsLib.h>
#include <ApplicationServices/ApplicationServices.h>
const int kMaxDisplays = 16;
const CFStringRef kDisplayBrightness = CFSTR(kIODisplayBrightnessKey);
const char *APP_NAME;
View zero_with_progress.sh
#!/bin/sh
POPUP=`dirname "$0"`/cocoaDialog.app/Contents/MacOS/cocoaDialog
# create a named pipe
rm -f /tmp/hpipe
mkfifo /tmp/hpipe
# create a background job which takes its input from the named pipe
$POPUP progressbar \
View Luca bb
I was browsing
Down a reddit thread
Just a-looking
For a jailbreak exploit
One dude
View interfacez
2: ens1f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether f4:ce:46:a6:67:a8 brd ff:ff:ff:ff:ff:ff
3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ac:16:2d:78:2f:fc brd ff:ff:ff:ff:ff:ff
inet 10.0.2.138/24 brd 10.0.2.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 fe80::ae16:2dff:fe78:2ffc/64 scope link
valid_lft forever preferred_lft forever
4: ens1f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether f4:ce:46:a6:67:a9 brd ff:ff:ff:ff:ff:ff
View hæold
{"image"=>"false", "text"=>"/var/www/html/fun/Panucci/public/images", :children=>[{"image"=>"false", "text"=>"Dell", :children=>[{"image"=>"false", "text"=>"Desktop", :children=>[{"image"=>"false", "text"=>"E6400", :children=>[{"image"=>"true", "text"=>"Dell_80G"}]}]}]}, {"image"=>"false", "text"=>"Lenovo", :children=>[]}, nil, {"image"=>"false", "text"=>"HP", :children=>[{"image"=>"false", "text"=>"8200", :children=>[{"image"=>"true", "text"=>"HP_120G copy 2"}, {"image"=>"true", "text"=>"HP_80G"}, {"image"=>"true", "text"=>"HP_120G copy"}, {"image"=>"true", "text"=>"HP_120G"}]}]}]}
View Session-DownTests-2017-03-06_161534-OnU0Em.log
16:15:34.009 xcodebuild[59028:605983] Beginning test session DownTests-79AFBE4D-DB25-464A-968B-B5DB2408C251 at 2017-03-06 16:15:34.007 with Xcode 8C1002 on target <DVTLocalComputer: 0x7ffe0c589d30 (My Mac | x86_64)> (10.12.3 (16D32))
16:15:34.009 xcodebuild[59028:605983] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
-project
Down.xcodeproj
-scheme
Down-macOS
-sdk
macosx
-destination
platform=OS X,arch=x86_64
View .travis.yml
language: ruby
cache: bundler
install:
- bundle install
script: bundle exec rake site:deploy --quiet
rvm:
- 2.1.2
env:
global:
secure: /* remove this line */
@128keaton
128keaton / license
Last active Apr 5, 2017 — forked from zzot/license
MIT License Generator
View license
#!/bin/sh -e
# Usage: license
# Prints an MIT license appropriate for totin' around.
#
# $ license > COPYING
#!/bin/sh
echo "Copyright (c) `date +%Y` Keaton Burleson
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
You can’t perform that action at this time.