Skip to content

Instantly share code, notes, and snippets.

View santocyber's full-sized avatar

SantoCyber santocyber

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Conjectura de Legendre</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f3f3f3;
@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
#
# Note: This file must be loaded before other virtual host config files,
#
# HTTPS
server {
listen 80;
listen [::]:80;
# NO "ssl on" HERE!!!
ssl off;
# -*- 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
@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"
./ethdcrminer64 -epool eth-eu1.nanopool.org:9999 -ewal 0xEe325B4d719683e9b8235A69Da35eDB825908403 -epsw x -dpool stratum+tcp://decred.br.nicehash.com:3354 -dwal 3NbqVaSMwMWmsJHJsHHRKhmXsV8pgeYbz1 -dpsw x
#! /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
# 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
## 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)

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: