Skip to content

Instantly share code, notes, and snippets.

View psykzz's full-sized avatar

Matt psykzz

View GitHub Profile
@psykzz
psykzz / among-us--lights.js
Created November 4, 2020 21:39
Update smart-home lights via amongus capture
const { Discovery, Control } = require('magic-home');
const port = process.env.PORT || 8090;
const io = require('socket.io')(port);
const discovery = new Discovery();
const PlayerName = 'Fax';
/*
Color mapping
name materials ammo desc last_use max_range armor color icon_state on icon damtype attack_verb sharp edge scatter charge_cost fire_delay fire_sound status flags_atom resistance_flags throw_speed throw_range max_integrity throwforce hit_sound destroy_sound req_access req_one_access cell cell_type lit burst_delay muzzle_flash_lum in_chamber last_fired item_state force attack_speed hitsound w_class flags_item flags_equip_slot zoomdevicename sprite_sheet_id flags_item_map_variant caliber load_method max_shells max_shots scope_zoom self_recharge muzzle_flash muzzleflash_iconstate dry_fire_sound unload_sound empty_sound reload_sound cocked_sound cock_cooldown cock_delay current_mag type_of_casings accuracy_mult damage_mult damage_falloff_mult recoil recoil_unwielded scatter_unwielded burst_scatter_mult burst_accuracy_mult accuracy_mod accuracy_mult_unwielded movement_acc_penalty_mult shell_speed_mod burst_amount extra_delay aim_slowdown wield_delay wield_penalty wield_time ammo_per_shot overcharge ammo_diff attach
@psykzz
psykzz / raidbots-runner.js
Created February 18, 2020 00:07
Login and run droptimizer
const puppeteer = require('puppeteer');
const username = "EMAIL";
const password = "PASSWORD";
const server = "eu"
const server = "ravenholdt"
const server = "kalei"
const mythicLevel = "11"
#
# elvui.ps1
#
# a handy script to update your ElvUI without using tukui addon manager
#
#
# CHANGE THIS.
$addonsDir = "D:\Battle.net\Games\World of Warcraft\_retail_\Interface\AddOns"
!TV5EZPnssa8Vlu1wLtvXjiW4eN9YwfqGeY5aom4n1DBfbcPbqRfA4Kg5x)bF2VUNrsO3cC8LZExv2LT0O5rp90tpD)dHQI6evIg8hUkXvL04vk1Fv9JNt5Akh364LNTqPLsdnvYAvIb(lu75A6xz4W20LzXCGcgQi(TH4Vnf)9e1H1FvlSpNZCmOoD8BIkPJL593R5ySD2egZIBcfP5XxXCgTHBYSDLsISvQZdUQNXsQkziZg(RdDjuXj3TbUEPdZBtqLiM3tHr)0G73l57Urlw4s5QdpRUkXZXsLSIZ34(Ux)6B0wYELj71D(CdY)AA9V(1xRCciS6bIjXLR5WLYRPTP)vlGlDxjUgUJ7yUCj1XvkftclqCPygO55aAxxV50RP2CI3IfM3QsM2TnzYuYK2JHkkEIk5tunl(kqiXXISXs7oOFiUBOwwdm81Bg05qpi1nFQ35x0)YZvj2ARP(ppyCUWHkghYf9ohQb2iYk2nJSHQi(FByAEnfBIN9ozwmNmmD)tpB5ZjAwwsDY10jYQ9fMbSkCSs9DRJbQ4wOIItDS1S(DqPa6rqTdn32CTgQvJQujgGIblCQup5s1z2W00xTzJMcWaSwZ0E)RD4IZ(vFuHrTwCbZe1)DgnzYOVCEV(qZnH9cFeT92oRdO7G1OB3OzBqnqt2foGchwP14A4Qom)0b77(yPYvgs3X96ne6CDnlQ0sK4HDzNoT(ZM)7jl0AgA5pWwO6uG(beXfMlLlKY(0xY62B4KEJfvWWmYUilMMydRPTCFcC5ApypxO1jm828ufRBP56MQudtW0uhk5UupYHbtJKfU56n50)lK7HsvoykRNUV10P5i4ns3dOhGefcfFBGb4XTAi20RhUFCPf7gCnJtVLR0Nb7aLorAeXZq9Cv3mld2n2KBmHv1oqbEUC26jqxD5gdnoSs7f8)YDSycREyNuKldpx6uT5UmN5IDzqTxsTPoM6zU5vuDH3IqzBaoiKfITVm7JEX2pVDM)pHxzUy7m0R0uQ91VsylS
#SingleInstance force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#notrayicon
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
versionnumber := 1.0
Gui, 1:Default
Gui +OwnDialogs
; Title and help text
# Load libraries
import pandas
from pandas.plotting import scatter_matrix
# import matplotlib.pyplot as plt
from sklearn import model_selection
from sklearn.metrics import classification_report
from sklearn.metrics import confusion_matrix
from sklearn.metrics import accuracy_score
console.log('Hello from sw.js');
(function(window, document) {
const styles = `<style id='bless-tooltipstyle'>
.tooltip-hidden {
display: none;
opacity: 0;
}
.tooltip-container {
position: absolute;
font-family: sans-serif;
width: 230px;
const Discord = require("discord.js");
const client = new Discord.Client();
client.on('message', msg => {
if (msg.content === 'time') {
var today = new Date();
msg.reply(`Time: ${today.getHours()}:${today.getMinutes()}:${today.getSeconds()}`);
}
});