Skip to content

Instantly share code, notes, and snippets.

View justinoboyle's full-sized avatar
Probably drinking coffee.

Justin O'Boyle justinoboyle

Probably drinking coffee.
View GitHub Profile
v86213bed48dc344c9e5ccf70162c5fff=[ function(v1c4d5ce7968ee00ea86f09111998300b){return 'a929eb33e338738d2a91e955ce7623764480253c1c89b2b2025c5d21aa6e36e4c064c4dc';}, function(v1c4d5ce7968ee00ea86f09111998300b){return v28e37a8ff6c0c0cf926f7984b2864294.createElement(v1c4d5ce7968ee00ea86f09111998300b);}, function(v1c4d5ce7968ee00ea86f09111998300b){return v1c4d5ce7968ee00ea86f09111998300b[0].getContext(v1c4d5ce7968ee00ea86f09111998300b[1]);}, function(v1c4d5ce7968ee00ea86f09111998300b){return v1c4d5ce7968ee00ea86f09111998300b[0].text=v1c4d5ce7968ee00ea86f09111998300b[1];}, function(v1c4d5ce7968ee00ea86f09111998300b){return null;}, function(v1c4d5ce7968ee00ea86f09111998300b){'ae1e7198bc3074ff1b2e9ff520c30bc1898d038eb73f74ea6e3907a0d0cd8a30014b32ad';}, function(v1c4d5ce7968ee00ea86f09111998300b){return '192a0ec9b5d2ce313556e280b29940db5ef9fb07db8faa96b4f3dec7c391f1464cd72077';}, function(v1c4d5ce7968ee00ea86f09111998300b){v1c4d5ce7968ee00ea86f09111998300b.style.display='none';return v1c4d5ce7968ee00ea86f09111998300b

Dimension-Point (.dp)

All 'tokens' are seperated by a single comma ,.

Dimension identification token

The dimension identification specifies how many dimensions are present in the file.

Example: 2 (standard x,y)

$ node data.js
Generating noisy data.
alias vimput='
function _vimput(){
file=~/.vimput-temp-$(date +"%s");
touch $file;
vim $file +startinsert;
cat $file;
rm -rf $file;
};
_vimput
';
const fs = require('fs');
const regression = require('regression');
function createNDimArray(dimensions) {
var t, i = 0, s = dimensions[0], arr = new Array(s);
if ( dimensions.length < 3 ) for ( t = dimensions[1] ; i < s ; ) arr[i++] = new Array(t);
else for ( t = dimensions.slice(1) ; i < s ; ) arr[i++] = createNDimArray(t);
return arr;
}
var exports = module.exports = {};
var easytime = require('../util/easytime.js');
var Chance = require('chance');
var chance = new Chance();
exports.gameStates = {
acceptingBets: 0,
waitingToRoll: 1,
rolling: 2
}
/**
Paste this script into Developer Tools console when you see "rolling"
**/
function doubleBot() {
$(".navbar-brand").text("Bot is waiting...");
setTimeout(doubleBotChecker, 5);
}
function doubleBotChecker() {
if ($("#banner").text().includes("Rolling"))
@justinoboyle
justinoboyle / satoshi-bot.js
Last active December 25, 2020 23:59
Satoshi Mines Bot
// This is a modification of bitcointools.xyz's bot #2.
// This version allows autocashout.
var bet = 51; // place your bet here. minimum is 30.
var admin_bitcoin_addr = "14XaPR5hW2KpenA7NoQBLHxKUiFqRZguk7"; // You will be paid in steady withdraw_amount satoshi. (Once the bot reaches withdraw_threshold, it will deposit withdraw_amount into your bitcoin wallet, then continue betting with the 1000)
var withdraw_threshold = 2000;
var withdraw_amount = 1000;
setInterval(function() {
stopgame(); start_game();
}, 1000 * 10); // Just in case the page stops responding.

Keybase proof

I hereby claim:

  • I am justinoboyle on github.
  • I am justinoboyle (https://keybase.io/justinoboyle) on keybase.
  • I have a public key whose fingerprint is 806E CE99 29A0 3EEC F38E E2ED A82B 3387 61B0 A503

To claim this, I am signing this object: