Skip to content

Instantly share code, notes, and snippets.


Jack Ma hustlestar

  • Minsk
View GitHub Profile
hustlestar /
Created October 13, 2021 14:04
Calculating allocation and estimated gain from Kucoin Burning Drop event
import math
full_allocation_size = 1400000
allocated_asset_price_usdt = 0.2
staking_period_days = 20
max_stake_usdt = 3000
max_stake_eth = 1
max_stake_kcs = 270
hustlestar / linkedin_auto_connect
Last active January 22, 2023 01:43
Script to add new connections on linkedin automatically.
View linkedin_auto_connect
//copy next 1 line to the browser console on the linkedin network page
setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);
//wait several minutes then copy all following lines to console
var currentSuccesfulConnections=0;
var totalConnections=0;
var totalInvitations=0;
var interestingConnections=0;
var inviteText="";
#mount shared drive
#mkdir vmshared
#sudo mount -t vboxsf vmshared vmshared
#install java 8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version