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> | |
<link rel="stylesheet" src="main.css"> | |
<script src="main.js"></script> |
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
.open > .dropdown-menu { | |
opacity: 1; | |
visibility: visible; | |
} | |
.dropdown-menu { | |
display: block; | |
opacity: 0; | |
transition: visibility 0.2s ease, | |
opacity 0.2s ease; |
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
/** | |
* Delay all $http calls for JSON objects by 2 seconds | |
* Used to introduce latency to see how things load. | |
*/ | |
module.config(['$httpProvider', function ($httpProvider) { | |
$httpProvider.interceptors.push([ | |
'$q', '$timeout', | |
function ($q, $timeout) { |
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 chmod -R +a '_www allow read,write,delete,add_file,add_subdirectory,file_inherit,directory_inherit' DIR |
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
# Negative FilesMatch | |
<FilesMatch ".+\.(?!(css|js|gif|jpe?g|png|svg)$)[^\.]+?$"> | |
</FilesMatch> |
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
# ~/Workspace/foundationify/ (master) | |
# B/w | |
#export PS1=' \w `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\u\$ ' | |
# Color | |
export PS1='\[$(tput setaf 5)\] \[$(tput setaf 6)\]\w\[$(tput sgr0)\] `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\u\$\[$(tput sgr0)\] ' |
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 config user.email "user@example.com" |
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
$ echo "*.config">>.gitignore | |
$ git rm --cached "*.config" | |
$ git add . | |
$ git commit -m "Ignoring and deleting config files." | |
$ git push origin |
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> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
</head> | |
<body> | |
<div class="mktoContent"></div> | |
</body> | |
</html> |
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
# ---------------------------------------------------------------------- | |
# | Trailing Slash Fix | | |
# ---------------------------------------------------------------------- | |
# Fixes the issue where mod_dir would issue a full redirect with the | |
# incorrect hostname when missing a trailing slash on a directory. | |
DirectorySlash Off | |
<IfModule mod_rewrite.c> | |
RewriteCond %{REQUEST_FILENAME} -d |
OlderNewer