Skip to content

Instantly share code, notes, and snippets.

@hkurosawa
hkurosawa / gist:c25f987c144c66f40417
Last active February 9, 2017 00:28
Cocos2d-x 3.2 .gitignore
# osx - https://github.com/github/gitignore/blob/master/Global/OSX.gitignore
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
@hkurosawa
hkurosawa / gist:c306f3fb84833c2b1207
Last active August 29, 2015 14:08
How to run ShairPort on Raspbian
$ cat /etc/debian_version
7.6
$ sudo apt-get update
$ sudo apt-get upgrade
# install dependencies
$ sudo apt-get install libssl-dev libavahi-client-dev libasound2-dev
# clone source
@hkurosawa
hkurosawa / gist:3566e602348d1ff2e529a79679e6653c
Last active December 24, 2017 16:30
requirements-for-data-analytics.txt
jupyter==1.0.0
pandas==0.21.1
seaborn==0.8.1
lxml==4.1.1
html5lib==1.0.1
beautifulsoup4==4.6.0
requests==2.18.4
@hkurosawa
hkurosawa / util.gs
Last active October 31, 2020 07:54
Google App Scriptを使ってスプレッドシートに任意のkey-valueを保存する
/**
* 任意のシートにkey-valueを保存する
*/
class Variables{
constructor (sheet_name="variables") {
let app = SpreadsheetApp.getActiveSpreadsheet();
this.sheet = app.getSheetByName(sheet_name);
if (!this.sheet) {
//シートが存在しない場合は末尾に追加
app.insertSheet(sheet_name, app.getSheets().length);