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
| m8bS: function (e, t, a) | |
| { | |
| "use strict"; | |
| var n = a("AoU+"), | |
| r = a("yOYz"), | |
| o = a("r0ML"), | |
| i = a.n(o), | |
| c = a("g0xT"), | |
| l = a("t/R6"), | |
| s = a("SUM9"), |
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
| class Loom { | |
| constructor(currentProvider = null) { | |
| this.web3Provider = currentProvider | |
| this.chainId = 'extdev-plasma-us1' | |
| this.writeUrl = 'wss://extdev-plasma-us1.dappchains.com/websocket' | |
| this.readUrl = 'wss://extdev-plasma-us1.dappchains.com/queryws' | |
| this.ethAddr = null | |
| this.client = null | |
| this.loomProvider = null | |
| this.publicKey = null |
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 util = require('ethereumjs-util') | |
| const Wallet = require('ethereumjs-wallet') | |
| const basePrivateKey = '1cd3b30424316919712c483929787eefa0d724a78274a506530dbb26916b1' | |
| const charsMissing = 64 - basePrivateKey.length | |
| const targetPublicAddress = '0xe8Ca70C909905Eccce6a49c34797beF31d895241' | |
| console.log(" \n" + | |
| "searching for address : " + targetPublicAddress + " \n" + | |
| "base private key : " + basePrivateKey + " \n" + |
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
| ## | |
| # You should look at the following URL's in order to grasp a solid understanding | |
| # of Nginx configuration files in order to fully unleash the power of Nginx. | |
| # http://wiki.nginx.org/Pitfalls | |
| # http://wiki.nginx.org/QuickStart | |
| # http://wiki.nginx.org/Configuration | |
| # | |
| # Generally, you will want to move this file somewhere, and start with a clean | |
| # file but keep this around for reference. Or just disable in sites-enabled. | |
| # |
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
| @if($errors->any()) | |
| <div class="alert alert-danger" role="alert"> | |
| <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
| <span aria-hidden="true">×</span> | |
| </button> | |
| @foreach($errors->all() as $error) | |
| {{ $error }}<br/> | |
| @endforeach | |
| </div> |
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
| ** Add repository and install bitcoind ** | |
| sudo apt-get install build-essential | |
| sudo apt-get install libtool autotools-dev autoconf | |
| sudo apt-get install libssl-dev | |
| sudo apt-get install libboost-all-dev | |
| sudo add-apt-repository ppa:bitcoin/bitcoin | |
| sudo apt-get update | |
| sudo apt-get install bitcoind | |
| mkdir ~/.bitcoin/ && cd ~/.bitcoin/ |
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
| ## | |
| # You should look at the following URL's in order to grasp a solid understanding | |
| # of Nginx configuration files in order to fully unleash the power of Nginx. | |
| # http://wiki.nginx.org/Pitfalls | |
| # http://wiki.nginx.org/QuickStart | |
| # http://wiki.nginx.org/Configuration | |
| # | |
| # Generally, you will want to move this file somewhere, and start with a clean | |
| # file but keep this around for reference. Or just disable in sites-enabled. | |
| # |
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
| # This folder is cached between builds | |
| # http://docs.gitlab.com/ce/ci/yaml/README.html#cache | |
| cache: | |
| paths: | |
| - vendor/ | |
| - node_modules/ | |
| stages: |
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 | |
| namespace App\Http; | |
| /** | |
| * Description of VideoStream | |
| * | |
| * @author Rana | |
| * @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
| */ |
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
| # 部署前置作業 | |
| ## 編輯 package.json 檔案 | |
| ### package.json 介紹 | |
| NodeJS 日益強大,相關開發資源也越來越多,許多功能已經不再需要自己寫,通通都可以直接利用官方的 NPM(Node Package Manager)工具,從網路上把別人已經開發好的模組抓回來用。這樣的模組交換平台加快了開發速度,讓開發者可以全心全意專注於當前應用的開發工作。但是也因為如此,讓我們的 Project 總是相依於一大堆的第三方模組,而每當要將我們的程式佈建於伺服器時,就必需手動先將所有的模組先安裝好,甚至是用笨拙的方法邊試邊裝遺漏的模組。事實上,我們可以在程式目錄中,建立 package.json 檔,直接管理 Project 的相依性以及所使用到的模組套件,一旦目錄中存在 package.json,下次要移到新的環境裝起來時,可以直接利用 NPM 把所有的相依模組一次裝好,省下很多功夫: | |
| ```groovy | |
| $ npm install |
NewerOlder