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\Contracts\Routing\Middleware; | |
| use Illuminate\Contracts\Foundation\Application; | |
| class ReplaceTestVars implements Middleware | |
| { |
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
| "use strict"; | |
| const http = require('http'); | |
| const util = require('util'); | |
| const querystring = require('querystring'); | |
| function addQueryString(data) { | |
| return (data !== "") ? querystring.stringify(data) : ''; | |
| } |
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
| #!/usr/bin/env sh | |
| # Use AWS cli | |
| # Thanks to https://zellwk.com/blog/deploy-static-site/ | |
| DIST_FOLDER="dist" | |
| AWS_CLI_PROFILE="your-profile-name" | |
| AWS_BUCKET="your bucket name/" | |
| PRODUCTION_BRANCH_NAME="your-production-branch" |
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
| exists=`git show-ref refs/heads/<branch-name>` | |
| if [ -n "$exists" ]; then | |
| echo 'branch exists!' | |
| fi |
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
| Homebrew build logs for opencv on macOS 10.12.6 | |
| Build date: 2017-11-07 14:50:59 |
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 fs = require('fs'); | |
| const solc = require('solc'); | |
| const Web3 = require('web3'); | |
| // Connect to local Ethereum node | |
| const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); | |
| // Compile the source code | |
| const input = fs.readFileSync('Token.sol'); | |
| const output = solc.compile(input.toString(), 1); |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a
