Skip to content

Instantly share code, notes, and snippets.

View Hoto-Cocoa's full-sized avatar
🚙
Driving

Cocoa Hoto Hoto-Cocoa

🚙
Driving
View GitHub Profile
var lastId = '0000000000'
var emojis = []
loop {
let res = Mk:api('admin/emoji/list', {
limit: 100,
sinceId: lastId,
})
if (res.len == 0) break

Keybase proof

I hereby claim:

  • I am hoto-cocoa on github.
  • I am cocoa (https://keybase.io/cocoa) on keybase.
  • I have a public key ASCWEShua36cUxcdkHu3qPdfuklh1Zums8i7KuGS5ppDJgo

To claim this, I am signing this object:

302702010004067075626c6963a11a020101020100020100300f300d06092b06010401950b01020500 (Client)
303002010004067075626c6963a22302010102010002010030183016060d2b06010401950b0102010101000405656e2d5553 (Server)
302b02010004067075626c6963a01e02010202010002010030133011060d2b06010401950b0102010102000500 (Client)
302c02010004067075626c6963a21f02010202010002010030143012060d2b06010401950b010201010200420101 (Server)
302d02010004067075626c6963a02002010302010002010030153013060f2b06010401950b01020102010102010500 (Client)

Keybase proof

I hereby claim:

  • I am hoto-cocoa on github.
  • I am hotous (https://keybase.io/hotous) on keybase.
  • I have a public key whose fingerprint is AC6A 0034 DFB1 1A6A 8379 C8F2 5DF6 88AD 2ED8 40EF

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am akaza-akari on github.
  • I am hotous (https://keybase.io/hotous) on keybase.
  • I have a public key whose fingerprint is AC6A 0034 DFB1 1A6A 8379 C8F2 5DF6 88AD 2ED8 40EF

To claim this, I am signing this object:

@Hoto-Cocoa
Hoto-Cocoa / node.service
Last active February 23, 2017 21:22 — forked from perillamint/node.service
/etc/systemd/system/node.service
[Unit]
Description=Node Application
After=network.target
[Service]
WorkingDirectory=/root/path/
ExecStart=/usr/bin/node /root/path/index.js >> /root/path/runtime.log
Restart=always
StandardOutput=syslog
StandardError=syslog