Skip to content

Instantly share code, notes, and snippets.

View KevinJMao's full-sized avatar

Kevin Mao KevinJMao

  • Netflix
  • San Francisco, CA
View GitHub Profile
@KevinJMao
KevinJMao / ansible-summary.md
Created July 11, 2017 15:02 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@KevinJMao
KevinJMao / toggle_theme_and_scheme_keymap_entry.json
Last active March 22, 2016 23:22
Sublime Text 2/3 keymap entry for toggling between two different themes and color schemes
{
"keys" : ["super+ctrl+1"],
"command": "toggle_theme_and_scheme",
"args":
{
"theme_1" : "Spacegray Light.sublime-theme",
"color_scheme_1" : "Packages/Theme - Spacegray/base16-ocean.light.tmTheme",
"theme_2" : "Spacegray.sublime-theme",
"color_scheme_2" : "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme"
}
@KevinJMao
KevinJMao / toggle_theme_and_scheme.py
Last active March 22, 2016 23:22
Sublime Text 2/3 plugin snippet for toggling between two different Themes and Color Schemes
import sublime, sublime_plugin
class ToggleThemeAndSchemeCommand(sublime_plugin.TextCommand):
def run(self, edit, **args):
s = sublime.load_settings("Preferences.sublime-settings")
scheme1 = args["color_scheme_1"]
theme1 = args["theme_1"]
scheme2 = args["color_scheme_2"]
theme2 = args["theme_2"]