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
# this forces Arena into full screen mode on startup, set back to 3 to reset | |
# note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
# and you will need to run these commands again | |
defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0 | |
# you can also replace the long complicated integer bit with any other scaled 16:9 | |
# resolution your system supports. | |
# to find the scaled resolutions, go to System Preferences --> Display and then | |
# divide the width by 16 and multiple by 9. on my personal system this ends up |
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 | |
function remove_divi_shortcodes( $content ) { | |
$content = preg_replace('/\[\/?et_pb.*?\]/', '', $content); | |
return $content; | |
} |
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
### | |
# Super Prompt | |
# | |
# Output: | |
# 📂 WORKING_DIRECTORY : 🌱 GIT_BRANCH | |
# 💎 RUBY_VERSION-pPATCH@GEMSET : 🛤 RAILS_VERSION : 🐹 EMBER_VERSION : ☑️️ TYPESCRIPT_VERSION : 💠 NODE_VERSION | |
# 💰 | |
# | |
# WTF: | |
# 1. WORKING_DIRECTORY displays in the default color. |
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
### | |
# Super Spinner | |
# An emoji-based spinner — because ASCII is boring. | |
# | |
# Usage: | |
# $ COMMAND & superSpinner $! "Message" | |
# | |
# Example: | |
# $ sleep 5 & superSpinner $! "Sleeping for 5 seconds" | |
# |
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
### | |
# Handy Ember NomBom | |
# N.B. Meant to be used with Super Spinner | |
# https://gist.github.com/zulaica/9e971cc5b6dbd156abcd13745beff262 | |
# | |
# Usage: | |
# $ nombom | |
# | |
# WTF: | |
# 1. Delete node_modules, bower_components, dist, and tmp directories |
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
alias nom='npm cache clean && rm -rf node_modules && mkdir node_modules && touch node_modules/.metadata_never_index && npm install' | |
alias bom='bower cache clean && rm -rf bower_components && mkdir bower_components && touch bower_components/.metadata_never_index && bower install' |