Skip to content

Instantly share code, notes, and snippets.

🍎
iOS

Keaton Burleson 128keaton

🍎
iOS
Block or report user

Report or block 128keaton

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
View debug macos
Last login: Fri May 10 14:02:39 on ttys000
FusionDriveiMac:~ admin$ /usr/sbin/diskutil cs list -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>CoreStorageLogicalVolumeGroups</key>
<array>
<dict>
<key>CoreStorageLogicalVolumeFamilies</key>
View macOS Utilities Crash - 2.65b2
2019/04/12 14:08:06:389 macOS Utilities-v2.65-b2
2019/04/12 14:08:06:389
2019/04/12 14:08:06:389
---------------------------LOGGER INITIALIZED---------------------------
2019/04/12 14:08:06:389
2019/04/12 14:08:06:389 Library folder does not exist at '/Users/admin/Library/Application Support/ER2/'
2019/04/12 14:08:06:389 Creating folder at path '/Users/admin/Library/Application Support/ER2/'
2019/04/12 14:08:06:390 Library folder exists at '/Users/admin/Library/Application Support/ER2/'
2019/04/12 14:08:06:390 Property list does not exist at '/Users/admin/Library/Application Support/ER2/com.er2.applications.plist'
2019/04/12 14:08:06:390 Copying property list from bundle
@128keaton
128keaton / navigation.js
Last active Sep 21, 2018
Client-side javascript that fetches menus from a Wordpress instance for another website.
View navigation.js
// -------------------------------------------------------------
// Add page items
// (uses Wordpress plugins JSONMenu)
// -------------------------------------------------------------
$.ajax({
url: 'http://wp.dev.reviveit.io/?rest_route=/menus/v1/list',
dataType: 'application/json',
cache: 'true',
complete: function (data) {
console.log('Ajax request success');
@128keaton
128keaton / archiver.rb
Last active Sep 6, 2018
Creates a Wayback machine entry for URL
View archiver.rb
require 'net/https'
require 'uri'
class WebArchiver
def self.archive(url)
url = URI.parse("https://web.archive.org/save/#{url}")
req = Net::HTTP::Get.new(url.to_s)
res = Net::HTTP.start(url.host, url.port, :use_ssl => true) {|http|
http.request(req)
View imaging.rb
require 'json'
require 'net/http'
require 'uri'
require 'logger'
logger = Logger.new(STDOUT)
base_url = 'http://10.0.2.7:3001'
serial = `sudo dmidecode -t 1 | grep Serial | sed 's/.*: //g'`.strip!
View heatmap.rb
require 'json'
require 'net/http'
require 'uri'
require 'logger'
logger = Logger.new(STDOUT)
#get machine serial number
serial = `sudo dmidecode -t 1 | grep Serial | sed 's/.*: //g'`.strip!
base_url = 'http://10.0.2.7:3001'
View genesis_public_key
044d526abc3b038b5c298e76994f9aca88bfdf575a8e1bb99b640b069f05abaeda7c2a92f0f8176cdedd7a94b9ff7fa9a8071898dafb62bb59c78888ffa005243f
@128keaton
128keaton / printerface.rb
Created Jan 9, 2018
Talk to a Packsize printer with Ruby <3
View printerface.rb
#!/usr/bin/env ruby
# encoding: utf-8
require "rubygems"
require "bunny"
require "json"
def buildHash(width, height, length, orderNumber = "Mambo Test Print #9")
@128keaton
128keaton / chaching.py
Created Dec 8, 2017
DYN Coin Google Home notification
View chaching.py
#!/usr/bin/python
import subprocess
import time
import json
import requests
EARL = 'http://10.0.0.145:5000/play/cha.m4a'
CMD = '~/dynamic-1.5.0/bin/dynamic-cli getwalletinfo'
BALANCE = -1.0
You can’t perform that action at this time.