Skip to content

Instantly share code, notes, and snippets.

Avatar
🈚
🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚

mapi mapi

🈚
🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚
View GitHub Profile
View SC2 Terran MMM
9 Supply Depot→そのままSCV偵察に出す
12 Barracks
13 gas
15 Marine
16 Orbital Comand
16 BarracksにTech Lab付ける→Marauder出す
16 Supply
Barracks
Factory→Reactor
StarPort→Factoryとswap→Medivac*2
View OptimizeGoogle BlockDomain
[OptimizeGoogle]
http://itpro.nikkeibp.co.jp/word/*
http://*.ceron.jp/*
http://ceron.jp/*
http://tweetbuzz.jp/*
/http:\/\/(\w+\.)*buzzurl\.jp//i
http://wadaino.jp/*
http://eimg.jp/*
http://*.eimg.jp/*
http://d.hatena.ne.jp/keyword/*
View gist:878137
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAt5jlEjzaXjo0U48PxpSyxaPyte4BIzdS2ulBa6uokhyzMUhnV9lvgiEArlUYR0xX+6L1TOnZn/2JepXJF5Qj4CzQNxBE/tucG996G9qZkweDkXhcvfM1voqNCJ6wYP4l2UpqBpOmZY5voOaNXSwkLih1yPyd/kXKZnXQZWRSCCiVZdXw9ew8ckA9Zd9HDGO4pyCQ+IIdfTVgXtu6grIQB+4tul4o3pMsbXPdv7oW7ydzxq1oTYgnlrTCmx2+3CNCqRzT1Wdtd2R7Tn7X/nCOlUkc9cFGZ88pkNfxvnyAr1xZEpzq2a46W9WDyhwCKgWO2EFzCDHjlvy7Iq5Sumqg3w==
View gist:981249
rtmpdump -q -v -r "rtmp://ustream.fc.llnwd.net:1935/ustream/test/ustream@llnw_1_7686386_live_1" -W http://cdn1.ustream.tv/swf/4/viewer.296.swf -o darui.flv
View gist:988571
#!/bin/sh
f0=$(cd $(dirname ${0});pwd)
. ${f0}/lib/function.sh
@mapi
mapi / gist:1009712
Created Jun 6, 2011
unbound for runit
View gist:1009712
#!/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin
EXEC="/package/admin/unbound/sbin/unbound"
rootdir="/package/admin/unbound/etc/unbound"
#setup jail
if [ -s /etc/localtime ]; then
[ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
if [ ! -e ${rootdir}/etc/localtime ] && /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; then
:
View gist:1009720
# setup root jail
if [ -s /etc/localtime ]; then
[ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; then
cp -fp /etc/localtime ${rootdir}/etc/localtime
fi;
fi;
if [ -s /etc/resolv.conf ]; then
[ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ;
if [ ! -e ${rootdir}/etc/resolv.conf ] || /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv.conf; then
View gist:1073843
#screenでssh-agentを使いまわす
function ssh-init {
local SSH_AUTH_SOCK_DIR="$HOME/.tmp/ssh-agent"
#ここは初めてか?
if [ ! -d ${SSH_AUTH_SOCK_DIR} ]; then
mkdir -p ${SSH_AUTH_SOCK_DIR}
chmod 700 ${SSH_AUTH_SOCK_DIR}
fi
#ソケット作る
AGENT="${SSH_AUTH_SOCK_DIR}/`hostname`"
View gist:1090344
こうあったときに
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
こうやるのが効率的?
■□■■□■■□■■□■■■■■■■■■■
View gist:1681331
if [ -e /dev/vboxguest ] ; then
xset -r 49
fi
You can’t perform that action at this time.