Skip to content

Instantly share code, notes, and snippets.

View briansoule's full-sized avatar
🐢
~

Brian Soule briansoule

🐢
~
View GitHub Profile
1FeFRNgzQV7aqDAtHRBwR8vN8XJ59CphDA
Verifying my identity on Peepeth.com 0x6ea1eadb60d3c33113862035cf99fdc3854ca85e
[[1420160400000,100.01953042],[1420246800000,100.04878483],[1420333200000,100.07840491],[1420419600000,100.11040192],[1420506000000,100.13874212],[1420592400000,100.16781369],[1420678800000,100.19267993],[1420765200000,100.22028878],[1420851600000,100.24661774],[1420938000000,100.27258102],[1421024400000,100.30073839],[1421110800000,100.32688451],[1421197200000,100.35028804],[1421283600000,100.37679984],[1421370000000,100.40459153],[1421456400000,100.42964061],[1421542800000,100.45505537],[1421629200000,100.48321274],[1421715600000,100.50917602],[1421802000000,100.53038547],[1421888400000,100.55854283],[1421974800000,100.58267772],[1422061200000,100.60480136],[1422147600000,100.6287534],[1422234000000,100.65142557],[1422320400000,84.12606504],[1422406800000,84.12978456],[1422493200000,75.56875112],[1422579600000,75.14949533],[1422666000000,73.26589028],[1422752400000,69.16283241],[1422838800000,73.20339076],[1422925200000,76.39738338],[1423011600000,73.00281967],[1423098000000,72.05738744],[1423184400000,69.4
@briansoule
briansoule / abiparser.js
Created December 13, 2017 07:26
ABI Parser Script
json.forEach(function(element) {
console.log(element.name);
s = s + "*** " + element.name + " ***\ntype:" + element.type + "\npayable:" + element.payable + "\ninputs:\n";
element.inputs.forEach(function(input) {
s = s + "\t" + input.name + " | " + input.type + "\n";
});
s = s + "outputs:\n";
if (element.outputs) {
element.outputs.forEach(function(output) { s = s + "\t" + output.name + " | " + output.type + "\n"; });
}

Keybase proof

I hereby claim:

  • I am briansoule on github.
  • I am soule (https://keybase.io/soule) on keybase.
  • I have a public key ASCj5Y16_7ZzMm4fIkZ8X4ellH5XbHkSxBqC5B5YJJL1Wgo

To claim this, I am signing this object:

@briansoule
briansoule / k.json
Last active August 3, 2017 00:08
Query this url in Safari to install: karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2Fbriansoule%2F5f7e795e8599ee4a24a1d16ee90c41fe%2Fraw%2F96cf65453e3fc76ac7ff70fc81bd6d7ea8cb17b4%2Fk.json
{
"title": "Vi Style Arrows",
"rules": [
{
"description": "Change Left Option+h/j/k/l to Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "h",
@briansoule
briansoule / keypad.py
Created November 2, 2015 01:52
Rust Keypad Opener
# Script for bruting keypads in Rust
# To end script, move mouse to top left corner of the screen.
import pyautogui
import time
pyautogui.FAILSAFE = True
screenWidth, screenHeight = pyautogui.size()
currentMouseX, currentMouseY = pyautogui.position()
# Coordinates statically set for Apple Thunderbolt display:
@briansoule
briansoule / private.xml
Last active August 29, 2015 14:22
Map VIM Cursor Movement to Arrow Keys in Karabiner: https://pqrs.org/osx/karabiner/index.html.en
<?xml version="1.0"?>
<root>
<item>
<name>Map VIM Cursor Movement to Arrow Keys</name>
<appendix>Use Option+H/J/K/L to Input Up/Down/Left/Right</appendix>
<identifier>VIMCtrlFJDown</identifier>
<autogen>
__KeyToKey__
KeyCode::J, ModifierFlag::OPTION_L,
KeyCode::CURSOR_DOWN
{
"aps" : {
"alert" : {
"title" : "Message from Kristen",
"body" : "Kristen wrote: Hello Brian this is a really great meal",
},
"badge" : 1,
"category": "myCategory"
},
"coach_firstname": "Jodi",
@briansoule
briansoule / gist:480c28c1d6bfe211d610
Created August 1, 2014 19:30
iOS Further Reading
THE BASICS
Intro to Objective C:
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html
The HIG:
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/MobileHIG/