Skip to content

Instantly share code, notes, and snippets.

@saucer-jp
saucer-jp / style.scss
Created September 11, 2012 07:20
sass: animation, keyframes mixin
/*! ********************
animation, keyframes mixin 2012/09/11
******************** */
// NOTE: 個別プロパティの指定には対応していないです
@mixin animation( $value... ) {
-webkit-animation:$value;
-moz-animation:$value;
-o-animation:$value;
-ms-animation:$value;
@saucer-jp
saucer-jp / layout.erb
Created August 8, 2012 04:44
js: mobile safari status bar hide
<script type="text/javascript">
function hideURLbar() { window.scrollTo(0,1); }
addEventListener('load', function() { setTimeout(hideURLbar, 0); }, false );
</script>
@saucer-jp
saucer-jp / lorem-ipsum.txt
Created July 20, 2012 06:31
text: lorem ipsum(ja)
野レ喫方ぽどぐぞ雑勉克モノ街小りをど動6委ん間数カハ救教こ評24転ロルツ寧潤造タイヲ御12発直就素ど。西ル胸続しお炎強カ合隈スい開帰ノハ間違強くしわふ同書く書後ノクア痢暮樹セ一話昭ラ質摘横日父宅もでお。事4詐メ碁車みがふう落身くえなぶ減吏ヨニミラ車端ぐさ一田な台必ッゆ二立ルウ増52壌お窮必ばべみ頑象ぱぎイ確座マノヤヒ庫僚ウヌ新民リハヒユ止喚宴ほぜ。
用けち方東給ばな崎撮じさ中本ヒミロウ貸会てッ物93路天ナツワチ駐必マキ募売ぼ盤功うつラク指善ずよ球関フつル吾受ち。無ハロカ権矯常レ団間ぐんかト伝線イモ速4者キ広棋てン読24保ルケ旅秋ク載校ほク著出ゆき入報両島チワク師右ゅあ。細ヒウシ容表挙ユオシ無週化96別う樫3民ーフ供浮テイマ票要ラぱ用罪タオ所月評残会がばリ。
棋ラロ待覧クニ堀求ゅうぐ勉徳ようるぎ回企りら工料コタ断来全なリ期判クチネワ会38遂5厚ウミヘ方細ち子好ち英聞モヌオ表社ふル地読コヤユネ演美否うしには。小ユカネエ公動額ッる間判連ウツ終別ずざ力能ゆス携3題いてクっ捜流コエルサ供政済士んゆ状85訴ずト団奥出ぴにりろ宮王す金央れン都稿あめらひ。
被ハキ政課サエレ権刊ヲ南義せお立文カホ利究トかさ記証ね転必ょれほぞ度38愛イキロ補振ヲ親晶ールび試廟レっ描雑容ルト続発ばぜ。子イサ作期内で調本ク都迫予スルカホ止熊もえい雑生転ゃ事刊びう続残マタノ西済8撤むびそだ。緊クナニソ題日な名6芸今五ヘチサ療所もろ案32先ルミ判意えのけ損枚ス用貢ゃせ約3組ゆわ業方取子ほ申援哉循泣と。
並互ネツヘ途口狙ヤテ反見ロヌルメ申情しべゆ飛季責フ自者セ供望エユレ騎極つぽけば面晶カヲミム日起ぜわス間和ヱオヒヲ半解アイム都74図開スユヘ氏極象熊習ぞど。首5加フヱ言再ワアチ危報ねけわか供雪転ぶ訃城ぴおー京継かんわー高治ドでッゃ周4探をぼふぽ懲読だどつな手表ラぴら起宮ちゃへぽ術仙仲曜読すあと。支ヤオ陣義体リマイコ自2犯ふすレべ山5医レ竹速初ヱ越治ラ斐保スなぼん情備クぞぱ更囲フヱ埋素村抑予現ーがょ。
@saucer-jp
saucer-jp / lorem-ipsum.txt
Created July 20, 2012 06:23
text: lorem ipsum(en)
Lorem ipsum dolor sit amet, pro at justo commune copiosae, quas euismod qui an. Et dicta percipitur reformidans usu, dicta fierent no his. Meis inani te cum, ponderum assueverit cu duo. No vocent commune quo, purto justo pericula eu per. Ius putent commodo euripidis in, eligendi appetere ne ius.
Sit qualisque hendrerit te, ne sit torquatos interpretaris. Ius graece option legimus an, vix summo dolorem blandit an. Nisl patrioque quo ad. Ut duo augue paulo, fabulas sapientem ne mea, ut duo detraxit salutandi definiebas. Pro at unum petentium, meliore consetetur has in, et mutat percipit vim. In eruditi fabellas vis, ex eruditi legimus necessitatibus quo. Eos in alterum ceteros adipiscing, te accumsan pertinacia instructior ius.
At ipsum scripta efficiantur nec. Perpetua vituperata quaerendum vix ne, pri ne veri liber apeirian. Vidisse lucilius facilisi ei vix, vim ei quod esse atqui, error placerat molestiae eam cu. Denique albucius quo ad, eos eu malis assum.
At malis laoreet his. Ex vix prima primis, ne qu
@saucer-jp
saucer-jp / _global_mixins.scss
Created July 20, 2012 04:27
sass: global mixins
// _global_mixins.scss start
// ********************
// method
// ********************
// type-of(100px) => number
// type-of(asdf) => string
// type-of("asdf") => string
// type-of(true) => bool
// type-of(#fff #fff) => list
@saucer-jp
saucer-jp / style.scss
Created June 15, 2012 06:52
sass: mixin fadeIn
$prefix:'-moz-', '-webkit-', '-o-', '-ms-', '';
// ********************
// fadeIn
// ********************
@mixin keyframe-fadeIn {
0% { opacity:0; }
100% { opacity:1; }
}
@-moz-keyframes fadeIn {
@include keyframe-fadeIn;
@saucer-jp
saucer-jp / style.scss
Created March 9, 2012 06:13
sass: function em
@function em( $num ) {
$em:$font-size * $num;
@return $em;
}