Skip to content

Instantly share code, notes, and snippets.

@duggum
duggum / sublime3_pkg-ctrl_keybindings
Last active August 29, 2015 14:18
Everything you need to set keybindings for individual Package Control commands.
// Package Control Command Palette Bindings
// Credit to BoundInCode for describing how to identify the individual commands here:
// http://stackoverflow.com/questions/11834652/bind-shortcut-to-command-palette-command
// Listed in the order they appear in the Package Control window
// Just replace "YOUR_KEY(S)_HERE" with whatever keys you want
// to bind to each command, and uncomment the line.
// { "keys": ["YOUR_KEY(S)_HERE"], "command": "add_channel" },
@duggum
duggum / .zpreztorc
Last active August 29, 2015 14:19 — forked from ahmednuaman/.zpreztorc
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
@duggum
duggum / cos12-flash.sh
Last active August 29, 2015 14:19
A bash script for installing Cyanogen OS 12 on a OnePlus One phone
#!/usr/bin/env bash
#
# cos12-flash.sh
#
# Run this script from within the extracted CM 12.0 fastboot directory.
#
# This script will scan your extracted Cyanogen OS 12 < FASTBOOT > ROM
# directory for the files required for a successful flash via 'fastboot'.
# If the tests are successful, you can run it in 'flash' mode to install
# your new OS. Enjoy!
@duggum
duggum / .gitignore_global
Last active August 29, 2015 14:19
My global .gitignore
# My .gitignore; very little of which, if any, is my own doing.
# OS generated files #
######################
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
@duggum
duggum / ModPE.sublime-completions
Last active September 10, 2018 11:48
Auto completions for the ModPE API.
// updated for BlockLauncher 1.11.1-b5
// not all functions have parameters set as tab stops yet
{
"scope": "source.js, comment.block.documentation.js",
"completions": [
{
"trigger": "ATboots\tModPE ArmorType",
"contents": "ArmorType.boots$0"
},
{