This file contains 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
package bigquery | |
import ( | |
"log" | |
"reflect" | |
"io/ioutil" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/google" | |
"google.golang.org/api/bigquery/v2" | |
) |
This file contains 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
package bigquery | |
import ( | |
"log" | |
"reflect" | |
"io/ioutil" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/google" | |
"google.golang.org/api/bigquery/v2" | |
) |
This file contains 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
sudo gem install goodbye_chatwork -n /usr/local/bin/ | |
cd ~/Desktop/ | |
sudo goodbye_chatwork -i your_account@gmail.com -p password -x all |
This file contains 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
def AND(x1, x2): | |
w1, w2, theta = 0.5, 0.5, 0.7 | |
tmp = x1 * w1 + x2 * w2 | |
if tmp <= theta: | |
return 0; | |
elif tmp > theta: | |
return 1; | |
if __name__ == '__main__': |
This file contains 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
# 0時に実行 | |
00 00 * * * foo /path/command | |
# 0時15分に実行 | |
15 0 * * * foo /path/command | |
# 1時15分に実行 | |
15 1 * * * foo /path/command | |
# 土曜日と日曜日の0時1分 に fooユーザで実行 |
This file contains 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
## 平均値 | |
SELECT | |
AVG(x) | |
FROM | |
[projectName:dataSetName.tableName] | |
LIMIT | |
1000 | |
[ | |
426.842105263157 |
This file contains 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
granim.js | |
https://sarcadass.github.io/granim.js/examples.html | |
in-view.js | |
https://camwiegert.github.io/in-view/ |
This file contains 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
class CustomLabel: UILabel { | |
override func willMoveToSuperview(newSuperview: UIView?) { | |
print("willMoveToSuperview") | |
} | |
override func didMoveToSuperview() { | |
print("didMoveToSuperview") | |
} |
This file contains 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
protocol TouchCellDelegate { | |
func getNo(id: Int) -> Void | |
} |
This file contains 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
class ChatViewController: SLKTextViewController { | |
var messages:[Message] = [] | |
override class func tableViewStyleForCoder(decoder: NSCoder) -> UITableViewStyle { | |
return .Plain | |
} | |
override func viewDidLoad() { | |
super.viewDidLoad() |