Skip to content

Instantly share code, notes, and snippets.

@dyvosvit
dyvosvit / proxybot-ssl.md
Created October 18, 2017 20:49 — forked from Helmi/ProfitTrailer-ssl.md
ProxyBot SSL and Basic Auth Tutorial (Ubuntu 16.04)

Securing ProxyBot behind SSL Reverse Proxy + Basic Auth

ProxyBot's own WebUI (Monitor) comes without any protection and could therefore be viewed by any other person as long as the Server and Port are reachable from the Internet.

This guide shows you how to secure the traffic to and from the Webinterface through SSL encryption and also hide it from others by putting Basic HTTP authentication into place.

Requirements

This guide is based on and made for Ubuntu 16.04 - if you're using other flavours of Linux or any other Operating System you might be able to use parts of it.

You also need a Domain name or sub domain / hostname that points to your server. Make sure to do this before you move on. Your provider probably already offers a subdomain for the server, otherwise it's on you to point one to it.

@dyvosvit
dyvosvit / bittrex_private_and_public_api.gs
Created September 15, 2017 23:03 — forked from learntheropes/bittrex_private_and_public_api.gs
Bittrex private and public API for Google Apps Script (Google Sheet)
// work in progress
// you need a bittrex API key and secret with read account option enabled
// I assume that all the keys are in the "keys" spreadsheet. The key is in cell B5 and the secret in cell C5
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("keys");
var key = sheet.getRange("B5").getValue()
var secret = sheet.getRange("C5").getValue();
var baseUrl = 'https://bittrex.com/api/v1.1/';
var nonce = Math.floor(new Date().getTime()/1000);
@dyvosvit
dyvosvit / ALLPAIRS-params.js
Created August 10, 2017 21:07 — forked from vosechu/ALLPAIRS-params.js
Gunbot 3.3.2 config
//-----------------------------------------------
// Instructions for this file
//-----------------------------------------------
// This file will provide the basis for all the more specific files. All the
// options set in here will be used by `config.js` files unless they're
// overridden in that file.
//
// If you want to affect all coins at once, edit this file; you don't need to
// reboot the bots though, they'll see that the config changed.
//-----------------------------------------------
@dyvosvit
dyvosvit / host.sh
Created June 25, 2017 21:14 — forked from allyshka/host.sh
#!/bin/bash
display_usage() {
echo "This script check connection to list of URLs with specified host."
echo -e "\nUsage:\n$0 ipsfile hostname\n"
echo -e "\nExample:\n$0 moz-com.list moz.com\n"
}
if [ $# -le 1 ]
then