Skip to content

Instantly share code, notes, and snippets.

return (
<div className='App'>
<Arrow
direction='left'
clickFunction={() => onArrowClick('left')}
/>
<Slide in={slideIn} direction={slideDirection}>
<div>
<CarouselSlide content={content} />
</div>
useEffect(() => {
const handleKeyDown = (e) => {
if (e.keyCode === 39) {
onArrowClick('right');
}
if (e.keyCode === 37) {
onArrowClick('left');
}
};
BOT_TOKEN=[your-copied-token]
const SlackBot = require('slackbots');
const dotenv = require('dotenv');
const cron = require('node-cron');
dotenv.config();
const bot = new SlackBot({
token: `${process.env.BOT_TOKEN}`,
name: '[your-app-name]',
});
bot.on('start', function () {
bot.postMessageToUser('[your-username]', '[your-app-name] starting...');
});
function createJob() {
const task = cron.schedule(
'32 12 * * 1-5',
() => {
bot.postMessageToChannel('lunchbot-test', 'go eat lunch ali');
},
{
scheduled: true,
timezone: 'America/New_York',
}
bot.on('start', function () {
bot.postMessageToUser('[your-username]', '[your-app-name] starting...');
createJob();
});
@karenying
karenying / gist:7b8630b49167ac34ef1b34847177a854
Last active August 28, 2020 20:53 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
{
"name": "Google Calendar Navigation Shortcuts",
"version": "1.0",
"description": "Add arrow navigation to Google Calendar",
"manifest_version": 2
}