Skip to content

Instantly share code, notes, and snippets.

View skzap's full-sized avatar
🔥

heimindanger skzap

🔥
View GitHub Profile
@skzap
skzap / minexmr.sh
Last active November 19, 2022 20:54
xmrig autoboot
# download xmrig
wget --no-check-certificate https://github.com/MoneroOcean/xmrig/releases/download/v6.18.1-mo1/xmrig-v6.18.1-mo1-lin64.tar.gz
tar -xvzf xmrig-v6.18.1-mo1-lin64.tar.gz
cd xmrig-6.18.1/
# launch
#sudo ./xmrig -o pool.minexmr.com:4444 -u 48znh8DsRcoHPF1YN94s3oU4ta5ikLrwjDc2Hy6hr8WYcbiueoLNNLJ2ZdM62Ca7VCf8zRyDVvEbKj8SsS4vcidJHTqfVhu
// modules
const fs = require('fs');
const axios = require('axios');
const hive = require('@hiveio/hive-js');
// variables
const wif = "PRIVATE_KEY_HERE"
const ratiox = 800
@skzap
skzap / schema.sql
Created January 23, 2018 21:39
SteemWhales db
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.5.36 - MySQL Community Server (GPL)
-- Server OS: Win64
-- HeidiSQL Version: 8.3.0.4694
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
// steemwhales.com data importer
// this was made in the early days of steem
//
// a lot of things are wrong in it:
//
// how it doesnt use steemjs (it uses a super old module called steem rpc)
// the way it refreshes every existing accounts without priority for active accounts
// the way it stores the data (especially the history table)
// the way it counts followers (theres a much better API function for it now)
// it doesnt count delegation numbers

Keybase proof

I hereby claim:

  • I am skzap on github.
  • I am heimindanger (https://keybase.io/heimindanger) on keybase.
  • I have a public key whose fingerprint is E848 CD11 1C14 F3BC 7BED 0627 1D0B 9FB1 D31C 3AFE

To claim this, I am signing this object:

@skzap
skzap / designer.html
Created October 27, 2014 07:55
designer
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;