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
# Add these scripts to your .profile or .bash_profile or .zshrc, or wherever you shell-script | |
# (FWIW, I keep core scripts in my .profile, then import .profile into zsh or bash configs) | |
# PURPOSE: | |
# When developing, you want to develop a critical reflex/hygiene: | |
# keeping your working/feature branch updated against your trunk branch. | |
# But this takes time and attention, partly because your working branch can have an arbitrary name to remember/type. | |
# We want to "make the right thing the easy thing." (h/t: Mike Bland) | |
# These convenience scripts turn that process into a one-command operation. |
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 mu() { | |
branch=`git rev-parse --symbolic-full-name --abbrev-ref HEAD` | |
echo "After updating master, will return to $branch..." | |
git checkout master | |
#TO-DO: check status and only pull if not up-to-date... | |
git pull | |
git checkout $branch | |
} |
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
// INSPIRED BY: https://gist.github.com/mbreit/4267177 | |
@mixin font-awesome-base { | |
// USE: just set-up an element to use FontAwesome as its font | |
font-family: FontAwesome; | |
font-weight: normal; | |
font-style: normal; | |
display: inline-block; | |
text-decoration: inherit; | |
line-height: 1; | |
} |
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
.container { | |
position: relative; | |
left: 100px; | |
margin: 200px auto; | |
width: 500px; | |
height: 500px; | |
} | |
.circle { | |