Skip to content

Instantly share code, notes, and snippets.

View mactkg's full-sized avatar
💭
I may be slow to respond.

mactkg mactkg

💭
I may be slow to respond.
View GitHub Profile

G-F-M test

this is test and this is newline!!!!!

var Obj = function() {
this.func = function() {
something.f().then(this._a, this._b);
}
this._a = function() {
//something...(終わったらhoge実行)
}
this._b = function() {
<!DOCTYPE html>
<html lang="ja"
data-default-locale="en"
data-locale="ja"
data-user-logined="true"
data-user-signed-up="true"
data-user-is-ninja="false"
data-user-is-staff="false"
data-env="production"
source "https://rubygems.org"
require 'twitter'
require 'terminal-notifier'
@mactkg
mactkg / 0_reuse_code.js
Last active August 29, 2015 14:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
class Jack {
PGraphics g_local, g_global;
Jack() {
g_local = createGraphics(width, height);
}
void begin() {
g_local.beginDraw();
g_global = g;
class Jack {
PGraphics g_local, g_global;
Jack() {
g_local = createGraphics(width, height, P3D);
}
void begin() {
g_local.beginDraw();
g_global = g;
@mactkg
mactkg / .vimrc
Last active August 29, 2015 14:25 — forked from michaelfox/vimrc
Basic / Simple vimrc config file
set nocompatible
set encoding=utf-8
set hidden
filetype plugin indent on
syntax on
set synmaxcol=2048 " Don't syntax highlight super-long lines (for performance)
set autoindent " automatically indent lines and try to do it intelligently
set smartindent
set backspace=indent,eol,start " backspace behaves 'normally'