Skip to content

Instantly share code, notes, and snippets.

View X-Raym's full-sized avatar

Raymond Radet X-Raym

View GitHub Profile
@X-Raym
X-Raym / X-Raym_Wiimote to Nav Keys Keyboard.noisette
Last active May 20, 2026 10:29
WiiMote to Arrows Keys è Useful for Slideshow / powerpoint / canva / slides presentation with Chataigne
{"metaData": {"version": "1.10.3", "versionNumber": 68099}, "projectSettings": {"containers": {"dashboardSettings": {"parameters": [{"value": "", "controlAddress": "/showDashboardOnStartup", "enabled": false}]}, "customDefinitions": {}}}, "dashboardManager": {"parameters": [{"value": false, "controlAddress": "/editMode"}], "viewOffset": [0, 0], "viewZoom": 1.0}, "parrots": {"viewOffset": [0, 0], "viewZoom": 1.0}, "layout": {"mainLayout": {"type": 1, "width": 1970, "height": 1109, "direction": 2, "shifters": [{"type": 1, "width": 1970, "height": 1109, "direction": 1, "shifters": [{"type": 1, "width": 452, "height": 1109, "direction": 2, "shifters": [{"type": 0, "width": 452, "height": 657, "currentContent": "Modules", "tabs": [{"name": "Modules"}]}, {"type": 0, "width": 452, "height": 445, "currentContent": "Logger", "tabs": [{"name": "Warnings"}, {"name": "Help"}, {"name": "Logger"}]}]}, {"type": 0, "width": 938, "height": 1109, "currentContent": "State Machine", "tabs": [{"name": "Dashboard"}, {"name": "Stat
<REAPER_PROJECT 0.1 "7.42/win64" 1753519046
RIPPLE 0 0
GROUPOVERRIDE 0 0 0
AUTOXFADE 129
ENVATTACH 0
POOLEDENVATTACH 0
MIXERUIFLAGS 11 48
PEAKGAIN 1
FEEDBACK 0
PANLAW 1
9:57:56 OSC /a : 0
9:57:56 OSC /a : 0.00134286
9:57:56 OSC /a : 0.00268571
9:57:56 OSC /a : 0.00396753
9:57:56 OSC /a : 0.00402857
9:57:56 OSC /a : 0.00531038
9:57:56 OSC /a : 0.00665324
9:57:56 OSC /a : 0.00799609
9:57:56 OSC /a : 0.00933895
9:57:56 OSC /a : 0.0106818
<REAPER_PROJECT 0.1 "7.27/win64" 1731943708
RIPPLE 0
GROUPOVERRIDE 0 0 0
AUTOXFADE 129
ENVATTACH 0
POOLEDENVATTACH 0
MIXERUIFLAGS 11 49
PEAKGAIN 1
FEEDBACK 0
PANLAW 1
@X-Raym
X-Raym / StrToUniqueCharactersArr.js
Created November 8, 2024 08:38
String to array of unique characters JavaScript
function StrToUniqueCharactersArr(str) {
str = str.split("") // Array of chars from str
let set = new Set(str) // Set of unique values from array
return [...set] // Convert set to array
}
@X-Raym
X-Raym / script.js
Created November 7, 2024 10:21
Javascript match all substring instances via regex and return array
const htmlString = "Normal normal <u>souligné</u> normal normal <u>souligné</u>";
const regex = /<u>(.+?)<\/u>/g;
let matches;
const results = [];
while ((matches = regex.exec(htmlString)) !== null) {
results.push({
match: matches[1],
index: matches.index
});
@X-Raym
X-Raym / python regex.py
Created October 21, 2024 18:20
Python regex match to list / array
import re
str = "ab-ab"
regex = r"(\w+)\-(\w+)"
matches = re.search( regex, str )
print( list(matches.groups()) )
## ['ab', 'ab']
@X-Raym
X-Raym / XR_Toggle focused window titlebar.ahk
Created July 18, 2024 23:32
Toggle focused window titlebar on Windows with Auto-Hot Key v2.
;ALT+Q
!q:: {
WinSetStyle "^0xC00000", "A" ;caption
;WinSetStyle "^0x40000", "A" ;sizebox
WinSetStyle "^0x800000", "A" ;border
}
desc:MIDI Pad audio meter
// based on Akai LPD8 VU meter by Tale
// Mod by X-Raym
// https://forum.cockos.com/showthread.php?t=290733
slider1:pads=4<1,16,1>Pads per Row
slider2:range_min=-20<-150,12,1>Range Min (dB)
slider3:range_max=0<-150,12,1>Range Max (dB)
slider4:midi_note_dest=36<1,127,1>MIDI Note Start
@X-Raym
X-Raym / Deezer Cookie Partners
Created March 6, 2024 11:08
List of Advertisement companies, web trackers and commercial partners for cookies data from on major Music Streaming website (Deezer, Spotify). Diff check to see the common partners and the different one.