This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Feb 20 17:46:53 2017 | |
author: JianKaiWang | |
platform: python 3 | |
""" | |
# 引用外部套件 random | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# desc : fet influenza data from Taiwan CDC Open Data | |
# auth : Jiankai Wang | |
# date : 2017/2/23 | |
# plat : Python 2.7.12 | Anaconda 4.2.0 (64-bit) | |
# veri : 0.0.1 | |
# | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# face : http://www.cl.cam.ac.uk/research/dtg/attarchive/facedatabase.html | |
# orau : Vlad Niculae, Alexandre Gramfort | |
# auth : Jiankai Wang | |
# plat : python 3.5 | |
# veri : 0.0.1 | |
# date : 2017/02/23 | |
# | |
import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author : jiankaiwang | |
* platform : nodejs | |
* feature : the firebase API template in NodeJS server side | |
* description : continuously send iot sensor data to the firebase | |
*/ | |
var firebase = require("firebase"); | |
function get_time(type) { | |
function __formatMDHMS(getValue) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author : jiankaiwang | |
* platform : nodejs | |
* feature : the firebase API template in NodeJS server side | |
* description : continuously fetch iot sensor data from the firebase | |
* reference : push data into firebase (https://gist.github.com/jiankaiwang/635f40bb5609033e922337b7aa2a44e6) | |
*/ | |
var firebase = require("firebase"); | |
// firebase configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author : jiankaiwang | |
* description : The script provides you with basic operations of first personal control. | |
* platform : Unity | |
* date : 2017/12 | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author : jiankaiwang | |
* description : The script provides you with basic operations | |
* of first personal camera look on mouse moving. | |
* platform : Unity | |
* date : 2017/12 | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
author : JianKai Wang | |
description : send info to the specific line group | |
date : Dec 2017 | |
Line Notify : https://notify-bot.line.me | |
document : | |
* line sticker : https://devdocs.line.me/files/sticker_list.pdf | |
Notice : | |
* Add the official account (LINE Notify) into the group |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author : jiankaiwang | |
* description : The C# script makes the camera move on the path desired in Unity3D. | |
* platform : Unity | |
* date : 2018/01 | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Description: The following is the example code to use recaptcha. | |
Notice: The function backend_API_challenge is the concept and you should implement it on the backend. | |
Especially, you must keep your secret key in private all the time. | |
Flow: | |
1. Click the submit button. | |
2. On the console, execute backend_API_challenge function. | |
--> | |
<html> | |
<head> |
OlderNewer