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 gi='git init' | |
| alias gs='git status' | |
| alias ga='git add -A' | |
| alias gc='git commit . -m' | |
| alias gpull='git pull origin master' | |
| alias gpush='git push origin master' | |
| alias gt='git tag' | |
| alias gtag='git push --tags' |
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
| tell application "System Events" | |
| set activeApp to name of first process whose frontmost is true | |
| end tell | |
| if application "Slack" is running and activeApp is not equal to "Slack" then | |
| tell application "Notifications Scripting" | |
| # set show event handler results to true | |
| set event handlers script path to (path to me) | |
| display notification "Slack is running" message "Are you waiting on an @mention?" action button "No" other button "Yes" |
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
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress | |
| # Bare Minimum Git | |
| # http://ironco.de/bare-minimum-git/ | |
| # ver 20150227 | |
| # | |
| # This file is tailored for a WordPress project | |
| # using the default directory structure | |
| # | |
| # This file specifies intentionally untracked files to ignore |
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
| <?php | |
| /* | |
| Plugin Name: Toggle Debug | |
| Description: Proof-of-concept for an admin-bar debug mode toggle. Needs some UX love. | |
| */ | |
| /* | |
| // In wp-config.php, wrap debug constants in a cookie conditional | |
| if ( isset( $_COOKIE['wp-debug'] ) && $_COOKIE['wp-debug'] == 'on' ) { | |
| define('WP_DEBUG', true); | |
| } |
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
| { | |
| // http://eslint.org/docs/rules/ | |
| "ecmaFeatures": { | |
| "arrowFunctions": false, // enable arrow functions | |
| "binaryLiterals": false, // enable binary literals | |
| "blockBindings": false, // enable let and const (aka block bindings) | |
| "classes": false, // enable classes | |
| "defaultParams": false, // enable default function parameters | |
| "destructuring": false, // enable destructuring |
OlderNewer