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 gen = 1000 | |
| function generate(i) | |
| local num = math.random(0, i) | |
| local part = Instance.new("Part") | |
| part.BrickColor = BrickColor.random() | |
| part.Anchored = true | |
| part.Parent = workspace | |
| part.Position = Vector3.new(num * 2, 1, num * 3) * math.random(0, 200) |
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 UserInputService = game:GetService("UserInputService") | |
| local RunService = game:GetService("RunService") | |
| local Players = game:GetService("Players") | |
| local Building = false | |
| local Mouse = Players.LocalPlayer:GetMouse() | |
| local Brick = script.Part | |
| local function RoundVector3(vector: Vector3) | |
| return Vector3.new( |
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
| const max = 10 | |
| function CreateProgressBar(progress: number) { | |
| if (progress > max) { | |
| console.log(`Progress bar is out of range of ${max}`) | |
| return | |
| } | |
| const progressBar = `${"🟩".repeat(progress)}${"⬛".repeat(max - progress)}` | |
| return progressBar | |
| } |
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
| # written by github:devrusty | |
| # January, 15, 2023 | |
| PONY=twilight; | |
| MSG="close this window for more PONY"; | |
| COUNT=10; | |
| PONIES=("Twilight" "Applejack" "Pinkie" "Fluttershy" "Rarity" "Rainbow Dash" "Celestia" "Luna" "Cadance" "Flurryheart"); | |
| function createPonyWindow { | |
| xterm -bg black -hold -e ponysay -f $PONY $MSG; | |
| } |
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
| # !/bin/bash | |
| # This shell script automates the setup process of creating a barebones Electron project | |
| # w/ TypeSCript and TSC compiler scripts. | |
| echo "= Instantializing NPM project... ="; | |
| npm init -y | |
| npm i electron | |
| npm i tsc typescript electron-packager --save-dev |
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
| psu_watts = int(input("Power supply wattage (w): ")) | |
| price_per_wh = float(input("Price per kilowatt hour (cents): ")) | |
| days = int(input("Days: ")) | |
| total_wattage = psu_watts * (days * 24) | |
| total_price = ((total_wattage / 1000) * price_per_wh) / 100 | |
| print() | |
| print("Total wattage: " + str(total_wattage)) | |
| print("Total price for " + str(price_per_wh) + "c/KWh: $" + str(total_price)) |
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
| // my very first Rust program | |
| // an HTTP server which nobody should *ever* use | |
| use std::io::*; | |
| use std::path::Path; | |
| use std::thread; | |
| use std::fs; | |
| use std::env; | |
| use std::str; | |
| use std::net::{TcpListener, TcpStream}; |
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
| Last updated: May 20, 2026 | |
| TranslateYourReviews ("the Extension") is committed to protecting your privacy. This policy explains how the | |
| extension handles data. | |
| DATA COLLECTION AND USAGE | |
| The extension reads review text on RateYourMusic.com solely to perform translations when requested by the user. This text is transmitted to a developer-operated proxy server for processing. | |
| No browsing activity, user activity, or personal information is tracked, logged, or shared. |