Skip to content

Instantly share code, notes, and snippets.

/* スコープを与える */
var SlackDelFileApp = {}
/* SLACKのTOKENを読み込み */
SlackDelFileApp.SLACK_ACCESS_TOKEN = PropertiesService.getScriptProperties().getProperty('SLACK_ACCESS_TOKEN');// slackで発行したTOKENをGASの環境変数に設定
/* soundTricker/SlackApp を使うよりurlからAPI叩いたほうが早いらしいので */
SlackDelFileApp.execute = function(method, params){
if (params === undefined ) params = {'token' : SlackDelFileApp.SLACK_ACCESS_TOKEN};
var options = {
@sorashido
sorashido / Makefile
Last active October 6, 2018 17:23
pytorch-dockerfile
help:
@cat Makefile
NAME="pytorch"
SRC?="$(shell pwd)/:/app" #src directory
DOCKER=GPU=$(GPU) nvidia-docker
bash:
$(DOCKER) run -it -v $(SRC) --name $(NAME) -p 8080:8080 anibali/pytorch:cuda-9.0 bash
@sorashido
sorashido / editor.css
Last active November 9, 2018 02:31
quiver theme
/*
Edit this CSS file to change styles of the editor.
If you need to revert it back, use the "Reset" button.
*/
/**
* Text Cell
*/
.text-cell {