^(\w)
\U$1
<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 |
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 | |
} |
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 | |
}); |
import re | |
str = "ab-ab" | |
regex = r"(\w+)\-(\w+)" | |
matches = re.search( regex, str ) | |
print( list(matches.groups()) ) | |
## ['ab', 'ab'] |
;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 |
-- TrackRouting2dot, v0.1, M Fabian (Mod by X-Raym | |
-- Goes through the current project and generates a file (png or gif or jpg or...) | |
-- that graphically displays the track routing within the project | |
-- Uses the dot layout engine, available in the Graphviz package from http://graphviz.org/ | |
-- TODO: | |
-- * DONE! - Add send and receive channels at the respective ends of the arrows | |
-- * DONE! - Add "implicit" sends from children to parents, hatched lines | |
-- * Make edges orthogonal (splines=ortho should fix that but doesn't, probably not possible) | |
-- * DONE! - Make the track colors more like what the colors actually look in Reaper | |
-- * DONE! - Distinhguish MIDI sends |
<REAPER_PROJECT 0.1 "7.39/win64" 1749458125 | |
RIPPLE 0 0 | |
GROUPOVERRIDE 0 0 0 | |
AUTOXFADE 129 | |
ENVATTACH 0 | |
POOLEDENVATTACH 0 | |
MIXERUIFLAGS 11 48 | |
PEAKGAIN 1 | |
FEEDBACK 0 | |
PANLAW 1 |