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 | |
echo ' | |
___ | |
/ /\ ___ ___ | |
/ /:/_ / /\ / /\ | |
/ /:/ /\ / /:/ / /:/ | |
/ /:/_/::\ /__/::\ / /:/ | |
/__/:/__\/\:\ \__\/\:\__ / /::\ | |
\ \:\ /~~/:/ \ \:\/\ /__/:/\:\ |
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
" ----------------------------------------------------------------------- | |
" CSS3PropertyDuplicate(): {{{ | |
" - Origin: https://gist.github.com/972806 | |
" - Forked: https://gist.github.com/1901182 | |
" | |
" "" -> 無名レジスタ(YなどでYankしたテキストが入る) | |
" @" -> 無名レジスタの内容を実行する | |
" @@ -> 直前に実行したレジスタを再実行する | |
" ""P -> 無名レジスタの内容をペースト | |
" |
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
# ================================================================== | |
# Cakefile - compile, concatenate, minify coffee | |
# ================================================================== | |
# ├─ Cakefile | |
# ├─ lib | |
# │ ├─ all.js | |
# │ └─ all.min.js | |
# └─ src | |
# ├─ fuga.coffee | |
# └─ hoge.coffee |
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
$.widget('ui.orewidget', { | |
... | |
_create: function(){ | |
this.widgetEventPrefix = 'ore.'; | |
this._eventify(); | |
return this; | |
}, | |
_eventify: function(){ | |
var self = this; | |
this.element.bind('click', function(e){ |
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
/* === jQuery UI widget way === */ | |
$.widget('ui.dashboard', { | |
_create: function(){ | |
alert('hey widget was created!'); | |
console.log(this.element); // this is what you attached. | |
} | |
}); | |
$('#div1').dashboard(options); |
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
/** | |
Sample Propane caveatPatchor.js file based on tmm1's avatar hack. | |
You'll need at least version 1.1.1 to experiment with this: | |
http://propaneapp.com/appcast/Propane.1.1.1.zip | |
Once I'm sure exposing this hack-injection point doesn't cause problems | |
I'll do an official auto-updating version. | |
As of version 1.1.1, Propane will load and execute the contents of |
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
/* http://nicolasgallagher.com/micro-clearfix-hack/ */ | |
.clearfix { | |
*zoom: 1; | |
} | |
.clearfix:before, | |
.clearfix:after { | |
content: " "; | |
display: table; |