This file contains hidden or 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 branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d |
This file contains hidden or 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 ll="ls -allh" | |
| alias bb="git branch" | |
| alias bba="git branch -a" | |
| alias master="git checkout master" | |
| eval "$(ssh-agent -s)" | |
| ssh-add ~/.ssh/id_rsa_git | |
| ssh-add ~/.ssh/id_rsa_sharethis | |
| #custom terminal prompt |
This file contains hidden or 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
| <div id='travellerspoint-map722594_701273' style="width:225px;display:inline-block;"><script src='http://www.travellerspoint.com/badges/badge_membermap.cfm?user=sshadmand&tripid=701273&badgeid=travellerspoint-map722594_701273&height=150&width=225'></script><p class='travellerspoint-map-link'><a href='http://www.travellerspoint.com/member_map.cfm?user=sshadmand&tripid=701273'>South East Asia Part 1</a></p></div> | |
| <div id='travellerspoint-map722594_701275' style="width:225px;display:inline-block;"><script src='http://www.travellerspoint.com/badges/badge_membermap.cfm?user=sshadmand&tripid=701275&badgeid=travellerspoint-map722594_701275&height=150&width=225'></script><p class='travellerspoint-map-link'><a href='http://www.travellerspoint.com/member_map.cfm?user=sshadmand&tripid=701275'>Central/South America</a></p></div> | |
| <div id='travellerspoint-map722594_701277' style="width:225px;display:inline-block;"><script src='http://www.travellerspoint.com/badges/badge_membermap.cfm?user=sshadman |
This file contains hidden or 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
| Handlebars.registerHelper('ifgt', function(val1, val2, options) { | |
| console.log(val1, val2) | |
| if (val1 > val2){ | |
| return options.fn(this); | |
| } | |
| return options.inverse(this); | |
| }); |
This file contains hidden or 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
| Handlebars.registerHelper('truncwords', function(text, length) { | |
| words = text.split(" "); | |
| new_text = text; | |
| if (words.length > length){ | |
| new_text = ""; | |
| for (var i = 0; i <= length; i++) { | |
| new_text += words[i] + " "; | |
| } | |
| new_text = new_text.trim() + "..." | |
| } |
This file contains hidden or 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
| <style> | |
| .bubbles-cont { | |
| z-index: 0; | |
| right: 300px; | |
| position: absolute; | |
| } | |
| .bubbles-cont-2 { | |
| z-index: 0; | |
| left: 0px; | |
| margin-bottom: -30px; |
This file contains hidden or 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
| /* | |
| * Requires Jquery and Handlebars | |
| * Render a template by passing in data and prepend or replace a container in your DOM. | |
| * return DOM object so you can chain subsequent actions. | |
| * Example: | |
| * $("#main-stage").renderTemplate("template-id", dataDict); | |
| * OR | |
| * $("#main-stage").renderTemplate("template-id", dataDict).fadeIn("fast"); | |
| */ | |
| jQuery.fn.extend({ |
This file contains hidden or 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 borderizer(){ | |
| var all = document.querySelectorAll("*"); | |
| var rgb = [0, 0, 0]; | |
| for (var i=0, max=all.length; i < max; i++) { | |
| all[i].style.border = "solid"; | |
| all[i].style.borderWidth = "1px"; | |
| } | |
| } |
This file contains hidden or 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
| <link rel="import" href="../../bower_components/polymer/polymer.html"> | |
| <link rel="import" href="../../bower_components/neon-animation/neon-animation-behavior.html"> | |
| <link rel="import" href="../../bower_components/neon-animation/web-animations.html"> | |
| <!-- | |
| `<fade-in-animation>` animates the opacity of an element from 0 to 1. | |
| Configuration: | |
| ``` | |
| { |
This file contains hidden or 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
| /* | |
| Based on Cachebust | |
| Fixes issue where the original cachebust doesn't see custom polymer elements. Ignores bower_components where polymer elements reside which will cause polymer issues. | |
| */ | |
| var $ = require('cheerio'), | |
| MD5 = require('MD5'); | |
| exports.busted = function(fileContents, options) { | |
| /* For elements in Polymer. Since Polymer |
OlderNewer