GifVJ
これがクールだったのでどうにかこれを JavaScript で作れないか頑張ってみた(頑張ってる途中)
Burrn!
ランダムで GIF アニメを全画面表示
Enter で再生/停止
| <?php defined('SYSPATH') or die('No direct script access.'); | |
| /** | |
| * MySQL "Closure Table" for Kohana based on Bill Karwin design. | |
| * | |
| * @link http://www.slideshare.net/billkarwin/models-for-hierarchical-data | |
| * @TODO improve | |
| * | |
| * sql schema: | |
| * CREATE TABLE `closures` ( | |
| * `id` int(11) NOT NULL AUTO_INCREMENT, |
| cui vimでクリップボードを使う。 | |
| cUI vimの場合、+clipboardでコンパイルされないためクリップボード機能が使えないようです。 | |
| そんな時、fakeclipプラグインを使えば "*Y "*pなどでクリップボードが使えるようになり、他のアプリケーションと連携ができます。 | |
| いちいちマウスを触らなく良いので実にありがたい。 | |
| fakeclip => http://www.vim.org/scripts/script.php?script_id=2098 | |
| 各種コマンドについてはvim-users.jpが参考になります。 | |
| http://vim-users.jp/2010/02/hack126/ |
| # Note that while this file is in our config folder, it is | |
| # symlinked to our site folders, so paths are relative from there | |
| # Require gems and Compass plugins | |
| # require 'rgbapng' | |
| # require 'compass-fancybox-plugin' | |
| require 'compass-growl' | |
| # General | |
| output_style = :expanded |
| #!/usr/bin/env python | |
| # Simple Image Diffs | |
| # ================== | |
| # | |
| # How to Install | |
| # -------------- | |
| # | |
| # Download the script somewhere on $PATH as 'simple-imagediff' with +x: | |
| # |
This gist assumes:
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |
| #!/bin/bash | |
| # Open iPhone Simulator on default location for XCode 4.3 if found | |
| [[ -d /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/ ]] && | |
| open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app | |
| # Open iPhone Simulator on default location for XCode 4.2 if found | |
| [[ -d /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/ ]] && | |
| open /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app |
A usage scenario of the extended version of grunt.file.expandFiles that has the added feature of providing lists of:
src definition of the task (default option)src definition of the task that have been changed since the last iteration of the watch tasksrc definition of the task that have been deleted since the last iteration of the watch taskThe task execution would go something like this: