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
# 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 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 | |
# Run as root | |
# You may want to modify the cpanelusers file after | |
for i in $(/bin/ls /var/cpanel/users/); do echo ${i} >> /fix-hack/cpanelusers; done | |
# Increase file permissions | |
chmod 400 /fix-hack/cpanelusers |
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 |
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
<?php | |
/* | |
* Plugin Name: Backupbuddy Stash Fix | |
* Description: Deletes catalog and state if error #5002 has occurred | |
* Version: 1.0 | |
* Author: Seth Alling | |
* Author URI: https://sethalling.com | |
* Requires at least: 4.7 | |
* Tested up to: 4.7 | |
*/ |
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 USE BREAKPOINT VARIABLES | |
// `@media #{$desktop} { | |
// CSS: GOES HERE; | |
// }` | |
// Breakpoints (we use pixels so we can still have mobile-last queries) | |
$tiny-phone-bp: 320px; | |
$phone-bp: 780px; | |
$tablet-bp: 900px; | |
$desktop-bp: 1200px; |
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
// `@include @clearfix()` will add a clearfix to the CSS | |
@mixin clearfix { | |
&:after { | |
display: table; | |
clear: both; | |
content: ''; | |
} | |
} | |
// `@include font-size(18)` will add both a 18rem font size and a 18px fallback |