- ubuntu 16.04
- php 7.1
- apache 2.4
- mysql 5.7
- git & composer
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
| ** 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
| <?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
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Routing\UrlGenerator; | |
| use Illuminate\Http\RedirectResponse; | |
| class Cloudflare |
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 specifies the deployment process on AWS ElasticBeanstalk for a Django app using npm and Postgres. | |
| # | |
| # The target environment should have access to a Postgres Database through environment variables. | |
| # The environment can be setup using `eb create --database.engine=postgres` | |
| # The necessary environment variables to access the database will be automatically defined on the | |
| # instances of that environment. | |
| # | |
| # In addition, the target environment should define environment variables (django secret key ...). | |
| # They can be manually defined using the AWS ElasticBeanstalk interface on the web. | |
| # They can also be specified when creating the environment from command line, for example: |