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
// Dropdown Menu close accordian script | |
$( document ).ready(function() { | |
function accordionState() { | |
var parentAccord = $('div.parent') | |
if ($(window).width() < 769) { | |
$(parentAccord).removeClass('in'); | |
} | |
} | |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Demo</title> | |
<style> | |
.fluidMedia { | |
position: relative; | |
padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */ | |
padding-top: 30px; |
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
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | |
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | |
<!--[if lt IE 9]> | |
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | |
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | |
<![endif]--> |
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
$ sudo chown -R $USER /usr/local |
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
alias show_hidden="defaults write com.apple.Finder AppleShowAllFiles YES && killall Finder" | |
alias hide_hidden="defaults write com.apple.Finder AppleShowAllFiles NO && killall Finder" |
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
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"ConvertToUTF8", | |
"Emmet", | |
"JavaScript Completions", |
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 init | |
$ git remote add origin https://yourGitURL.com/user/repo.git | |
# Set a new remote | |
$ git remote -v | |
# Verify new remote | |
origin https://yourGitURLcom/user/repo.git (fetch) | |
origin https://yourGitURL.com/user/repo.git (push) | |
# now add the files |
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
# Revert changes to modified files. | |
git reset --hard | |
# Remove all untracked files and directories. (`-f` is `force`, `-d` is `remove directories`) | |
git clean -fd |
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 commit -m "Something terribly misguided" | |
$ git reset --soft HEAD~ | |
<< edit files as necessary >> | |
$ git add ... | |
$ git commit -c ORIG_HEAD |
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 pull --rebase | |
# $ git pull origin master --rebase | |
# in sequence | |
git mergetool | |
git add conflict_file | |
git rebase --continue |
OlderNewer