| 日時: | 2017-01-02 |
|---|---|
| 作: | @voluntas |
| バージョン: | 2.1.0 |
| URL: | https://voluntas.githu.io/ |
突っ込みは Twitter @voluntas まで。
| 日時: | 2017-01-02 |
|---|---|
| 作: | @voluntas |
| バージョン: | 2.1.0 |
| URL: | https://voluntas.githu.io/ |
突っ込みは Twitter @voluntas まで。
| // turns google.script.run into an object with a promise api | |
| function scriptRunPromise() | |
| var gs = {}; | |
| var ks = Object.keys(google.script.run); | |
| for (var i=0; i < ks.length; i++) { | |
| gs[ks[i]] = (function(k) { | |
| return function() { | |
| var args = arguments; | |
| return Promise(function(resolve, reject) { | |
| google.script.run |
| #!/bin/sh | |
| version="2.6.3" | |
| priority="20603" | |
| sudo mkdir -p /var/redis /var/log/redis | |
| curl -sL http://redis.googlecode.com/files/redis-${version}.tar.gz | tar zx | |
| cd redis-${version}/ | |
| make | |
| sudo make PREFIX=/usr/local/redis/${version} install |