Skip to content

Instantly share code, notes, and snippets.

@ypchen
ypchen / slack_backup.py
Created July 22, 2022 01:34 — forked from benoit-cty/slack_backup.py
Script to archive Slack messages from a channel list.
'''
Script to archive Slack messages from a channel list.
You have to create a Slack Bot and invite him to private channels.
View https://github.com/docmarionum1/slack-archive-bot for how to configure your account.
Then provide the bot token to this script with the list of channels.
'''
TOKEN='xoxb-xxxxx-xxxxxx-xxxxxxxxxxx'
channels = {
@ypchen
ypchen / init.js
Created August 29, 2013 08:22 — forked from onlinemad/init.js
#!/usr/bin/env node
var https = require('https'),
fs = require('fs'),
AdmZip = require('adm-zip'),
request = require('request'),
prompt = require('prompt'),
util = require('util'),
beautify = require('js-beautify').js_beautify;

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@ypchen
ypchen / gist:3811764
Created October 1, 2012 13:21 — forked from chihchun/gist:753181
NextVOD
壹多媒體娛樂服務股份有限公司 壹網樂/網樂通, https://www.nextvod.com.tw/ #nextvod #nextv
H/W
STMicroelectronics STx7105 (Renesas SuperH)
VIA VT6113 (Ethernet)
NANYA NT5TU64M16GG-AC (DRAM DDR2 64Mx16 PC800 BGA) * 2
Samsung NCDOM08GMS-MLC (USB DOM 8GB)
25Q80 (Flash)
Console Pin headers