Skip to content

Instantly share code, notes, and snippets.

View tedshd's full-sized avatar

Ted tedshd

View GitHub Profile
@tedshd
tedshd / gulpfile.js
Created July 1, 2016 03:44
gulp setting package
/**
*
* @authors Ted Shiu (ted@sitetag.us)
* @date 2016-07-01 11:40:47
*/
var gulp = require('gulp'),
watch = require('gulp-watch'),
cssmin = require('gulp-cssmin'),
uglify = require('gulp-uglify'),

CP100A

台灣美國已接海纜

contain engine

auto scale

k8s

@tedshd
tedshd / xchange.md
Created August 1, 2016 07:04
XChange 7月大聚登場!! 來聽最強的使用者體驗分享!

Dcard 分享

量化分析

  • 大量數據

打造社群

做量化分析

@tedshd
tedshd / all.js
Last active October 17, 2016 10:36
webpack bundle js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
cd ~/.local/share/letsencrypt/bin
sudo service nginx stop
sudo ./certbot certonly -d tedshd.io
sudo service nginx start
@tedshd
tedshd / fcm.js
Created December 20, 2016 02:45
firebase cloud message (FCM) example
/**
*
* @authors Ted Shiu (ted@sitetag.us)
* @date 2016-12-15 17:29:18
*/
var config = {
apiKey: '',
authDomain: '',
databaseURL: '',
@tedshd
tedshd / json.php
Created February 9, 2017 06:34
push cms
<?php
$serverKey = $_POST['serverKey'];
$iid = $_POST['iid'];
$title = $_POST['title'];
$message = $_POST['message'];
$icon = $_POST['icon'];
$title_web = $_POST['title'];
$body_web = $_POST['body'];
@tedshd
tedshd / chatbot_day_note.md
Last active April 27, 2017 05:31
Chatbot day note

Chatbot day

hackpad

Chatbot的智慧與靈魂

對語意判斷的正確與否

確認是否是正確的語意

@tedshd
tedshd / note.md
Created November 6, 2018 02:30
id8 from facebook