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
version: '3.6' | |
services: | |
corextestnet: | |
hostname: parity | |
image: corexchain/corex:latest | |
volumes: | |
- /node_data/corex_test_data:/root/.corexchain | |
ports: | |
- "5050:5050" | |
- "18545:18545" |
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
const Web3 = require('web3'); | |
const TruffleConfig = require("../truffle"); | |
var Migrations = artifacts.require("./Migrations.sol"); | |
module.exports = function(deployer, network, addresses) { | |
const config = TruffleConfig.networks[network]; | |
if(process.env.PW) { | |
const web3 = new Web3(new Web3.providers.HttpProvider('http://'+config.host+':'+config.port)); |
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
module.exports = { | |
// See <http://truffleframework.com/docs/advanced/configuration> | |
// for more about customizing your Truffle configuration! | |
networks: { | |
development: { | |
host: "127.0.0.1", | |
port: 7545, | |
network_id: "5666" // Match any network id | |
}, | |
rinke: { |
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
<?php | |
return [ | |
'components' => [ | |
'db' => [ | |
'class' => '\yii\db\Connection', | |
'dsn' => 'mysql:host=127.0.0.1;dbname=demo', | |
'username' => 'root', | |
'password' => '', | |
'charset' => 'utf8', |
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
package enkh.mon.java.codes.testing | |
import java.util.ArrayList; | |
import java.util.List; | |
import net.sf.dynamicreports.examples.Templates; | |
import net.sf.dynamicreports.jasper.builder.JasperReportBuilder; | |
import net.sf.dynamicreports.report.base.expression.AbstractSimpleExpression; | |
import net.sf.dynamicreports.report.base.expression.AbstractValueFormatter; | |
import static net.sf.dynamicreports.report.builder.DynamicReports.asc; | |
import static net.sf.dynamicreports.report.builder.DynamicReports.cmp; |