Skip to content

Instantly share code, notes, and snippets.

@LenweSaralonde
LenweSaralonde / linkedin-profile-to-resumé.js
Last active November 23, 2023 16:23
Export your LinkedIn profile as a resumé in print friendly PDF, with projects, experience etc.
View linkedin-profile-to-resumé.js
/**
* How to use
*
* 1. Log into LinkedIn
* 2. Head to https://www.linkedin.com/public-profile/settings
* 3. Fill your e-mail and phone number in the variables below
* 4. Open dev tools with F12
* 5. Copy-paste the whole code in the console and press Enter
* 6. Scroll down to the bottom of the page to make sure all images load properly
* 7. Print the page to PDF
@LenweSaralonde
LenweSaralonde / pico-midi-merger.ino
Last active July 26, 2023 19:34
8-input MIDI merger for Raspberry Pi Pico
View pico-midi-merger.ino
/*
* 8-port MIDI Merger for Raspberry Pi Pico
*/
#include <MIDI.h>
// Using UART0 TX for MIDI Out
// MIDI input GPIO pins numbers
#define GP_IN_1 2 // Physical pin 4
@LenweSaralonde
LenweSaralonde / Preset 1 fixed.sfz
Last active May 27, 2023 18:46
The Leeds Town Hall Organ fixed SFZ presets
View Preset 1 fixed.sfz
<global> tune=-11
<group> seq_length=2
<region> sample=..\..\Samples\PRE1\P_1_Pre1_C0_RR1.wav lokey=0 hikey=12 seq_position=1 end=566196 loop_mode=loop_continuous loopstart=191507 loopend=566195 pitch_keycenter=12 bend_up=200 bend_down=-200 amp_veltrack=100 ampeg_release=0.2 pitchlfo_freq=5
<region> sample=..\..\Samples\PRE1\P_2_Pre1_C0_RR2.wav lokey=0 hikey=12 seq_position=2 end=575988 loop_mode=loop_continuous loopstart=194819 loopend=575987 pitch_keycenter=12 bend_up=200 bend_down=-200 amp_veltrack=100 ampeg_release=0.2 pitchlfo_freq=5
<group> seq_length=2
<region> sample=..\..\Samples\PRE1\P_3_Pre1_C#0_RR1.wav lokey=13 hikey=13 seq_position=1 end=605133 loop_mode=loop_continuous loopstart=204677 loopend=605132 pitch_keycenter=13 bend_up=200 bend_down=-200 amp_veltrack=100 ampeg_release=0.2 pitchlfo_freq=5
<region> sample=..\..\Samples\PRE1\P_4_Pre1_C#0_RR2.wav lokey=13 hikey=13 seq_position=2 end=594231 loop_mode=loop_continuous loopstart=200989 loopend=594230 pitch_keycenter=13 bend_up=200 bend_down=-2
@LenweSaralonde
LenweSaralonde / launch-stream.bat
Last active February 13, 2023 18:01
Example of launch script for Twitch stream
View launch-stream.bat
@echo off
REM Start Twitch bots
start /D "D:\dev\TwitchHueBot" /MIN start.bat
start /D "D:\dev\TwitchMidiSoundBoard" /MIN start.bat
REM using https://github.com/gerardog/gsudo to run as administrator
REM Start main OBS instance
sudo start /D "C:\Program Files\obs-studio\bin\64bit\" obs64.exe --collection "WoW" --profile "Low latency" --multi
REM Start OBS virtual camera
sudo start /D "C:\Program Files\obs-studio\bin\64bit\" obs64.exe --startvirtualcam --minimize-to-tray --collection "Camera" --profile "Virtual Camera" --multi
@LenweSaralonde
LenweSaralonde / .luacheckrc
Created August 28, 2022 10:30
Luacheck boilerplate for WoW add-ons
View .luacheckrc
max_line_length = false
exclude_files = {
"lib", -- 3rd party libraries
};
ignore = {
-- Ignore global writes/accesses/mutations on anything prefixed with the current add-on name
-- This is the standard prefix for all of our global frame names and mixins.
"11./^MyAddonName",
View cameraOverShoulder_macros-cache.txt
VER 3 0000000000666001 "Camera left" "450906"
/run if CAM_MOVER then CAM_MOVER:Cancel() end; CAM_MOVER = C_Timer.NewTicker(1/60, function() SetCVar('test_cameraOverShoulder', GetCVar('test_cameraOverShoulder') - 1) end)
END
VER 3 0000000000666003 "Camera right" "450908"
/run if CAM_MOVER then CAM_MOVER:Cancel() end; CAM_MOVER = C_Timer.NewTicker(1/60, function() SetCVar('test_cameraOverShoulder', GetCVar('test_cameraOverShoulder') + 1) end)
END
VER 3 0000000000666002 "Camera stop" "136106"
/run if CAM_MOVER then CAM_MOVER:Cancel() end;
END
VER 3 0000000000666004 "Camera reset" "134269"
@LenweSaralonde
LenweSaralonde / bloquage_appels_entrants.tsv
Last active February 4, 2022 14:51
Liste anti relous
View bloquage_appels_entrants.tsv
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 7 columns, instead of 1. in line 1.
Nom Numéro Action Jours Heures
Arnaques +33899* Bloque les appels Toute la semaine Toute la journée
Arnaques +33898* Bloque les appels Toute la semaine Toute la journée
Arnaques +33897* Bloque les appels Toute la semaine Toute la journée
Arnaques +33893* Bloque les appels Toute la semaine Toute la journée
Arnaques +33892* Bloque les appels Toute la semaine Toute la journée
Arnaques +33891* Bloque les appels Toute la semaine Toute la journée
Arnaques +33836* Bloque les appels Toute la semaine Toute la journée
Arnaque +33601749926 Bloque les appels Toute la semaine Toute la journée
Arnaque +33644819158 Bloque les appels Toute la semaine Toute la journée
@LenweSaralonde
LenweSaralonde / wow-quests-tts.lua
Created January 25, 2022 20:32
Enable text-to-speech for WoW quest texts
View wow-quests-tts.lua
/run for _, f in pairs({QuestInfoDescriptionText, GreetingText, GossipGreetingText}) do hooksecurefunc(f, "SetText", function(self, text) C_VoiceChat.StopSpeakingText(); C_VoiceChat.SpeakText(0, text or "", 1, 1.5, 100) end) end
@LenweSaralonde
LenweSaralonde / Configuration audio Twitch OBS replay sans DMCA.md
Last active January 1, 2022 20:35
Voici comment streamer sur Twitch en toute tranquillité en utilisant de la musique DMCA en fond sans que celle-ci ne soit présente dans les rediffusions et les clips et éviter de se faire striker.
View Configuration audio Twitch OBS replay sans DMCA.md

Voici comment streamer sur Twitch en toute tranquillité en utilisant de la musique DMCA en fond sans que celle-ci ne soit présente dans les rediffusions et les clips et éviter de se faire striker.

Ce tuto est pour OBS sous Windows 10 uniquement.

Configuration

  1. Acheter et installer les drivers VB Cable ( https://vb-audio.com/Cable/index.htm ) :
    • VB-CABLE Virtual Audio Device (gratuit)
    • VB-Cables A+B (5 €)