Skip to content

Instantly share code, notes, and snippets.

View rngtng's full-sized avatar
🕺
oh yeah...

Tobias Bielohlawek rngtng

🕺
oh yeah...
View GitHub Profile
@rngtng
rngtng / actions.http
Created December 5, 2021 20:51
Testing httpyac action sequence
{{
console.log('Global script')
}}
### Request1
{{
console.log('R1: Local script 1 ' + (typeof response !== 'undefined'));
}}
@rngtng
rngtng / README.md
Last active August 13, 2020 11:18
DASH Button OTA Standalone

I don't get DASH button with OTA ins standalone working. ASAP I add the pwr_en PIN the boot process stops. When I re-connect to creator pro (just GND & reset) it works.

Feels like the battery is to weak or sth?

@rngtng
rngtng / switchITunes.scpt
Created September 4, 2010 09:58
shell/apple script to sich iTunes library easily
tell application "System Events"
set runs to count (every process whose name is "iTunes")
end tell
set lib to do shell script "ls -l ~/Music | grep -i '\\->.*Music/iTunes' | sed 's/^.*iTunes-//g'"
set question to display dialog "iTunes is using '" & lib & "'. Switch to:" buttons {"external", "internal", "swing"} default button lib with icon 2 with title "Choose witch Library to use"
set new_lib to button returned of question
@rngtng
rngtng / Makefile
Created February 19, 2019 23:01
Testing mir:ror based on HIDapi 0.8.0-rc1
test: test.c
gcc -o test -lhidapi test.c
run: test
./test
@rngtng
rngtng / create_shortcuts.scpt
Created October 28, 2010 18:44
AppleScript to create KeyboardShortcuts easily
----------------------------------------------------------------------------------------------------
--
-- Script to automate creation of Keyborad shortcuts
--
----------------------------------------------------------------------------------------------------
GUIScripting_status()
tell application "System Preferences"
activate
reveal anchor "shortcutsTab" of pane id "com.apple.preference.keyboard"
@rngtng
rngtng / ladder.md
Created March 18, 2016 01:01 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
@rngtng
rngtng / config
Created January 14, 2014 16:23
radicale.cfg
[server]
# CalDAV server hostnames separated by a comma
# IPv4 syntax: address:port
# IPv6 syntax: [address]:port
# IPv6 adresses are configured to only allow IPv6 connections
# hosts = 0.0.0.0:5232
# Daemon flag
# daemon = False
#
# File storing the PID in daemon mode
@rngtng
rngtng / nabaztag.ino
Created January 9, 2012 10:41
Simple Arduino NabaztagInjector example sketch
/**
* Simple Arduino NabaztagInjector example sketch
**/
#include <Nabaztag.h>
void setup() {
Nabaztag.begin(0); //0 = standalone
}
@rngtng
rngtng / sc_sumo.c
Created October 12, 2011 09:52
Lego Mindstroms Robot War: Team SoundCloud Firware for RobotC
#pragma config(Sensor, S1, color, sensorCOLORFULL)
#pragma config(Sensor, S4, sonarSensor, sensorSONAR)
#pragma config(Motor, motorA, power, tmotorNormal, PIDControl, encoder)
#pragma config(Motor, motorB, right, tmotorNormal, PIDControl, reversed, encoder)
#pragma config(Motor, motorC, left, tmotorNormal, PIDControl, reversed, encoder)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
/*--------------------------------------------------------------------------------------------------------*\
|* *|
|* - Moving Forward - *|
@rngtng
rngtng / Makefile
Created September 7, 2011 10:08
Example Makefile to compile Arduino logic analyzer on Mac OS X
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
TARGET = logic_analyzer
ARDUINO_LIBS =
AVRDUDE_CONF = /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf
#MCU = atmega328p
MCU = atmega1280
F_CPU = 16000000
ARDUINO_PORT = /dev/tty.usb*