This file contains 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
// Sample of setting | |
// const setting = { | |
// left: [ | |
// [50, 0], | |
// [1000, 0], | |
// [2000, 0], | |
// [4000, 0], | |
// [8000, 0], | |
// [12000, 0], | |
// [15000, 0], |
This file contains 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
import React, { | |
PropTypes as T, | |
Component, | |
} from 'react'; | |
import radium from 'radium'; | |
import backgroundImage from '../static/images/background.jpg'; | |
const ANIMATION_DURATION = 1000; | |
const opacityAnimation = radium.keyframes({ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<div id="player"></div> | |
<script> | |
var apiLoaded = false; | |
var playerReady = false; | |
var player; | |
function onYouTubeIframeAPIReady() { |
This file contains 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
{ | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true, | |
} | |
}, | |
"plugins": [ | |
"react", |
This file contains 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
{ | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true, | |
} | |
}, | |
"plugins": [ | |
"react", |
This file contains 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
{ | |
"paymentMethod": "Credit", | |
"orderItems": [{ | |
"ProductId": 1, | |
"quantity": 1, | |
"name": "好棒棒", | |
"description": "好棒棒是誰", | |
"price": 255 | |
}, { | |
"ProductId": 3, |
This file contains 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
{ | |
"plugins": [ | |
"react" | |
], | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
}, | |
"env": { |
This file contains 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
{ | |
"基隆市": { | |
"仁愛區": "200", | |
"信義區": "201", | |
"中正區": "202", | |
"中山區": "203", | |
"安樂區": "204", | |
"暖暖區": "205", | |
"七堵區": "206" | |
}, |
This file contains 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
<!-- Suooprt Browsers IE 11, Edge, Chrome, Firefox, Safari, Opera --> | |
<!-- | |
| Format Full Page Opening | | |
使用說明: | |
請將 Message Sync, Full Page Opening 放置於廣告版位任意位置, | |
但順序不得改變,避免複雜的排版造成螢幕大小抓取錯誤的可能。 | |
Door Panel 請直接放置在顯示位置容器中 | |
--> | |
<!-- Message Sync --> |
This file contains 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
/// var encryptedstring = Crypt.Encrypt("我要加密", "This is password", "Taisugar2015", "SHA1", 3, "1qazxsw23edcvfr4", 256); | |
/// var decryptedstring = Crypt.Decrypt(encryptedstring, "This is password", "Taisugar2015", "SHA1", 3, "1qazxsw23edcvfr4", 256); | |
/// </summary> | |
/// <param name="passtext"></param> | |
/// <param name="passPhrase"></param> | |
/// <param name="saltValue"></param> | |
/// <param name="hashAlgorithm"></param> | |
/// <param name="passwordIterations"></param> | |
/// <param name="initVector"></param> | |
/// <param name="keySize"></param> |