Skip to content

Instantly share code, notes, and snippets.

View Packetdancer's full-sized avatar
🏠
Working from home

Rachel Blackman Packetdancer

🏠
Working from home
View GitHub Profile
@Packetdancer
Packetdancer / palworld.ahk
Last active January 31, 2024 10:54
A simple AutoHotkey v2 script to make Palworld's controls slightly less painful.
; Palworld "save my poor hand" convenience script
;
; Holding 'f' will now toggle it being held even if you release it, as long
; as the hold falls within the start/end times (in the configuration section).
;
; Double-tapping 'w' quickly will toggle on auto-run, letting you keep moving
; forward.
; Configuration ---------
@Packetdancer
Packetdancer / SimpleHotkeyLibrary.h
Last active April 12, 2024 11:23
Unreal Engine Blueprint node to generate Windows key presses.
// SIMPLE WINDOWS HOTKEY GENERATOR NODE
// Rachel "Packetdancer" Blackman @ Rooibot Games
//
// This is intended to allow people to trigger external applications via global hotkeys, similar to how Unreal
// itself handles Control-Alt-F11 for Live Coding rebuild. It *only* works on Windows, as a side note, but people
// can certainly feel free to modify it to add macOS or Linux hotkey support as well. It is mostly useful for
// editor scripting to help with workflow.
//
// Original thread: https://forums.unrealengine.com/t/simulate-press-key/511935/5
//
@Packetdancer
Packetdancer / flutter-gradle-fix.patch
Created October 23, 2018 19:16
Quick patch to Flutter 0.9.4 to reference in a Docker automated build container, so builds work again.
diff -u -r a/flutter/packages/flutter_tools/gradle/flutter.gradle b/flutter/packages/flutter_tools/gradle/flutter.gradle
--- a/flutter/packages/flutter_tools/gradle/flutter.gradle 2018-10-23 11:36:42.000000000 -0700
+++ b/flutter/packages/flutter_tools/gradle/flutter.gradle 2018-10-23 11:38:17.000000000 -0700
@@ -18,6 +18,7 @@
buildscript {
repositories {
+ google()
jcenter()
maven {
@Packetdancer
Packetdancer / synbulb.lua
Last active July 18, 2018 22:46
Sample BlueSee Lua script to speak to a Synapse Connected Lightbulb demo (SynBulb)
local bluesee = require "bluesee"
-- define the service
local synbulb_service_uuid = bluesee.UUID.new('94e395bc-0ef8-4830-850d-9d16e485bcf0')
bluesee.set_display_name(synbulb_service_uuid, 'Synapse Connected Lightbulb')
bluesee.set_display_category(synbulb_service_uuid, bluesee.ui)
-- define characteristics
local light_uuid = bluesee.UUID.new('98aaf60d-4171-46f3-b79a-1922da67d0cc')
local morse_uuid = bluesee.UUID.new('36614ba0-ef61-4d1d-9e8b-3bc9c6271e59')
@Packetdancer
Packetdancer / template.lua
Created July 18, 2018 22:37
Simple sample BlueSee Lua script template
-- Simple Sample Service Template for BlueSee
--
-- Uses the BlueSee Lua API: https://www.synapse.com/bluesee/api
--
local bluesee = require "bluesee"
-- define the service
local service_uuid = bluesee.UUID.new('239e0c54-43ff-4371-bad7-c7c307c547f3')