Skip to content

Instantly share code, notes, and snippets.

View sainu's full-sized avatar
😄
Let's make it!

sainu sainu

😄
Let's make it!
View GitHub Profile
@sainu
sainu / pydelicious.py
Created March 12, 2016 17:50 — forked from takashi/pydelicious.py
pydelicious for python3
"""Library to access del.icio.us data via Python.
:examples:
Using the API class directly:
>>> a = pydelicious.apiNew('user', 'passwd')
>>> # or:
>>> a = DeliciousAPI('user', 'passwd')
>>> a.tags_get() # Same as:
@sainu
sainu / pydelicious.py
Created March 14, 2016 07:07
pydelicious library for python3
"""Library to access del.icio.us data via Python.
:examples:
Using the API class directly:
>>> a = pydelicious.apiNew('user', 'passwd')
>>> # or:
>>> a = DeliciousAPI('user', 'passwd')
>>> a.tags_get() # Same as:
@sainu
sainu / index.md
Last active April 28, 2016 18:22
documentation of my vimrc

ブランチを作成する

git branch branch_name

ブランチを作成して、チェックアウトもする

git checkout -b branch_name
@sainu
sainu / NERDTree.md
Last active May 10, 2016 12:11
vimのドキュメント

NERDTree

ファイル操作系

コマンド 説明
o(enter) ファイルを開く
go ファイルを開き、カーソルがツリーに保持する
t タブで開く
T タブで開き、移動はしない
i 水平分割して開く
// 全コアファイルのインポート用SCSSファイル
@import "core/setting";
@import "core/utility";
@import "core/utility-css3";
@import "core/style-mixin-reset";
@import "core/style-mixin-base";
@import "core/style-mixin-layout";
@import "core/style-mixin-module";
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Use Ubuntu 14.04 Trusty Tahr 64-bit as our operating system
config.vm.box = "ubuntu/trusty64"
# Configurate the virtual machine to use 2GB of RAM
site "http://community.opscode.com/api/v1"
cookbook 'apt'
cookbook 'build-essential'
cookbook 'mysql', '5.5.3'
cookbook 'ruby_build'
cookbook 'nodejs'
cookbook 'rbenv', git: 'https://github.com/aminin/chef-rbenv'
cookbook 'vim'
var column = {'id':0,'posted_count':1,'ja':2,'en':3};
function slack(message) {
var url = 'https://slack.com/api/chat.postMessage';
var token = 'FILL ME IN';
var channel = 'FILL ME IN';
var text = message;
var username = 'FILL ME IN';
var parse = 'full';
var icon_emoji = ':sunny:';
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at