This file contains hidden or 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
$.ajax({ | |
xhrFields: { | |
responseType: 'blob' | |
}, | |
success: function success(data, res, jqXHR) { | |
console.log(arguments); | |
// error handling | |
var success_statusMsg = $(selector).find('.status-pdf-message').attr('data-success-msg'); | |
$(selector).find('.error-desc.validate_input_table').html(confirmationNumber + ' ' + success_statusMsg); |
This file contains hidden or 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/env node | |
var util = require("util"); | |
var exec = require("child_process").exec; | |
var child; | |
var style = require("ansi-styles"); | |
var padding = " "; | |
// Big df command to get disk usage for /, ~/NAS, and ~/Storage |
This file contains hidden or 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/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import argparse | |
import os | |
import sys | |
py3 = sys.version_info.major == 3 |
This file contains hidden or 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
tap "caskroom/cask" | |
tap "homebrew/bundle" | |
tap "homebrew/core" | |
brew "cmus" | |
brew "exa" | |
brew "gdrive" | |
brew "git" | |
brew "git-cal" | |
brew "git-game" | |
brew "highlight" |
This file contains hidden or 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
# git aliases | |
alias gg="git log --oneline --abbrev-commit --all --graph --decorate --color" | |
alias gs="git status" | |
alias ga="git add" | |
alias gc="git commit" | |
alias gcam="git commit --amend" | |
alias gb="git branch" | |
alias gbas="git branch --all | grep -i" | |
alias gbn="git checkout -b" | |
alias gbnp="git push origin --set-upstream" |
This file contains hidden or 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
# all the functions!! | |
# Shortcut function to control Apache Tomcat Catalina script: | |
catalina() { | |
# Long-hand version: | |
# Start: | |
# $CATALINA_HOME/bin/startup.sh | |
# ... or: | |
# $CATALINA_HOME/bin/catalina.sh start | |
# Stop: |
This file contains hidden or 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
# editorconfig.org | |
root = true | |
[*] | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
[{*.rb, *.haml}] |
This file contains hidden or 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
body { | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" | |
} |
This file contains hidden or 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
/tmp | |
/log | |
/crap_from_immortal_source_code | |
*~ | |
*.swp | |
*.swo | |
.sass-cache/ |
This file contains hidden or 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
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Alignment", | |
"All Autocomplete", | |
"Babel", |