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 parse_git_branch { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [\1]/' | |
} | |
export PS1='\[\e[0;35m\]⌘\[\e[0m\] \[\e[0;36m\]\w/\[\e[0m\] \[\e[0;33m\]$(parse_git_branch)\[\e[0m\]' |
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
$.getLocationObj = function(url) { | |
var query, match, | |
a = document.createElement('a'), | |
pl = /\+/g, // Regex for replacing addition symbol with a space | |
search = /([^&=]+)=?([^&]*)/g, | |
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, | |
urlParams = {}, | |
b = {}; | |
a.href = url; |
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
uglifyjs Chart.js -o Chart.min.js -c -m |
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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$em-base: 16px; | |
@mixin rem($property, $size, $base: $em-base) { | |
$unitless_values: (); | |
@each $num in $size { |
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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.list-bulletpoint { | |
// single level of nesting | |
a { | |
color: red; | |
} |
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
# SSH Mounts | |
function fubarfunction() { | |
var1=${1-ssh}; | |
if [ $var1 == 'mount' ] | |
then | |
fubarfunction unmount | |
sshfs fubar:/home/matfel/ndn/ ~/Sites/Projects/Fubar/ -o sshfs_sync | |
echo 'Fubar Mounted' | |
fubarfunction edit | |
elif [ $var1 == 'unmount' ] |
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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.price-highlight { | |
font-style: normal; | |
font-weight: 400; | |
font-size: 1.2em; | |
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
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
+tr[data-display^="ALLOW IPv6 ip_proto=58"] td:first-child + td + td + td { | |
font-size: 0; | |
&:before { | |
content: 'ICMPv6'; |
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
<section id="home-hero" class="section-hero"> | |
<div class="section-wrap"> | |
<div class="content-container"> | |
<h1>Web Hosting<br>Made Easy.</h1> | |
<p>For your business. Or your band. Starting at <em class="price-hero-highlight">$8.95/month.</em></p> | |
<a href="//betasignup.dreamhost.com/shared/email/" class="btn-signup">Get Started</a> | |
<a href="/hosting/shared/" class="btn-login">Learn More</a> | |
</div> | |
</div> | |
<div class="ad-bubble"> |
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
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
#dreampress-description h2, p { | |
max-width: 200px; | |
margin-left: auto; | |
margin-right: auto; | |
} |
OlderNewer