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
statusReponse = await vault.status(); | |
vault.checkSucceeded(statusReponse); | |
// Beyond this point Vault has been unsealed using 3 out of 5 multisig keys | |
console.log('generating mnemonic, password and ga...'); | |
let | |
mnemonic = bip39.generateMnemonic(256), | |
password = crypto.randomBytes(32).toString('hex'), | |
ga = crypto.randomBytes(16).toString('hex'); | |
let data = {}; | |
data[constants.KEY_MNEMONIC] = mnemonic; |
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
// Empty |
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
Layer (type) Output Shape Param # Connected to | |
==================================================================================================== | |
embedding_2 (Embedding) (64, 48, 200) 1137600 embedding_input_2[0][0] | |
____________________________________________________________________________________________________ | |
batchnormalization_2 (BatchNormal(64, 48, 200) 400 embedding_2[0][0] | |
____________________________________________________________________________________________________ | |
lstm_3 (LSTM) (64, 48, 512) 1460224 batchnormalization_2[0][0] | |
____________________________________________________________________________________________________ | |
dropout_4 (Dropout) (64, 48, 512) 0 lstm_3[0][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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//player2.h-cdn.com/hola_player.js?customer=demo"></script> | |
</head> | |
<body> | |
<div><h1>Video tag with Hola Player - playing HLS with HolaCDN</h1></div> | |
<video preload="none" class="video-js vjs-default-skin" width="640" height="360" controls> | |
<source src="" type="application/x-mpegurl"> | |
</video> |
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> | |
<head> | |
<script src="//player2.h-cdn.com/hola_player.dev.js?customer=boyang_test"></script> | |
</head> | |
<body> | |
<div><h1>Video tag with Hola player - playing HLS</h1></div> | |
<div id="wrapper"> | |
<video id="stream" preload="none" class="video-js vjs-default-skin" width="640" height="360" controls> | |
<source |
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> | |
<head> | |
<script src="//player2.h-cdn.com/hola_player.dev.js?customer=demo"></script> | |
</head> | |
<body> | |
<div><h1>Video tag with Hola player - playing HLS</h1></div> | |
<style> | |
#wrapper { | |
position: relative; |
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
// if (MutationObserver) { | |
// var observer = new MutationObserver(function(mutations) { | |
// let scripts = Array.from(document.querySelectorAll('script')); | |
// console.log(scripts); | |
// let bjs; | |
// if (!(bjs = scripts.find(s => s.src.includes('b.js')))) | |
// return; | |
// // bjs.addEventListener('loaded', function(e) {bjs.remove();}); | |
// bjs.remove(); | |
// manipulate(bjs.src); |
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
{"needLogin":false,"multimedia":[{"name":"12. Deflection of Beams","files":[{"ID":"1dd73407-b3df-4b70-9c39-b36180f22adf","name":"12.10 Example 4","time":"2014-12-19T16:59:00.000Z","main":"https://vod.nus.edu.sg/hls-vod/ivle/users/64e41633-1478-49a1-9f6c-15ad48786920/12.10 Example 4.mp4.m3u8","type":"single","views":0,"comments":0,"open":false,"thumbnail":"https://ivle.nus.edu.sg/v1/bank/media/getmedia.aspx?bankCatID=64e41633-1478-49a1-9f6c-15ad48786920&fileName=12.10 Example 4.mp4.jpg&contentType=image/jpeg&banktype=mp4","courseID":"1ab1da05-4400-4d16-b8ef-3ba9a8bfc81c","courseCode":"CE1109"},{"ID":"badd626c-9bb0-4a53-bc8f-0fa031dddea8","name":"12.9 Example 3 ","time":"2014-12-19T16:59:00.000Z","main":"https://vod.nus.edu.sg/hls-vod/ivle/users/64e41633-1478-49a1-9f6c-15ad48786920/12.9 Example 3 .mp4.m3u8","type":"single","views":0,"comments":0,"open":false,"thumbnail":"https://ivle.nus.edu.sg/v1/bank/media/getmedia.aspx?bankCatID=64e41633-1478-49a1-9f6c-15ad48786920&fileName=12.9 Example 3 .mp4.jpg&contentTyp |
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
dota_bot_force_pick npc_dota_hero_sniper,npc_dota_hero_phantom_assassin,npc_dota_hero_chaos_knight,npc_dota_hero_warlock,npc_dota_hero_bristleback,npc_dota_hero_bane,npc_dota_hero_drow_ranger |
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 TodoDispatcher = require('./dispatcher/TodoDispatcher.js'); | |
TodoDispatcher.register((payload) => { | |
console.log('callback 1 start, should take 10s'); | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
console.log('callback 1 done, its promise resolved', payload); | |
resolve(payload); | |
}, 10000); | |
}); |
NewerOlder