Skip to content

Instantly share code, notes, and snippets.

View mapi's full-sized avatar
🈚
🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚

mapi mapi

🈚
🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚🈚
View GitHub Profile
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
[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/*
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAt5jlEjzaXjo0U48PxpSyxaPyte4BIzdS2ulBa6uokhyzMUhnV9lvgiEArlUYR0xX+6L1TOnZn/2JepXJF5Qj4CzQNxBE/tucG996G9qZkweDkXhcvfM1voqNCJ6wYP4l2UpqBpOmZY5voOaNXSwkLih1yPyd/kXKZnXQZWRSCCiVZdXw9ew8ckA9Zd9HDGO4pyCQ+IIdfTVgXtu6grIQB+4tul4o3pMsbXPdv7oW7ydzxq1oTYgnlrTCmx2+3CNCqRzT1Wdtd2R7Tn7X/nCOlUkc9cFGZ88pkNfxvnyAr1xZEpzq2a46W9WDyhwCKgWO2EFzCDHjlvy7Iq5Sumqg3w==
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
#!/bin/sh
f0=$(cd $(dirname ${0});pwd)
. ${f0}/lib/function.sh
@mapi
mapi / gist:1009712
Created June 6, 2011 03:49
unbound for runit
#!/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
:
# 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
#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`"
@mapi
mapi / gist:1090344
Created July 18, 2011 19:02
minecraft
こうあったときに
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
こうやるのが効率的?
■□■■□■■□■■□■■■■■■■■■■
if [ -e /dev/vboxguest ] ; then
xset -r 49
fi