Skip to content

Instantly share code, notes, and snippets.

<?php
class StorageRequest
{
protected $data;
protected $error;
function __construct($dsn, $method, $params = [])
{
@badewolf
badewolf / emercoin.js
Created August 18, 2022 02:58 — forked from azhuravlov/emercoin.js
Emercoin + NodeJS
'use strict';
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
function Connection(username, password, hostname, port, protocol) {
let _this = this;
_this.username = username;
_this.password = password;
_this.hostname = hostname ? hostname : '127.0.0.1';