Skip to content

Instantly share code, notes, and snippets.

@hashedhyphen
hashedhyphen / file0.txt
Last active October 11, 2015 17:57
Windows7 で Rails Tutorial (3rd ed.) の環境構築 ref: http://qiita.com/hashedhyphen/items/daef1fe67f261ce06671
mkdir C:\workspace
cd C:\workspace
rails _4.2.2_ new hello_app
cd hello_app
{
"draw_white_space": "all",
"font_size": 11,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"ensure_newline_at_eof_on_save": true
}
module.exports = {
parserOptions: {
ecmaVersion: 7,
sourceType: 'module',
ecmaFeatures: {
globalReturn: true,
impliedStrict: true,
jsx: true
}
},
@echo off
cd %CD%
for /f "usebackq" %%s in (`git remote get-url --push origin`) do (
"%BROWSER%" %%s
)
echo.
class CustomBuffer {
constructor(...args) {
const symBuf = Symbol("Buffer");
this[symBuf] = Buffer.alloc(...args);
return new Proxy(this, {
get(target, prop) {
return (prop in target)
? target[prop]
"use strict";
enchant();
var blockCords = [];
// blockCords -> [colorID][direction][position][x or y]
blockCords[0] = [
[[ 0, 0], [ 0, 1], [ 0, 2], [ 0, 3]],
[[ 0, -1], [ 1, -1], [ 2, -1], [ 3, -1]],
"use strict";
enchant();
var Board = Class.create(Group, {
initialize: function() {
var core = Core.instance;
Group.call(this);
" Vundle.vim
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'bronson/vim-trailing-whitespace'
Plugin 'Yggdroot/indentLine'
Plugin 'itchyny/lightline.vim'

Keybase proof

I hereby claim:

  • I am hashedhyphen on github.
  • I am hashedhyphen (https://keybase.io/hashedhyphen) on keybase.
  • I have a public key ASCaH-f_C2iduBUd8N1ZWV5RozEtxiGWGievvK9dTqI13Qo

To claim this, I am signing this object:

(['最終出社'] * 140).map(&:chars).map(&:sample).join