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
plugins=(git) | |
autoload -U promptinit; promptinit; | |
PURE_PROMPT_SYMBOL=▲ | |
prompt pure | |
source /Users/dara/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks |
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
/* Extracted from Animate.css */ | |
.animated { | |
-webkit-animation-duration: 0.6s; | |
animation-duration: 0.6s; | |
-webkit-animation-fill-mode: both; | |
animation-fill-mode: both; | |
} | |
@-webkit-keyframes fadeInUpMicro { |
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
var totalPosts; | |
blogInfoCallback = function(data) { | |
totalPosts = data.response.blog.posts; | |
}; | |
jQuery.ajax({ | |
type: "GET", | |
url : "http://api.tumblr.com/v2/blog/_BLOG_URL_/info", | |
dataType: "jsonp", |
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
// Safari Pesticide Bookmarklet | |
// Based on http://pesticide.io | |
javascript:(function(){ | |
var pesticideStyles = document.getElementById('pesticide-styles'), | |
head = document.head || document.getElementsByTagName('head')[0], | |
css = 'body{outline:1px%20solid%20#2980b9%20!important}article{outline:1px%20solid%20#3498db%20!important}nav{outline:1px%20solid%20#0088c3%20!important}aside{outline:1px%20solid%20#33a0ce%20!important}section{outline:1px%20solid%20#66b8da%20!important}header{outline:1px%20solid%20#99cfe7%20!important}footer{outline:1px%20solid%20#cce7f3%20!important}h1{outline:1px%20solid%20#162544%20!important}h2{outline:1px%20solid%20#314e6e%20!important}h3{outline:1px%20solid%20#3e5e85%20!important}h4{outline:1px%20solid%20#449baf%20!important}h5{outline:1px%20solid%20#c7d1cb%20!important}h6{outline:1px%20solid%20#4371d0%20!important}main{outline:1px%20solid%20#2f4f90%20!important}address{outline:1px%20solid%20#1a2c51%20!important}div{outline:1px%20solid%20#036cdb%20!important}p{outline:1px%20solid% |
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
//using the technique from: http://colinaarts.com/articles/inline-block-and-you/ | |
@mixin cross-browser-inline-block { | |
display: inline-block; /* For normal, healthy browsers */ | |
* html & { /* for IE6 */ | |
display: inline; | |
} | |
*+html & { /* for IE7 */ |
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
*, *:before, *:after { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.float-left { | |
float: left; | |
} |
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
require 'rubygems' | |
require 'hirb' | |
extend Hirb::Console | |
Hirb::View.enable |
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
$('.linked_to_projects').click(function(){ | |
$('html, body').animate({ | |
scrollTop: $("#projects").offset().top | |
}, 750); | |
}); | |
$('#projects ul li img').click(function(){ | |
$('html, body').animate({ | |
scrollTop: $("#projects-show").offset().top | |
}, 750); |
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
var windowHeight; | |
$('#wrapper').css('height', $(window).height()); | |
$(window).resize(function() { | |
windowHeight = $(window).height(); | |
$('#wrapper').css('height', windowHeight); | |
}); |
NewerOlder