Skip to content

Instantly share code, notes, and snippets.

View makotot's full-sized avatar
👓

Makoto Tateno makotot

👓
View GitHub Profile
@makotot
makotot / jquery.html
Created November 3, 2013 09:44
jquery
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
@makotot
makotot / git_upstream.md
Created September 28, 2013 10:51
git upstream

fork元の更新を取り込むための手順

$ git checkout master
$ git pull upstream master
$ git push origin master
$ git checkout branch
$ git rebase origin master
@makotot
makotot / incremental_search.js
Last active June 12, 2017 16:51
incremental search
/**
* Incremental Search
*/
var IncrementalSearch = function (targetInput, targetTable) {
this.targetInput = targetInput;
this.targetTable = targetTable;
this.query = '';
this.dataList = [];
this.filterList = [];
@makotot
makotot / Gemfile
Last active December 22, 2015 01:39
heroku sinatra development
source "https://rubygems.org"
gem "sinatra"
gem "sinatra-contrib"
gem "haml"
gem 'haml-coderay'
@makotot
makotot / jquery_cdn.html
Created August 9, 2013 08:43
jquery CDN
<script src="//ajax.googleapis.com/ajax/libs/jquery/{version}/jquery.min.js"></script>
@makotot
makotot / Gruntfile.js
Last active December 19, 2015 13:49
grunt-contrib-watchでlivereload
module.exports = function (grunt) {
'use strict';
// grunt-contrib-watchのlivereloadオプションでlivereload
grunt.initConfig({
watch: {
html: {
files: '**/*.html',
tasks: [],
@makotot
makotot / automaton.md
Last active December 11, 2015 13:18
Automaton Task automation tool built in JavaScript. AutomationのREADME

JavaScriptでつくられたタスク自動化ツール。

Why?

繰り返しの作業に直面することは度々あるが、その為だけのスクリプトをつくることが一般的である。だけれども、プロジェクト毎に以前作ったものを再利用する必要性を感じると思う。

Automatonは、順序づけられたタスクのリストを用いて、やりたいことを記述するautofileを設定することで、この作業を容易にする。

@makotot
makotot / createing_plugins.md
Created January 21, 2013 13:33
Creating plugins · gruntjs/grunt Wiki

Creating plugins

  1. npm install -g grunt-initでgrunt-initをインストール。
  2. 空のディレクトリでgrunt-init gruntpluginを実行する。
  3. 開発環境用意のためnpm installを実行する。
  4. プラグインを作成する
  5. npmに公開するためにnpm publishを実行する。