Skip to content

Instantly share code, notes, and snippets.

View zakgrant's full-sized avatar
🎯
Focusing

Zak Grant zakgrant

🎯
Focusing
View GitHub Profile
@zakgrant
zakgrant / amazon-dash-blocklist.txt
Created September 15, 2022 12:49
Amazon Dash Blocklist
||dash-button-na-aws-opf.amazon.com^
||0.amazon.pool.ntp.org^
||1.amazon.pool.ntp.org^
||2.amazon.pool.ntp.org^
||3.amazon.pool.ntp.org^
@zakgrant
zakgrant / roblox-filter.txt
Created September 15, 2022 11:32
roblox block list
||ecsv2.roblox.com^$important
||roblox.com^$important
||rbxcdn.com^$important
{
"name": "hyper-plugins",
"description": "Auto-generated from `~/.hyper.js`!",
"private": true,
"version": "0.0.1",
"repository": "zeit/hyper",
"license": "MIT",
"homepage": "https://hyper.is",
"dependencies": {
"hyper-tab-icons": "latest",
{"swagger":"2.0","info":{"description":"This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters","version":"1.0.0","title":"Swagger Petstore","termsOfService":"http://helloreverb.com/terms/","contact":{"email":"apiteam@wordnik.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"host":"petstore.swagger.io","basePath":"/v2","tags":[{"name":"user","description":"Operations about user"},{"name":"store","description":"Access to Petstore orders","externalDocs":{"description":"Find out more","url":"http://swagger.io"}},{"name":"pet","description":"Everything about your Pets","externalDocs":{"description":"Find out more","url":"http://swagger.io"}}],"schemes":["http"],"paths":{"/pet":{"post":{"tags":["pet"],"summary":"Add a new pet to the store","description":"","operationId
@zakgrant
zakgrant / gist:159a6734d7167947fc58
Created January 15, 2015 11:13
Convert Mavericks / Yosemite InstallESD.dmg to ISO
# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Mavericks
# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Mavericks.sparseimage
# Mount the sparse bundle for package addition
### Keybase proof
I hereby claim:
* I am zakgrant on github.
* I am zakgrant (https://keybase.io/zakgrant) on keybase.
* I have a public key whose fingerprint is 5C58 70F1 01D1 95B1 16A4 D207 2BA9 9949 DCC3 9573
To claim this, I am signing this object:
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
min_peers = 1
max_peers = 100
# Same as above but for seeding completed torrents (-1 = same as downloading)
min_peers_seed = 1
@zakgrant
zakgrant / jenv.rb
Created August 20, 2013 08:04
Modified brew formula for jenv
require 'formula'
class Jenv < Formula
homepage 'https://github.com/gcuisinier/jenv'
url 'https://github.com/gcuisinier/jenv/archive/0.1.1.tar.gz'
sha1 '5885dd46658d92cf756160484f01936a1bdd77ce'
def install
libexec.install Dir['*']
bin.write_exec_script libexec/'bin/jenv'
@zakgrant
zakgrant / map.geojson
Created August 17, 2013 16:05
via:geojson.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.