Skip to content

Instantly share code, notes, and snippets.

View turbulentie's full-sized avatar

turbulentie turbulentie

  • France
View GitHub Profile
@turbulentie
turbulentie / dsd2flac.sh
Last active July 9, 2021 10:55
convert DSD to FLAC using dsf2flac bin
#!/bin/bash
# -----------------------------------------------------------------------------
# dsd2flac: convert DSD to FLAC using dsf2flac bin
# -----------------------------------------------------------------------------
function dsd2flac() {
shopt -s nullglob # Sets nullglob
OUTDIR="${PWD##*/} [FLAC 24-88200]"
rm -f *.flac && rm -rf "$OUTDIR"
@turbulentie
turbulentie / iommu-group.sh
Created July 9, 2021 10:57
show group of devices for KVM passthrough
#!/bin/bash
# -----------------------------------------------------------------------------
# iommu-group: show group of devices for KVM passthrough
# -----------------------------------------------------------------------------
iommu-group() {
for d in /sys/kernel/iommu_groups/*/devices/*; do
n=${d#*/iommu_groups/*};
n=${n%%/*};
@turbulentie
turbulentie / moc.sh
Created July 9, 2021 11:32
script for conky to show MOC playback info
#!/bin/bash
state=$(mocp -Q %state)
mocp_status() {
if [[ $state == "PLAY" ]]; then
state="Playing"
echo $state
elif [[ $state == "STOP" ]]; then
state="Stopped"
@turbulentie
turbulentie / ffmpeg_riff-to-rf64.bat
Last active May 3, 2023 18:36
Small batch script for converting RIFF WAV files to RF64 using ffmpeg
@echo off
::-----------------------------------------------------------------------------
:: Small batch script for converting RIFF WAV files to RF64 using ffmpeg
:: Location of ffmpeg binary should be sets globally or via PATH= env ^
::-----------------------------------------------------------------------------
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:Loading
@turbulentie
turbulentie / sysctl.conf
Created May 8, 2023 04:58
config /etc/sysctl.conf
# -----------------------------------------------------------------------------
# file: /etc/sysctl.conf > /etc/sysctl.d/99-sysctl.conf
# -----------------------------------------------------------------------------
#
# updated: 2020/11/24
# revision: 2
#
# -----------------------------------------------------------------------------
@turbulentie
turbulentie / mpl_Generate CUE from project markers.lua
Created May 19, 2023 11:31
Generate CUE from project markers v1.07
-- @description Generate CUE from project markers
-- @version 1.07
-- @author MPL
-- @website https://forum.cockos.com/showthread.php?t=188335
-- @changelog
-- # 1-based markers count
-- # exculde number sign from marker name
function patternamtch(nameOut) return nameOut:gsub('%s',''):sub(0,1) end
@turbulentie
turbulentie / mpl_Generate CUE from project markers.lua
Created May 19, 2023 11:33
Generate CUE from project markers v1.03
-- @description Generate CUE from project markers
-- @version 1.03
-- @author MPL
-- @website https://forum.cockos.com/showthread.php?t=188335
-- @changelog
-- + Add save file dialog (require JS ReaScript API Extension)
function main()
local scr_name = 'MPL Generate CUE from markers'
diff --git a/irc.pas b/irc.pas
index d83593a..a34603b 100644
--- a/irc.pas
+++ b/irc.pas
@@ -159,6 +159,7 @@ procedure irc_AddINFO(const msgFormat: String; Args: array of const); overload;
function CommandAuthorized(const netname, channel, cmd: String): Boolean;
procedure irc_SendAddPre(const msgirc: String);
+procedure irc_SendAddPreStandard(const msgirc: String);
procedure irc_SendSPEEDSTATS(const msgirc: String);
@echo off
color 0B
mode con:cols=100 lines=20
if not defined WEISAR_HOME set WEISAR_HOME=%~dp0
start "" /realtime saracon.exe