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
import crossFetch from 'cross-fetch'; | |
import * as FormData from 'form-data'; | |
import * as fs from "fs"; | |
const formData = new FormData(); | |
formData.append( | |
'operations', | |
JSON.stringify({ |
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 | |
class PDOLog extends PDO{ | |
public $queriesLog = []; | |
public $transactionCounter = 0; | |
public function prepare(){ | |
$arg_list = func_get_args(); | |
$this->queriesLog[] = $arg_list[0]; |
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
{ | |
"data": [ | |
{ | |
"id": 1, | |
"parent_id": null, | |
"name": "root", | |
"desc": "", | |
"descat": "", | |
"listcat": "", | |
"ad_active": false, |
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
{ | |
"data": [ | |
{ | |
"id": 1, | |
"parent_id": null, | |
"name": "root", | |
"desc": "", | |
"descat": "", | |
"listcat": "", | |
"ad_active": false, |
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
{ | |
"name": "service-discovery", | |
"version": "1.0.0", | |
"description": "", | |
"main": "udp-server.js", | |
"dependencies": { | |
"broadcast-address": "^1.0.2", | |
"dgram": "^1.0.1", | |
"dotenv": "^8.2.0" | |
}, |
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
var can = require('socketcan'); | |
var channel = can.createRawChannel("can0", true); | |
channel.addListener("onMessage", function(msg) { | |
console.log(msg.data.toString()); | |
}); | |
channel.start(); |
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 | |
class UdpDebugger | |
{ | |
private static $sock; | |
private static $id; | |
public static function Debug() | |
{ |
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
var Web3 = require('web3'); | |
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:7545")); | |
var balance = 0; | |
web3.eth.getBalance('0xfb71B55C0C526638e1d6b3DA7598a1b3785d30f8', function(err, wei) { | |
balance = web3.utils.fromWei(wei, 'ether') | |
console.log(balance); | |
}); |
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
{ | |
"config": { | |
"chainId": 33, | |
"homesteadBlock": 0, | |
"eip155Block": 0, | |
"eip158Block": 0 | |
}, | |
"nonce": "0x0000000000000033", | |
"timestamp": "0x0", |
This file has been truncated, but you can view the full file.
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
can0 430 [7] 14 01 90 FF C0 00 20 | |
can0 430 [7] 14 01 90 FF C0 00 20 | |
can0 433 [8] 80 10 00 00 00 20 00 00 | |
can0 430 [7] 14 01 90 FF C0 00 20 | |
can0 430 [7] 14 01 90 FF C0 00 20 | |
can0 430 [7] 14 01 90 FF C0 00 20 | |
can0 210 [7] FF FF 30 68 90 00 01 | |
can0 4B0 [8] 27 10 27 10 27 10 27 10 | |
can0 210 [7] FF FF 30 68 90 00 02 | |
can0 4B0 [8] 27 10 27 10 27 10 27 10 |
NewerOlder