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
| javascript:var%20i,s,ss=['https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'];for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0); |
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
| #!/usr/bin/env ruby | |
| require 'open-uri' | |
| if ARGV.length == 0 | |
| puts <<-MESSAGE | |
| GitHub Show Script | |
| ------------------ |
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
| // Coming in: | |
| // | |
| // weekday = 40; | |
| // d = new Date(2012, 1, 1); | |
| // utc = false; | |
| // prefer = 1; | |
| // callDateMethod with those arguments is equivalent to "d.getDay()" and will return 3; | |
| // When the bug occurs, weekday will become 47, where in every other browser it should remain 40 as: | |
| // callDateMethod(...) IS 3 AND 40 % 7 IS 5 |
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
| var sound = 'woof'; | |
| function bark(s) { | |
| if(!s) { | |
| return sound; | |
| } else { | |
| var sound = 'ruff'; | |
| return sound + s; | |
| } | |
| } |
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
| #!/bin/sh | |
| # Git related aliases | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| __define_git_completion () { | |
| eval " |
NewerOlder