I hereby claim:
- I am elct9620 on github.
- I am elct9620 (https://keybase.io/elct9620) on keybase.
- I have a public key whose fingerprint is 3226 80C8 03B2 577C F337 17D9 FEE6 45EC 5472 E299
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
user = User.create() | |
user.logs << Log.new | |
user.send_logs << Log.new # join table "action" column will assign "send" as default | |
user.receive_logs << Log.new # join table "action" column will assign "receive" as default |
### | |
# Ruby Block | |
### | |
@buffer = "" | |
def test(description, &block) | |
if block_given? | |
puts "##{description}" | |
yield |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
<?php | |
class Nyan_Template | |
{ | |
public $mode = null; | |
public function __construct($mode) | |
{ | |
$this->mode = $mode; | |
} |
<?php | |
namespace Aotoki; | |
class YoutubeShortcode { | |
static private $_instance; | |
private function __construct() | |
{ |
# --------------------------------------------------------------- | |
# Aotoki Theme for oh-my-zsh theme by Aotoki ([email protected]) | |
# Home Page : http://frost.tw/ | |
# -------------------------------------------------------------- | |
# LS Color | |
LSCOLORS=xxbxcxxxxxdxBxxxxxCxExBhCh | |
#Color Shortcuts | |
R=$fg[red] |
{ | |
"name": "slim/slim-skeleton", | |
"description": "A Slim Framework skeleton application for rapid development", | |
"keywords": ["microframework","rest","router"], | |
"homepage": "http://github.com/codeguy/Slim-Skeleton", | |
"license": "MIT", | |
"authors": [ | |
{ | |
"name": "Josh Lockhart", | |
"email": "[email protected]", |
import flash.ui.Multitouch; | |
import flash.ui.MultitouchInputMode; | |
import flash.events.TouchEvent; | |
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; //設定觸控模式 | |
Object(root).movie.stop(); //停止 movie 影片片段播放 | |
Object(root).movie.addEventListener(TouchEvent.TOUCH_TAP, myPlay); //新增觸控事件偵測(點擊 Tap) | |
var playMode:Boolean = false; //播放模式,預設 stop ( FALSE 為 stop ) |