I hereby claim:
- I am AaronCQL on github.
- I am aaroncql (https://keybase.io/aaroncql) on keybase.
- I have a public key whose fingerprint is 224C 75DE 46B1 2CFF 05CC 6B26 0B52 17AC AE18 F4C9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# clean the cache
$ sudo npm cache clean -f
# install `n` package if not yet installed
$ sudo npm install -g n
# download and use latest stable version
$ sudo n stable
# download and use an arbitrary version| # Login to Sunfire | |
| ssh [email protected] | |
| # Copy a local file to Sunfire | |
| scp some_file.txt [email protected]:/home/e/e0123456/ | |
| # Copy a local directory to Sunfire | |
| scp -r ./some_directory [email protected]:/home/e/e0123456/ | |
| # Convert PDF to PS file |
| const Telegraf = require('telegraf'); | |
| const functions = require('firebase-functions'); | |
| const bot = new Telegraf(functions.config().telegrambot.key); | |
| bot.hears('hi', (ctx) => ctx.reply('Hey there')); | |
| bot.launch(); | |
| exports.bot = functions.https.onRequest((req, res) => { | |
| bot.handleUpdate(req.body, res); |