This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| import time | |
| import pyaudio | |
| # creates the audio sound matching the bomb beeping, then plays the audio at the correct intervals to align with the cs2 bomb beep rate | |
| pa = pyaudio.PyAudio() | |
| def create_beep(duration = 0.1) -> bytes: | |
| data_out = [0] * int(44100 * 0.01) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local component = require("component") | |
| local serialization = require("serialization") | |
| local io = require("io") | |
| local filesystem = require("filesystem") | |
| local thread = require("thread") | |
| local computer = require("computer") | |
| local sides = require("sides") | |
| local RETURN_CHEST = "minecraft:trapped_chest" | |
| function find_transposers() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local robot = require("robot") | |
| local computer = require("computer") | |
| local serialization = require("serialization") | |
| local filesystem = require("filesystem") | |
| local component = require("component") | |
| local sides = require("sides") | |
| local WORK_FILE = "/home/work.dat" | |
| local POS_FILE = "/home/pos.dat" | |
| local SECONDS_PER_BLOCK = 1.75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local component = require("component") | |
| local serialization = require("serialization") | |
| local io = require("io") | |
| local filesystem = require("filesystem") | |
| local thread = require("thread") | |
| local computer = require("computer") | |
| local RETURN_CHEST = "minecraft:trapped_chest" | |
| function find_transposers() | |
| return component.list("transposer") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // paste into your console on https://typing-speed-test.aoeu.eu/ to make it show a really big number | |
| space_down = $.Event("keydown", {keyCode:32}); | |
| space_up = $.Event("keyup", {keyCode:32}); | |
| input_field = $("#input") | |
| while($("#timer").text() > 0) { | |
| target_text = $("#currentword").text() | |
| input_field.val(target_text + " "); |