Skip to content

Instantly share code, notes, and snippets.

@zakcodez
zakcodez / Mathletics Hack Code
Last active October 29, 2023 10:30 — forked from ITHackCentral/Mathletics Hack Code
Use in Live Mathletics
var time = 60; var clock = 300; function TimeHack() {
setInterval(function Applytime() {
document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerText = time; document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerHtml = time;
document.getElementsByClassName('clockHand').rotate = clock;
}, 1);
}; function TimeHackm() {
setInterval(function Addtime() {
time = time + 1;
clock = clock + 6;
}, 1000);
@zakcodez
zakcodez / net-client.js
Last active December 9, 2021 11:23 — forked from sid24rane/net.js
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
const net = require("net");
// creating a custom socket client and connecting it....
const client = new net.Socket();
client.connect({
port: 2222
});
client.on("connect", () => {