Skip to content

Instantly share code, notes, and snippets.

View takurx's full-sized avatar

Yoshihiro Nakagawa takurx

View GitHub Profile
@takurx
takurx / firefox-p.sh
Created February 21, 2015 09:56
MacでFirefoxでのアカウントの切り替え ref: http://qiita.com/takurx/items/319c35b7855ad8c31f6f
#select account on firefox
cd /Applications/Firefox.app/Contents/MacOS/
./firefox-bin -p &
@takurx
takurx / .bashrc
Last active August 29, 2015 14:15
MacでのGo言語のインストール ref: http://qiita.com/takurx/items/c6a5a294a89cdca29c30
# for Golang
export GOROOT=$HOME/go
export GOARCH=amd64
export GOOS=darwin
export GOBIN=$HOME/go/bin
export GOPATH=$HOME/_go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin:$GOBIN
@takurx
takurx / .gitignore
Created April 14, 2016 07:40 — forked from ganezasan/.gitignore
d3 Animation Image
.DS_Store
#include <SoftwareSerial.h>
// 2:RX,3:TXでシリアル通信する宣言
SoftwareSerial mySerial(2, 3);
long int Tido = 35431721;
long int Tkeido = 139317210;
String inputString = "";
String Data[16];
int latchPin = 3; // 74HC595のST_CPへ
int clockPin = 4; // 74HC595のSH_CPへ
int dataPin = 2; // 74HC595のDSへ
unsigned int val;
unsigned int j;
unsigned int k;
void setup() {
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
@takurx
takurx / search.py
Created December 31, 2017 06:41
file open, find string and print(standard output)
#!/usr/bin/python
f = open('./Bookmarks.txt')
line = f.readline()
while line:
# print(line)
if line.find('url":') > 0:
print(line)
@takurx
takurx / copy_sheet2sheet.vba
Created April 13, 2018 00:37
copy to sheet2 from sheet1
Sub copy_sheet2sheet()
'
' copy_sheet2sheet Macro
' copy to sheet2 from sheet1
'
Application.Goto Reference:="copy_sheet2sheet"
Dim i As Integer
Dim j As Integer
Dim col_start As Integer
@takurx
takurx / index.html
Created May 6, 2018 11:51
tweetボタンを画像表示にするのにscriptタグの行が必要だった
<html>
<title>Hello, tomorinao</title>
<body>
<p>Tomorinao works!</p>
<p>
<a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=Hello,%20tomorinao">Tweet</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</p>
<body>
</html>
@takurx
takurx / hello, random number
Created May 14, 2018 04:36
hello, random number
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php
$a = 2;
echo '<p>Hello World utf-8</p>';
echo '<p>';
echo $a;
"C:\My Documents\Ranorex\RanorexStudio Projects\testproject\testproject\bin\Debug\testproject.exe" /reportfile:"C:\RanorexReports\%%H\%%S_%%Y-%%M-%%D_%%T.rxlog"