Skip to content

Instantly share code, notes, and snippets.

View santocyber's full-sized avatar

SantoCyber santocyber

View GitHub Profile
#include <SPI.h>
#include <Ethernet.h>
//#include <SendCarriots.h> // You must include the library here in order to use it in the sketch
#include <SHT1x.h>
#define dataPin 10
#define clockPin 11
SHT1x sht1x(dataPin, clockPin);
// Xively parameters

Keybase proof

I hereby claim:

  • I am santocyber on github.
  • I am santocyber (https://keybase.io/santocyber) on keybase.
  • I have a public key whose fingerprint is 9B42 5BC5 39FC 5EB2 A6B7 F245 E23D E976 8E87 68EE

To claim this, I am signing this object:

## Need help configuring? View the Documentation: https://poloniexlendingbot.readthedocs.io/en/latest/configuration.html
# Hugreen.Solar Strategy CC3.0
# 15% a.a 20-04-2017
[API]
apikey = XXX
secret = XXX
[BOT]
#Sleeps between active iterations, time in seconds (1-3600)
# Basic configuration file for ddclient
# Hugreen Random DNS
# /etc/ddclient.conf
daemon=6000
#cache=/tmp/ddclient.cache
#pid=/var/run/ddclient.pid
fw-login=admin, fw-password=XXXX # FW login and password
use=fw, fw=192.168.1.1/info.html, fw-skip='WAN IPv4 Address:' # found after IP $
#use=web, web=checkip.dyndns.it
#use=ip, ip=186.203.236.46
#! /bin/sh
### BEGIN INIT INFO
# Provides: vaipandora
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: OpenBSD Secure Shell server
### END INIT INFO
./ethdcrminer64 -epool eth-eu1.nanopool.org:9999 -ewal 0xEe325B4d719683e9b8235A69Da35eDB825908403 -epsw x -dpool stratum+tcp://decred.br.nicehash.com:3354 -dwal 3NbqVaSMwMWmsJHJsHHRKhmXsV8pgeYbz1 -dpsw x
@santocyber
santocyber / verificaprocesso
Last active May 16, 2018 22:11
Vericia processo PID online
#!/bin/sh
# Verificacao se servico esta online
#by SantoCyber
logfile="/home/santo/logfile"
pasta="/home/santo/InstaPy"
bot1="quickstart-frutashugreen.py"
bot2="quickstart-kinbakuestudio.py"
bot3="quickstart-growhugreen.py"
bot4="quickstart-vidaliberta.py"
bot5="quickstart-casalbitcoin.py"
# -*- coding: utf-8 -*-
import os
import time
import sys
reload(sys)
sys.setdefaultencoding('utf8')
from tempfile import gettempdir
from selenium.common.exceptions import NoSuchElementException
from instapy import InstaPy
#
# Note: This file must be loaded before other virtual host config files,
#
# HTTPS
server {
listen 80;
listen [::]:80;
# NO "ssl on" HERE!!!
ssl off;
@santocyber
santocyber / README.txt
Created July 28, 2021 02:06
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.4+commit.c7e474f2.js&optimize=true&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS