https://hackpad.com/JSDC-2014--KXpB9VI4s1X
micro database (小资料库) by @substack
https://github.com/substack/jsdc.tw-2014
React + Flux in Action by @thecat
https://speakerdeck.com/coodoo/flux-in-action-shi-zhan-jing-yan-fen-xiang
FROM ubuntu:16.04 | |
RUN apt-get update --yes && apt-get upgrade --yes | |
RUN apt-get update --yes && apt-get upgrade --yes | |
RUN apt-get -y install curl | |
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash | |
RUN apt-get -y install ffmpeg zlib1g-dev automake autoconf git \ |
'use strict'; | |
/** | |
* Module dependencies. | |
*/ | |
var mongoose = require('mongoose'), | |
AWS = require('aws-sdk'), | |
exec = require('child_process').exec, | |
fs = require('fs'), | |
name = new Date().toISOString(); |
#!/usr/bin/env python | |
# Written with pymongo-2.6 | |
# Modify for pymongo-2.1 | |
#!/usr/bin/env python | |
__author__ = 'mongolab' \ | |
var url = "https://www.facebook.com/dialog/oauth?&client_id=myBigClientID&redirect_uri=https://www.facebook.com/connect/login_success.html&response_type=token&scope=publish_actions"; | |
function Response() { | |
this.access_token = null; | |
this.expires_in = null; | |
}; | |
var response = new Response(); | |
//function called every 500ms to check if token is in url |
https://hackpad.com/JSDC-2014--KXpB9VI4s1X
micro database (小资料库) by @substack
https://github.com/substack/jsdc.tw-2014
React + Flux in Action by @thecat
https://speakerdeck.com/coodoo/flux-in-action-shi-zhan-jing-yan-fen-xiang
// Playground - noun: a place where people can play | |
import Cocoa | |
var str = "Hello, playground" | |
// optional type | |
// not sure which kind of data we will get | |
// default to nil |
// Playground - noun: a place where people can play | |
import UIKit | |
// constant and variable | |
//let langName: String = "Swift" | |
//var version: Double = 1.0 | |
//let introduced: Int = 2014 | |
//let isAwesome: Boolean = true |
var page = require('webpage').create(); | |
var system = require('system'); | |
var address, output, size; | |
if (system.args.length < 3 || system.args.length > 5) { | |
process.exit(1); | |
} else { | |
address = system.args[1]; | |
output = system.args[2]; | |
page.viewportSize = { width: 800, height: 500 }; |
// | |
// ViewController.swift | |
// TestSwift | |
// | |
// Created by Jameson Quave on 6/2/14. | |
// Copyright (c) 2014 JQ Software LLC. All rights reserved. | |
// | |
import UIKit | |
function processInboxToSheet() { | |
//var threads = GmailApp.getInboxThreads(); | |
// Have to get data separate to avoid google app script limit! | |
var start = 0; | |
var threads = GmailApp.getInboxThreads(start, 100); | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var result = []; | |
for (var i = 0; i < threads.length; i++) { | |
var messages = threads[i].getMessages(); |