Skip to content

Instantly share code, notes, and snippets.

View Domiii's full-sized avatar

Domi Domiii

View GitHub Profile
@bvaughn
bvaughn / record-with-chromium
Last active June 16, 2024 21:51
record-with-chromium
#!/usr/bin/env node
const { spawn } = require("child_process");
const util = require("node:util");
const exec = util.promisify(require("node:child_process").exec);
async function main() {
let { REPLAY_CHROME, RECORD_REPLAY_API_KEY } = process.env;
if (!REPLAY_CHROME || !RECORD_REPLAY_API_KEY) {
@Domiii
Domiii / TypingClubAutotyper.js
Last active June 11, 2024 21:56
This script types for you automatically on www.typingclub.com: 1. Open the website 2. Blaze past the tutorials 3. Go into a level 4. Open Console 5. Paste the script and press ENTER
/**
* This script types for you automatically on www.typingclub.com:
* 1. Open the website
* 2. Blaze past the tutorials
* 3. Go into a level
* 4. Open Console
* 5. Paste the script and press ENTER
*/
// NOTE: When delay (in ms between two strokes) is too low, the site might bug out and the result page will not be shown
@Domiii
Domiii / RealWorldTerrainRoblox.lua
Last active November 19, 2021 00:10
Import real world terrain into Roblox
--[[
Steps:
1. Download heightmap Bitmap
e.g. from terrain.party: http://terrain.party/api/export?name=guarda&box=10.186055,46.850130,10.080975,46.778264)
e.g. from earthe
Data Sets: NASA LPDAAC Collections -> NASA SRTM (SRTM 3) Collections
2. Use this site to convert BMP to Lua: https://codepen.io/Domiii/pen/oMJvoJ?editors=0010
3. Copy the final Lua code to workspace.TerrainPixels (ModuleScript)
4. Run this script!