This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import glob | |
import os | |
import subprocess | |
import sys | |
sys.path.append('/usr/local/munki/munkilib') | |
import FoundationPlist | |
path = '/Users/abanks/Library/AutoPkg/Cache' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Highlight long lines (>80) | |
autocmd BufEnter * highlight OverLength ctermbg=darkgrey guibg=#592929 | |
autocmd BufEnter * match OverLength /\%81v.*/ | |
autocmd BufEnter * let w:long_line_match = 1 | |
fu! LongLineHighlightToggle() | |
highlight OverLength ctermbg=darkgrey guibg=#592929 | |
if exists('w:long_line_match') | |
match OverLength // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
This is a sample email taken from https://developers.google.com/gmail/schemas/apps-script-tutorial | |
and used to test the GMail actions support. | |
--> | |
<html> | |
<head> | |
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "EmailMessage", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |