Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
loading...

Tom van Neerijnen tommyvn

💭
loading...
View GitHub Profile
@tommyvn
tommyvn / app.js
Last active Feb 19, 2021
mve slack's bolt to test with localhost.run
View app.js
const { App, LogLevel, ExpressReceiver } = require('@slack/bolt');
// this app is by default listening for events/commands/messages/etc on the /slack/events path
const app = new App({
token: process.env.SLACK_BOT_TOKEN,
logLevel: LogLevel.DEBUG,
signingSecret: process.env.SLACK_SIGNING_SECRET,
});
/* Add functionality here */
@tommyvn
tommyvn / cmd.sh
Last active Mar 12, 2019
pandoc variable tex
View cmd.sh
pandoc --template test.tex --variable NAME=tom --variable checkedvar -o test.pdf /dev/null
@tommyvn
tommyvn / XD84____.kbd.json
Last active Feb 9, 2018 — forked from xiudi/XD84____.kbd.json
XD84默认配列
View XD84____.kbd.json
[
{
"name": "XD84默认配列",
"author": "xiudi"
},
[
{
"c": "#0075ad"
},
"Esc\n\n\n\nsleep",
View testing
#!/usr/bin/python