- p:presentation (CT_Presentation)
- child
- p:sldMasterIdLst (CT_SlideMasterIdList)
- p:sldIdLst (CT_SlideIdList)
- p:sldSz (CT_SlideSize)
- child
- p:defaultTextStyle (a:CT_TextListStyle)
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
test10(); | |
// 一般階乘 | |
function test1() { | |
console.log(fact(5)); | |
function fact(n) { | |
return n < 2 ? 1 : n * fact(n-1); | |
} | |
} |
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
const xmlrun = require('xmlrun'); | |
const fs = require('fs'); | |
const args = require('minimist')(process.argv.slice(2)); | |
main(args); | |
function main(args) { | |
if(args._.length > 0) { | |
fs.readFile(args._[0], 'utf8', (err, data) => { | |
if(!!err) return console.log(err); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>file reader</title> | |
<style> | |
.dropable { | |
width: 100%; | |
height: 100px; | |
background-color: #369; |
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
const args = require('minimist')(process.argv.slice(2)); | |
const DOMParser = require('xmldom').DOMParser; | |
const fs = require('fs'); | |
main(args); | |
function main(args) { | |
if(args._.length > 0) { | |
read(args._[0]) | |
.then(body => { |
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
1. 什麼是Serverless | |
2. 簡介AWS Lambda服務 | |
3. 用API Gateway架構API服務 | |
4. 資料儲存的考量 | |
5. 靜態頁面的考量 | |
6. 使用S3 | |
7. 開始架構 | |
8. IAM | |
9. 存放在Lambda的node.js環境 | |
10. 撰寫程式的要點 |
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
<?php | |
class Event { | |
private static $events = []; | |
public static function Regist($eventName, Callable $callback) { | |
if(!is_callable($callback)) return false; | |
if(!array_key_exists($eventName, self::$events)) { | |
self::$events[$eventName] = []; | |
} | |
self::$events[$eventName][] = $callback; | |
return true; |
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
const t = Symbol('ttt'); | |
module.exports = class { | |
constructor(name) { | |
this[t] = name; | |
} | |
get name() { | |
return this[t]; | |
} | |
sayHello() { |
NewerOlder