This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 必要ライブラリ導入 | |
pip3 install --upgrade pip | |
pip3 install numpy | |
pip3 install scipy | |
pip3 install scikit-image | |
pip3 install matplotlib | |
pip3 install theano | |
pip3 install lasagne | |
* neural_doodle導入 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TensorFlowの学習メモ | |
- TensorFlowをMac & Dockerで使ってみたよ | |
http://qiita.com/yanosen_jp/items/41938cc361c9e7c83acc#_reference-d6603d87a29be94ac9f4 | |
- Setting up TensorFlow (Mac) | |
http://www.raydaq.com/getting-started-with-tensorflow-mac/ | |
Docker is the easiest method to setup TensorFlow on a mac. | |
- TensorFlowで Hello Worldを動かしてみた&その解説 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
cd `dirname $0` | |
for fname in *.png; do | |
height=`identify -format '%h' ${fname}` | |
width=`identify -format '%w' ${fname}` | |
basename=`basename ${fname} .png` | |
if [ ${height} -ge ${width} ]; then | |
convert -resize x900 ${fname} ${basename}_resized.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO | |
# コピ本用リサイズスクリプト | |
# B5で原寸書き出しされたjpegファイル群をセブンイレブンの一括印刷用に1枚6MB程度になるよう一括リサイズする | |
# セブンイレブンの一括印刷は16枚までなのでリサイズ時にその旨警告するといいかも |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net stop TabletServiceWacom | |
net start TabletServiceWacom | |
net stop WTabletServicePro | |
net start WTabletServicePro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" local syntax file - set colors on a per-machine basis: | |
" vim: tw=0 ts=4 sw=4 | |
" Vim color file | |
" Maintainer: Ron Aaron <[email protected]> | |
" Last Change: 2003 May 02 | |
hi clear | |
set background=dark | |
if exists("syntax_on") | |
syntax reset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /d %~dp0 | |
call vagrant up | |
REM 参考資料 | |
REM http://qiita.com/goldbook@github/items/6445b4fa6bf5704a28bb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'guard' | |
guard 'shell' do | |
watch(/(.*).java/){|m| `echo; javac #{m[0]}; java #{m[1]}; echo; echo;`} | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'auto_click' | |
### parameter | |
line_length = 90 # カケアミ一本あたりの長さ | |
interval_x = 5 # カケアミ間の幅(x軸) | |
interval_y = 3 # カケアミ間の幅(y軸) | |
times_x = 125 # x軸方向に何本線を引くか | |
times_y = 5 # y軸方向に何本線を引くか | |
start_point_x = 50 # 始点(x軸) | |
start_point_y = 300 # 始点(y軸) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
require 'Win32API' | |
get_cursor_pos = Win32API.new("user32", "GetCursorPos", ['p'], 'v') | |
$set_cursor_pos = Win32API.new("user32", "SetCursorPos", ['i']*2, 'v') | |
input_point = " " * 8 | |
get_cursor_pos.Call(input_point) | |
x, y = input_point.unpack("LL") | |
puts "grid: #{x}, #{y}" |