Skip to content

Instantly share code, notes, and snippets.

View you21979's full-sized avatar
💭
I may be slow to respond.

Yuki Akiyama you21979

💭
I may be slow to respond.
View GitHub Profile
@you21979
you21979 / amd-opencl-install-centos6.md
Last active January 1, 2016 23:59
CENTOS6.5にAMD用のopencl入れたメモ 自動化できそうもないのでメモにして残す。自動化の方法あったら教えて。

AMD OpenCL install note for CentOS6.5

環境

  • グラボ

      玄人志向 グラフィックボード AMD R9 270X 2GB PCI-Express RD-R9-270X-E2GB
    
@you21979
you21979 / 0.md
Last active January 3, 2016 15:19
monacoind を centos6.xで動かすメモ
@you21979
you21979 / python26_gzipstream.py
Created January 21, 2014 07:07
python2.6でgzipのbuffer扱えないのでしょうがないからこんな感じでつかうらしい
from gzip import GzipFile
from StringIO import StringIO
class GZOStream:
def __init__(self):
self.sio = StringIO()
self.gzf = GzipFile(fileobj=self.sio, mode='wb')
def write(self,data):
self.gzf.write(data)
@you21979
you21979 / wine.txt
Last active August 29, 2015 13:56
wineで普通に動いたソフト
MetaTrader4,5
LimeChat
foobar2000
putty
softether vpn server management
洞窟物語
@you21979
you21979 / ssh.md
Created February 21, 2014 08:59
ssh 鍵

ssh

ssh -i ~/.ssh/keyfile

ansible

ansible-playbook --private-key ~/.ssh/keyfile
FROM centos:6.4
MAINTAINER you21979 "[email protected]"
RUN echo 'root:hogehoge' | /usr/sbin/chpasswd
RUN yum install openssh openssh-clients openssh-server vim -y
RUN mkdir -p /var/run/sshd ; chmod -rx /var/run/sshd
RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
@you21979
you21979 / install.md
Last active August 29, 2015 14:00
mk802iv(wifi rtl8188etv) picuntu

MK802IVにPicuntuを入れる

※windowsで作業してます

公式からwindows用ドライバをダウンロードしてインストール

mk802ivは同じ型番でもハードの構成が違うので型番で見分ける

  • S/N from 201305* (wifi:rtl8188etv)
  • S/N from 201307* (wifi:AP6210)
@you21979
you21979 / a
Created April 28, 2014 11:13
スクレイピング練習
http://tips.hecomi.com/entry/20130108/1357653054
npm search phantomjs
npm install phantom cheerio
@you21979
you21979 / gist:cc1ddbb7a0261d8deac5
Last active August 29, 2015 14:01
boost install for static link
wget http://downloads.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.gz?r=&ts=1399443444&use_mirror=jaist
tar zxvf boost_1_55_0.tar.gz
cd boost_1_55_0
./bootstrap.sh
./b2 install -j1 link=static address-model=64 install