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
How to include an entire directory for your local repositories using symlink: | |
```bash | |
"repositories": [ | |
{ | |
"type": "path", | |
"url": "/Users/USERNAME/Sites/_packages/*", | |
"options": { | |
"symLink": true | |
} |
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
#!/bin/bash | |
echo "Running XAMPP Backer Upper" | |
# The full path to the XAMPP root installation. No trailing slash. | |
XAMPP_ROOT_LOCATION="" # ie: /Applications/XAMPP | |
BACKUP_ROOT_LOCATION="" # ie: /Users/username/Desktop | |
BACKUP_PREFIX="backup_" | |
BACKUP_TIME=`date +"%m-%d-%Y_%H-%M-%S"` |
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
#!/bin/sh | |
CPANEL_USERNAME=YOURUSERNAME | |
APP_NAME=YOURAPPNAME # ".git" will be added and should match your bare repo filename | |
APP_DIR="public_html/prod" # include "public_html", do not start with forward slash! | |
HOMEDIR="/home/$CPANEL_USERNAME" | |
PHP="php -d allow_url_fopen=1 -d memory_limit=256M -d suhosin.executor.include.whitelist=phar" | |
COMPOSER="$PHP $HOMEDIR/bin/composer.phar" |
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
Options -Indexes | |
RewriteEngine On | |
# This goes first! | |
# Force www prefix | |
RewriteCond %{HTTP_HOST} !^(www\.)(.*) [NC] | |
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] | |
# This goes second! |
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
# Source Reload | |
alias reload.zsh="source ~/.zshrc" | |
alias reload.profile="source ~/.bash_profile" | |
alias reload.term="source ~/.bash_profile && source ~/.zshrc" | |
# cd | |
alias ..="cd .." | |
# ls | |
alias ll="ls -AlhG" |
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
function injectGitFileStatus() | |
{ | |
const timeout = 5000; | |
const addedColor = "#8dc149"; | |
const modifiedColor = "#cbcb41"; | |
const stagedColor = "#ca2820"; | |
const ignoredOpacity = "0.4"; | |
const explorer = document.getElementById("workbench.view.explorer"); | |
if (explorer) |
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
#!/bin/bash | |
echo "\n\n--- Killing Stupid Adobe Auto Load Crap ---\n\n" | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist | |
echo "\n\n--- Done! ---\n\n" |
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
Create a new directory in /usr/local for composer, and setup directory for downloading the installer. | |
-> cd /usr/local | |
-> mkdir composer | |
-> cd composer | |
-> mkdir setup | |
-> cd setup | |
Inside the setup directory, we are going to follow the instructions to download Composer. |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist> | |
<array> | |
<dict> | |
<key>AudioList</key> | |
<array> | |
<dict> | |
<key>AudioBitrate</key> | |
<string>640</string> |