Skip to content

Instantly share code, notes, and snippets.

View hustlestar's full-sized avatar
:octocat:
Focusing

Jack Ma hustlestar

:octocat:
Focusing
  • Minsk
View GitHub Profile
@hustlestar
hustlestar / kucoin_burning_drop_calculator.py
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
hustlestar / linkedin_auto_connect
Last active January 22, 2023 01:43
Script to add new connections on linkedin automatically.
//copy next 1 line to the browser console on the linkedin network page https://www.linkedin.com/mynetwork/
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