Skip to content

Instantly share code, notes, and snippets.

@slvnperron
slvnperron / HOWTO.md
Last active March 30, 2017 21:55
Enable demo-mode for Messenger bots | Botpress Engineering Hacks 👉 https://botpress.io

Messenger Demo Mode (Chrome)

This script removes the left panel on messenger (your other conversations).

This is useful if you want to test a messenger bot distraction-free or doing a demo of your bot.

1. Install the Injector Chrome Extension

2. Configure Injector

@kpman
kpman / Seti_monokai.tmTheme
Last active August 29, 2015 14:15
Seti_monokai.tmTheme (Custom version)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Seti_Monokai</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@kpman
kpman / Preferences.sublime-settings
Last active March 16, 2019 10:52
Sublime Text 3 with Seti-UI theme setting
{
"Seti_pad_5": true,
"Seti_tabs_med": true,
"auto_upgrade_ignore":
[
"Seti_UI"
],
"caret_extra_width": 0,
"color_scheme": "Packages/JavaScriptNext - ES6 Syntax/Monokai Phoenix.tmTheme",
"fade_fold_buttons": false,
@raddeus
raddeus / app.js
Last active May 24, 2023 15:41
Basic Express 4.0 Setup with connect-flash
var express = require('express');
var session = require('express-session');
var cookieParser = require('cookie-parser');
var flash = require('connect-flash');
var app = express();
app.use(cookieParser('secret'));
app.use(session({cookie: { maxAge: 60000 }}));
app.use(flash());
@edokeh
edokeh / index.js
Last active July 23, 2024 14:08
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@nathansmith
nathansmith / web-design-development-learning-resources.md
Last active May 29, 2024 12:25
Resources for learning web design & front-end development