Skip to content

Instantly share code, notes, and snippets.

View Arm1stice's full-sized avatar
:shipit:

Wyatt Calandro Arm1stice

:shipit:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am wcalandro on github.
  • I am arm1stice (https://keybase.io/arm1stice) on keybase.
  • I have a public key whose fingerprint is 21E3 EA83 D289 8E0B EEDA 3982 8DBC 54E6 A8E5 4D45

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am Arm1stice on github.
  • I am arm1stice (https://keybase.io/arm1stice) on keybase.
  • I have a public key whose fingerprint is 21E3 EA83 D289 8E0B EEDA 3982 8DBC 54E6 A8E5 4D45

To claim this, I am signing this object:

###
AssemblyLineTest - A script to test the time it takes for a certain process to go through an asembly line
###
totalUnits = 3550
timePerUnitInSec = 80
testingTimeInSec = 6
assemblyLineArray = [];
unitsDone = 0
totalTimeUnits = 0
@Arm1stice
Arm1stice / index.coffee
Last active August 6, 2017 18:33
Bot for listening to keystrokes and placing bets on NadekoBot
robot = require 'robotjs' # Our typing module
gkm = require 'gkm' # Listen for keystrokes
currentBet = 2 # Base bet
profit = 0 # Profit
rolls = 0 # Rolls
gkm.events.on 'key.released', (data) -> # Listen for released keystrokes
key = data[0] # The key that was pressed
if key is 'A' # Base bet
if rolls isnt 0 then profit += currentBet # Don't change profit if this is the first bet, otherwise increment it by the previous bet
currentBet = 2 # Set current bet to base bet
let electron = require("electron")
let app = electron.app
let BrowserWindow = electron.BrowserWindow
app.on('ready', () => {
var mainWindow = new BrowserWindow({
show: false
});
mainWindow.loadURL("https://google.com");
mainWindow.webContents.once('did-finish-load', () => {
javascript:masstip = 5; socket.emit("chat", {message: "/me is masstipping " + masstip + " doges! Users: " + users[currentRoom][1] + ' ' + users[currentRoom][2] + ' ' + users[currentRoom][3] + ' ' + users[currentRoom][4] + ' and ' + users[currentRoom][5] + '!', room:currentRoom, color: color});for(var i=0;i<5;i++){socket.emit("tip",{user:users[currentRoom][i],room:currentRoom,tip:masstip,message:"Mass tip from "+username});}