Skip to content

Instantly share code, notes, and snippets.

Levi Brown levigroker

Block or report user

Report or block levigroker

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
@levigroker
levigroker / URLEncode.sh
Last active Feb 8, 2018
A BBEdit Text Filter script to take textual input and produce URL encoded text of the same.
View URLEncode.sh
#!/bin/bash
#
# URL Encode
# https://gist.github.com/levigroker/36525010ba0bce15450c89fe6a5f36b1
#
# A BBEdit Text Filter script to take textual input and produce URL encoded text of the same.
# See http://bbeditextras.org/wiki/index.php?title=Text_Filters
# Levi Brown
# @levigroker
# levigroker@gmail.com
@levigroker
levigroker / URLDecode.sh
Last active Feb 8, 2018
A BBEdit Text Filter script to take textual input and produce URL decoded text of the same.
View URLDecode.sh
#!/bin/bash
#
# URL Decode
# https://gist.github.com/levigroker/892fd435d701b4e8f56bfcec819d5ef2
#
# A BBEdit Text Filter script to take textual input and produce URL decoded text of the same.
# See http://bbeditextras.org/wiki/index.php?title=Text_Filters
# Levi Brown
# @levigroker
# levigroker@gmail.com
@levigroker
levigroker / spikeroak.sh
Created Dec 10, 2016
A bash script to download and verify spideroak.com's warrant canary file.
View spikeroak.sh
#!/bin/bash
#
# spideroak.sh
#
# A bash script to download and verify spideroak.com's warrant canary file.
# Requires GnuPG to be installed ( https://gpgtools.org https://www.gnupg.org )
#
# by Levi Brown
# levigroker@gmail.com
# December 9, 2016
@levigroker
levigroker / ASCII to Hex
Last active Feb 8, 2018
A BBEdit Text Filter script to take textual input and produce hedidecimal array values of the same.
View ASCII to Hex
#!/bin/bash
#
# ASCII to Hex
# https://gist.github.com/levigroker/193ba909e2354de870513eec46c08222
#
# A BBEdit Text Filter script to take textual input and produce hedidecimal array values of the same.
# See http://bbeditextras.org/wiki/index.php?title=Text_Filters
# Levi Brown
# levigroker@gmail.com
# December 8, 2016
@levigroker
levigroker / com.levigroker.degrees_keepalive.plist
Last active May 9, 2016
Launch Agent to keep Degrees.app alive after a crash.
View com.levigroker.degrees_keepalive.plist
<!--
Launch Agent to keep Degrees.app alive after a crash.
Created May 9, 2016 by Levi Brown
https://gist.github.com/levigroker/b172287d1e84d4945d995108c10f79c8
Add to `~/Library/LaunchAgents/com.levigroker.degrees_keepalive.plist`
`cd ~/Library/LaunchAgents`
`launchctl load com.levigroker.degrees_keepalive.plist`
Copyright (c) 2016 Levi Brown <mailto:levigroker@gmail.com>
@levigroker
levigroker / keybase.md
Last active Sep 20, 2019
Keybase.io Proof of Identity
View keybase.md

Keybase proof

I hereby claim:

  • I am levigroker on github.
  • I am levigroker (https://keybase.io/levigroker) on keybase.
  • I have a public key ASA5Qo_hEJl43QrIZMrJSeu4IVBEPmXD-MAr19Uo2wGUZQo

To claim this, I am signing this object:

@levigroker
levigroker / OrientationRespectfulNavigationController.h
Last active Oct 12, 2015
OrientationRespectfulNavigationController
View OrientationRespectfulNavigationController.h
//
// OrientationRespectfulNavigationController.h
//
// Created by Levi Brown on 11/15/12. @levigroker
// This work is licensed under a Creative Commons Attribution 3.0 Unported License
// http://creativecommons.org/licenses/by/3.0/
// Attribution to Levi Brown (@levigroker) is appreciated but not required.
//
/*
@levigroker
levigroker / FormatJSON.sh
Created Sep 24, 2012
BBEdit Text Filter to "pretty print" JSON
View FormatJSON.sh
#!/bin/bash
python -c "import sys, json; print json.dumps(json.load(sys.stdin), indent=2)"
View KeychainItem.h
/*
File: KeychainItem.h
Abstract:
Objective-C wrapper for accessing a single keychain item.
KeychainItem by Levi Brown is licensed under a Creative Commons Attribution 3.0 Unported License.
To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/
Based on a work at https://developer.apple.com/library/ios/#samplecode/GenericKeychain
Some ARC conversion modifications were made based on: https://gist.github.com/1170641
Under the terms of this license, the above attribution and license statements are to remain
@levigroker
levigroker / FormatJSON.sh
Created Sep 7, 2012
BBEdit Text Filter to "pretty print" JSON
View FormatJSON.sh
#!/bin/bash
python -m json.tool
You can’t perform that action at this time.