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
#! /usr/local/bin/ruby | |
# === parameters ================================ | |
USER_NAME = 'XXXXX' # Gtihubのユーザ名 | |
MAIL_ADDR_FROM = 'XXXXX@XXXXX' # 通知メールのfrom | |
MAIL_ADDR_TO = 'XXXXX@XXXXX' # 通知メールのto | |
# === requires ================================== | |
require 'nokogiri' | |
require 'open-uri' |
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
setlocal enabledelayedexpansion | |
for %%f in (*.png) do ( | |
REM 画像の縦幅を取得 | |
for /f "usebackq tokens=*" %%i in (`identify -format '%%h' %%f`) do @set HEIGHT=%%i | |
REM 画像の横幅を取得 | |
for /f "usebackq tokens=*" %%i in (`identify -format '%%w' %%f`) do @set WIDTH=%%i | |
if !HEIGHT! GEQ !WIDTH! ( |
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
#! /usr/local/bin/ruby | |
#coding: utf-8 | |
### requires ################################################## | |
require 'twitter' | |
require 'uri' | |
require 'open-uri' | |
require 'nokogiri' | |
require 'mail' | |
############################################################### |
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
\documentclass{jsarticle} | |
\usepackage{amsmath} | |
\usepackage{amsfonts} | |
\begin{document} | |
$\forall x \in \mathbb{R} \big( P(x) \big)$ | |
$\text{card}(\mathbb{Z}) = \text{card}(\mathbb{Q})$ | |
\end{document} |
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
- CLIPSTUDIO PAINTとの連携 | |
- fbx, objで保存してCLIPSTUDIO PAINTにdropすればok | |
- ショートカット | |
- tab: オブジェクトモードとエディットモードの切替え | |
- /: LocalMode | |
- h(alt+h): Hide(unHide) | |
- z: WireFlame <-> Solid | |
- テンキー(alphabet部では不可) |
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
- 基本操作 | |
- Windowのキーボード移動: Alt+Space > M | |
- プレビューの表示 | |
- http://hipopocroco.hatenablog.com/entry/2014/05/27/234647 | |
- ComponentTreeも同様にこの「Design」表示時に現れる | |
- ショートカット | |
http://qiita.com/sugoi_wada/items/db449d5cbb5c83cb586c | |
- コメントアウト: Ctrl + / | |
- 定義に移動: Ctrl + b |
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
- goemonを使ってみようとする | |
- 参考 | |
- Installing Go from source https://golang.org/doc/install/source | |
$ cd ~ | |
$ git clone https://go.googlesource.com/go | |
$ cd go | |
$ git checkout -b go1.4.1 | |
$ cd go/src | |
$ ./all.bash |
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}" |
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
require 'guard' | |
guard 'shell' do | |
watch(/(.*).java/){|m| `echo; javac #{m[0]}; java #{m[1]}; echo; echo;`} | |
end |