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
| // SPDX-License-Identifier: GPL-3.0 | |
| /* | |
| * https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/contracts/governance | |
| */ | |
| pragma solidity >=0.7.0 <0.9.0; | |
| // import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c9bdb1f0ae168e00a942270f2b85d6a7d3293550/contracts/token/ERC20/ERC20.sol"; |
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
| > source-verify@1.0.0 test /home/user/Programming/FIRME/ETHEREUM/SOLIDITY_TEAM/source-verify | |
| > TESTING=true LOCALCHAIN_URL=http://localhost:8545 ts-node ./node_modules/.bin/mocha --exit | |
| {"name":"Server","hostname":"ijsfd","pid":19693,"level":30,"loc":"[LISTEN]","msg":"Injector listening on port 2000!","time":"2020-04-22T16:38:24.373Z","v":0} | |
| injector | |
| inject | |
| ✓ verifies sources from multiple metadatas, addresses & stores by IPFS hash (11349ms) |
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
| export class HttpException extends Error { | |
| status?: number; | |
| message: string; | |
| name: string | |
| constructor(message: string, name: string, status?: number) { | |
| super(message); | |
| this.message = message || "Something went wrong"; | |
| this.name = name || "HttpException"; | |
| this.status = status || 500; |
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
| <IfModule mod_ssl.c> | |
| <VirtualHost *:443> | |
| ServerName monitoring.komputing.org | |
| ServerAdmin ligi@ligi.de | |
| ProxyPreserveHost On | |
| ProxyRequests Off | |
| ProxyPass / http://localhost:11000/ | |
| ProxyPassReverse / http://localhost:11000/ |
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
| IfModule mod_ssl.c> | |
| <VirtualHost *:443> | |
| ServerName verification.komputing.org | |
| ServerAdmin ligi@ligi.de | |
| ProxyPreserveHost On | |
| ProxyRequests Off | |
| ProxyPass /monitoring http://localhost:11000/ | |
| ProxyPassReverse /monitoring http://localhost:11000/ | |
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
| IfModule mod_ssl.c> | |
| <VirtualHost *:443> | |
| ServerName contractrepo.komputing.org/ | |
| ServerAdmin ligi@ligi.de | |
| ProxyPreserveHost On | |
| ProxyRequests Off | |
| ProxyPass / http://localhost:10001/ | |
| ProxyPassReverse / http://localhost:10001/ |
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
| pragma solidity >=0.4.22 <0.6.0; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol"; | |
| contract TableFootbal { | |
| modifier playerRegistered(address _player){ | |
| require(bytes(playerNames[_player]).length > 0, "Player needs to be registered!"); | |
| _; | |
| } | |
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
| /// A runtime module template with necessary imports | |
| /// Feel free to remove or edit this file as needed. | |
| /// If you change the name of this file, make sure to update its references in runtime/src/lib.rs | |
| /// If you remove this file, you can remove those references | |
| /// For more guidance on Substrate modules, see the example module | |
| /// https://github.com/paritytech/substrate/blob/master/srml/example/src/lib.rs |
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
| async function updateNonce(web3, walletaddress, nonce) { | |
| let blockchainNonce = await web3.eth.getTransactionCount(wallet, "pending"); | |
| if (blockchainNonce > nonce) { | |
| nonce = blockchainNonce; | |
| } | |
| return nonce; | |
| } |
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 com.natevogtphoto.camera2test; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.content.pm.ActivityInfo; | |
| import android.graphics.ImageFormat; | |
| import android.graphics.SurfaceTexture; | |
| import android.hardware.camera2.CameraAccessException; | |
| import android.hardware.camera2.CameraCaptureSession; | |
| import android.hardware.camera2.CameraCaptureSession.CaptureCallback; |