Skip to content

Instantly share code, notes, and snippets.

View Column01's full-sized avatar
🖥️
Learning new things every day!

Colin Column01

🖥️
Learning new things every day!
View GitHub Profile
@Column01
Column01 / batchMine.js
Last active April 22, 2024 15:06
Batch miner for the bitburner game
//
//Main script for batch mining
//
/** @param {NS} ns */
export async function main(ns) {
ns.disableLog("sleep");
var target = ns.args[0];
@Column01
Column01 / E3_Bed_Level.gcode
Last active November 3, 2020 20:39
GCODE used to help with manual leveling of the ender 3 print bed.
; THIS ASSUMES YOUR PRINT BED IS THE SAME SIZE AS STOCK THE ENDER 3
; Author: Colin Andress
; Last modified date: November 2nd 2020
G28 ; Home axes
G21 ; Set units to MM just in case
G90 ; Set positioning to absolute mode
; Y:15, X:15
G0 Z10.0 F3000 ; Move Z to 10mm
@Column01
Column01 / index.html
Last active December 23, 2019 00:55
Recursion hard at work sanitizing user input for XSS methods. Try to break it if you can!
<html>
<head>
<title>Simple login</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"> </script>
</head>
<body>
<script>
function validateForm() {
var form = document.forms['testform'];
console.log(form)