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 / NERDTree.md
Last active May 10, 2016 12:11
vimのドキュメント

NERDTree

ファイル操作系

コマンド 説明
o(enter) ファイルを開く
go ファイルを開き、カーソルがツリーに保持する
t タブで開く
T タブで開き、移動はしない
i 水平分割して開く
@sainu
sainu / index.md
Last active April 28, 2016 18:22
documentation of my vimrc

ブランチを作成する

git branch branch_name

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

git checkout -b branch_name
// 全コアファイルのインポート用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";
/*!
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* http://cssreset.com
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
@sainu
sainu / Rubymine.md
Last active May 31, 2022 09:44
rubymineについて役立つ情報をまとめる

おすすめplugin

  • ideavim
  • emmet
    • https://gyazo.com/d0e0fd95684be24afe0785dc178a2bb5
    • tab でhtmlを展開
    • 使い方
    • preferences > editor > emmet > html > Enable abbreviation previewにチェックするとtabする前にhtmlをプレビューしてくれる
    • https://i.gyazo.com/e5024b9ecd9184c12d425dfe76d03f38.png
  • LiveEdit
# -*- 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'