Skip to content

Instantly share code, notes, and snippets.

#microsoft familysafety exclusion .amazon.jp/ .fast-uploader.com/ .fc2.com/ .images-amazon.com/ .nicovideo.jp/ .nimg.jp/ .twitter.com/

@mongrelP
mongrelP / 0_reuse_code.js
Created March 21, 2014 03:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@mongrelP
mongrelP / bals.rb
Created December 9, 2011 09:54
バルス!
# -*- coding: utf-8 -*-
# say "バルス"
#「3分間待ってやる」の時に実行してバルスすると64秒後にバルス。
# Licence:CC0
Earthquake.init do
command :bals do
sleep(64)
:update
end
end
@mongrelP
mongrelP / apt-cyg
Created December 2, 2011 10:58
apt-cyg(mod)
#!/bin/bash
#this is forked version of apt-cyg
#Original apt-cyg is made by Stephen Jungels, Copyright (C) 2005-9
#http://code.google.com/p/apt-cyg/
# apt-cyg: install tool for cygwin similar to debian apt-get
#
# Copyright (C) 2005-9, Stephen Jungels
#
# This program is free software; you can redistribute it and/or
@mongrelP
mongrelP / Vundle_and_NeoBundle.vim_ja.md
Created November 21, 2011 03:06
VundleとNeoBundle.vimの併用

About

Vundle と NeoBundle.vim の併用

Quick start

Vundleが~/.vim/bundle/vundleに導入してあるとする。
導入していない場合はVundleのインストール方法に従うこと。
別の場所にある場合は適宜読み替える。

@mongrelP
mongrelP / neobundle_installer.sh
Created November 20, 2011 21:20
neobundle_installer
#!/bin/bash
#### NeoBundle Installer ####
####################################################################
#### Licence : CC0 http://creativecommons.org/publicdomain/zero/1.0/
#### or NYSL http://www.kmonos.net/nysl/NYSL.TXT
####################################################################
### need git and bash , you have to install
mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
mv ~/.vimrc ~/.vimrc.old
@mongrelP
mongrelP / neobundle.md
Created November 15, 2011 11:39
neobundle

About

NeoBundle is Vim plugin manager.

Quick start

  1. Setup NeoBundle:

@mongrelP
mongrelP / gentwoo.error
Created October 30, 2011 00:28
gentwoo error log
Traceback (most recent call last):
File "/usr/local/bin/gentwoo.py", line 144, in <module>
(result, info) = query.send()
File "/usr/local/bin/gentwoo.py", line 66, in send
"Accept": "application/json"}))
File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 513, in http_response
@mongrelP
mongrelP / gentoo-package
Created October 17, 2011 01:31
emerge!
app-portage/eix
app-portage/gentoolkit
sys-kernel/module-rebuild
@mongrelP
mongrelP / crontab
Created October 6, 2011 09:48
crontab-hamachi
0 * * * * /etc/init.d/hamachi start
15 * * * * /etc/init.d/hamachi start
30 * * * * /etc/init.d/hamachi start
45 * * * * /etc/init.d/hamachi start