Skip to content

Instantly share code, notes, and snippets.

@kudotty
kudotty / hexo-mac.error
Last active July 23, 2016 15:41
Error message: Hexo on Mac
{ [Error: Cannot find module './build/Release/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Release/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/default/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
{ [Error: Cannot find module './build/Debug/DTraceProviderBindings'] code: 'MODULE_NOT_FOUND' }
# curl --remote-name https://gist.githubusercontent.com/kudotty/3405d36709fede91ba8fec0adfd50c04/raw/.editorconfig
# [Atom] Disable Whitespace core package
# https://github.com/sindresorhus/atom-editorconfig/issues/3
root = true
[*]
charset = utf-8
end_of_line = lf
@kudotty
kudotty / quix.txt
Last active May 15, 2016 07:51
quix.txt for Japanese https://www.quixapp.com/
> This is a Quix Command File
>
> For the syntax of this file, please refer to https://www.quixapp.com/syntax/
>
@Basic commands
@These are the most basic commands Quix offers, but possibly also the most powerful ones.
a http://www.amazon.co.jp/s/?field-keywords=%s Amazon Search
d http://www.google.co.jp/search?q=define:%s Google Define a word
dict http://www.google.co.jp/dictionary?langpair=en%7Cen&q=%s&hl=en&aq=f Google Dictionary for a word
@kudotty
kudotty / cVimrc
Created May 3, 2016 05:52 — forked from rcmdnk/cVimrc
settings for cVim
"Settings
let scrolltep = 30
let fullpagescrollpercent = 100
"set nohud
set autohidecursor
"set noinsertmappings
set nosmoothscroll
let blacklists = ["https://mail.google.com/*"]
let mapleader = ","
"let locale = "jp"
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from libs.pprint import pprint
from libs.base_handler import *
import json
class Handler(BaseHandler):
'''
this is a sample handler
@kudotty
kudotty / config.fish
Created June 3, 2014 03:26
docker runコマンドラインいろいろ (シェルはfish) ref: http://qiita.com/kudotty/items/ce4ea5c2c5842c3f1c69
alias dl "docker ps -l -q"
alias dlip "docker inspect (dl) | grep IPAddress | cut -d '\"' -f 4"
@kudotty
kudotty / file0.txt
Created June 2, 2014 17:34
Ubuntu Server 14.04(Trusty)構築時に微妙にハマりやすいポイント/Tips ref: http://qiita.com/kudotty/items/264d255fdffffe9abc64
PermitRootLogin without-password
@kudotty
kudotty / クラスタ名.conf(デフォルトはceph.conf)
Created June 2, 2014 16:03
Ceph(分散ストレージ)でわかったこと/ハマったこと/疑問なこと ref: http://qiita.com/kudotty/items/65d57227776c3d5fc2c3
[osd.1]
host = foo
public addr = 192.168.1.3
# vcs_info 設定
RPROMPT=""
autoload -Uz vcs_info
autoload -Uz add-zsh-hook
autoload -Uz is-at-least
autoload -Uz colors
# 以下の3つのメッセージをエクスポートする