Skip to content

Instantly share code, notes, and snippets.

@karaeren
karaeren / winget-package-install.ps1
Last active October 14, 2025 08:32
Install multiple packages with winget (and install winget if does not exist).
# Create a file named "winget.txt" in the same directory as this script.
# Write exact names for packages on each line.
# Ex: filename: winget.txt
# Microsoft.Edge
# Google.Chrome
Write-Host "Checking winget..."
Try{
# Check if winget is already installed
@Higgs1
Higgs1 / _Factory Idle Mods.md
Last active January 29, 2023 02:52
Foxxie's Fantastical Factory Idle Mods

Foxxie's Fantastical Factory Idle Mods

Welcome to my collection of fantastically fabulous fox Factory Idle mods. All of these mods are completely free under the Hug-Ware license: "If we meet some day, and you think this stuff is worth it, you can give me a hug in return."

These mods do various neat things to help enhance your Factory Idle playing experience. Here's a short description of each and a link to automatically install them (assuming you already have the required software installed).

Enable Right Click Context Menu [disable right click.user.js]

Makes your normal right clicky context menu pop up when you right click, except in the map area so you can still delete things.

const i = 'gfudi';
const k = s => s.split('').map(c => String.fromCharCode(c.charCodeAt() - 1)).join('');
self[k(i)](urlWithYourPreciousData);
@ozdemirburak
ozdemirburak / cities_of_turkey.json
Last active September 26, 2025 07:46
List of cities in Turkey presented in JSON format with the information of name, latitude, longitude, population and region.
[
{
"id": 1,
"name": "Adana",
"latitude": "37.0000",
"longitude": "35.3213",
"population": 2183167,
"region": "Akdeniz"
},
{
// Slightly modified Adalight protocol implementation that uses FastLED
// library (http://fastled.io) for driving WS2811/WS2812 led stripe
// Was tested only with Prismatik software from Lightpack project
#include "FastLED.h"
#define NUM_LEDS 114 // Max LED count
#define LED_PIN 6 // arduino output pin
#define GROUND_PIN 10
#define BRIGHTNESS 255 // maximum brightness