Skip to content

Instantly share code, notes, and snippets.

View nooitaf's full-sized avatar
🕶️
deal with it

Ralf Brandenstein nooitaf

🕶️
deal with it
View GitHub Profile
@nooitaf
nooitaf / main.go
Created March 30, 2024 23:18
Road to Vostok Public Demo 2 - Shelter.tres generator script
package main
import (
"fmt"
"strings"
)
var WeaponPaths = []string{
"res://Scripts/SlotData.gd",
"res://Items/Ammunition/Ammo/Ammo.tres",
@nooitaf
nooitaf / unsubscribe_unavailable.js
Last active November 1, 2023 16:51 — forked from x4fx77x4f/unsubscribe_unavailable.js
Unsubscribe unavailable Teardown mods
/*
# unsubscribe_unavailable.js
This script will go through your Steam Workshop mod subscriptions for
Teardown mods and unsubscribe from any that are unavailable (e.g. private).
## Usage:
1. Open a tab to any page on the steamcommunity.com domain
2. Open developer tools (Ctrl+Shift+I or F12)
3. Go to "Console" tab
4. Copy and paste the contents of this file into it
4.a.: Don't do this unless you trust me. Malicious code in the developer
@nooitaf
nooitaf / main.py
Created June 22, 2023 19:15
neopixel pico pi
# Example showing how functions, that accept tuples of rgb values,
# simplify working with gradients
import time
import random
import math
from neopixel import Neopixel
from machine import Pin
push_button = Pin(13, Pin.IN) # 13 number pin is input
@nooitaf
nooitaf / config.coffee
Created June 4, 2018 00:44
node-rtsp-rtmp-http-server
module.exports =
#######################
## Basic configurations
#######################
# Server listen port
serverPort: 80
# RTMP server listen port
rtmpServerPort: 1935
@nooitaf
nooitaf / vlcfy.js
Created May 31, 2018 08:11
vlcfy - Javacript Bookmark Tool makes nginx document listing urls usable by Apple Automator Script
javascript:(function(){var els = document.getElementsByTagName('a');for (var i=0;i<els.length;i++){ els[i].innerHTML = els[i].href };return false;})();
# Betaflight / SPRACINGF3EVO (SPEV) 3.3.0 Mar 2 2018 / 04:03:12 (177472b4f) MSP API: 1.37
name MNQX95
resource BEEPER 1 C15
resource MOTOR 1 A00
resource MOTOR 2 A01
resource MOTOR 3 A02
resource MOTOR 4 A03
resource MOTOR 5 A06
resource MOTOR 6 A07
resource MOTOR 7 B00
# version
# BetaFlight/SPRACINGF3EVO 3.0.1 Oct 18 2016 / 10:36:44 (48b7b4f)
# name
name -
# mixer
mixer QUADX
@nooitaf
nooitaf / gist:2468ebc96fa492851dd6d278f58ea3bb
Last active November 11, 2017 13:29
Verifying my Blockstack ID is secured with the address 1HYsEah1hRpPuwApcgTFWo32wpjQHej3vm https://explorer.blockstack.org/address/1HYsEah1hRpPuwApcgTFWo32wpjQHej3vm
Verifying my Blockstack ID is secured with the address 1HYsEah1hRpPuwApcgTFWo32wpjQHej3vm https://explorer.blockstack.org/address/1HYsEah1hRpPuwApcgTFWo32wpjQHej3vm
@nooitaf
nooitaf / motozero.py
Created July 14, 2017 04:59
motozero - test all motors
from gpiozero import Motor, OutputDevice
from time import sleep
motor1 = Motor(24, 27)
motor1_enable = OutputDevice(5, initial_value = 1)
motor2 = Motor(6, 22)
motor2_enable = OutputDevice(17, initial_value = 1)
motor3 = Motor(23, 16)
motor3_enable = OutputDevice(12, initial_value = 1)
motor4 = Motor(13, 18)
@nooitaf
nooitaf / motozero.js
Created July 13, 2017 22:35
johnny-five motozero example
// "johnny-five": "^0.10.13",
// "raspi-io": "^8.0.1",
var Raspi = require('raspi-io');
var five = require('johnny-five');
var board = new five.Board({
io: new Raspi({
enableSoftPwm: true
})
});