Skip to content

Instantly share code, notes, and snippets.

View catrielmuller's full-sized avatar

Catriel Müller catrielmuller

View GitHub Profile
@catrielmuller
catrielmuller / README.md
Created April 14, 2022 18:44
Cardano Nodes ARM

/home/ubuntu/cardano/data /home/ubuntu/cardano/ipc

MAINNET

docker run --detach
--name=mainnet
-p 3001:3001
-e CARDANO_NETWORK=mainnet
-v /home/ubuntu/cardano/mainnet/data:/opt/cardano/data \

@catrielmuller
catrielmuller / README.md
Last active October 3, 2024 22:20
ArchLinux ElGato FaceCam - Chrome V4L2Loopback

ArchLinux ElGato FaceCam - Chrome V4L2Loopback

IMPORTANT

This is not required any more, you need upgrade your firmware to the version +4.09 using ElGato Cammera Hub

https://help.elgato.com/hc/en-us/articles/4406041241997-Elgato-Facecam-Firmware-Update

Changes in firmware 4.09

  • Added MJPEG as a fallback video format. MJPEG requires less USB bandwidth and improves compatibility with programs that cannot handle uncompressed video.
@catrielmuller
catrielmuller / log.txt
Created August 14, 2021 17:41
vkd3d: Only disable raster based on SO stream if SO is used. #767
WARNING: radv is not a conformant Vulkan implementation, testing use only.
0104:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0104:err:winediag:check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0104:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0110:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000003D5FE10
warn: DXGIDeclareAdapterRemovalSupport: Stub
warn: CreateDXGIFactory2: Ignoring flags
info: Game: Game.exe
info: DXVK: v1.9.1-3-geb95a9fb
lsusb -vd 048D:
Bus 003 Device 003: ID 048d:8297 Integrated Technology Express, Inc. IT8297 RGB LED Controller
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
sudo usbhid-dump -d 048D
003:003:000:DESCRIPTOR 1596455092.605593
06 89 FF 09 10 A1 01 85 5A 09 01 15 00 26 FF 00
75 08 95 10 B1 00 C0 06 89 FF 09 CC A1 01 85 CC
09 01 15 00 26 FF 00 75 08 95 3F B1 00 C0
003:012:000:DESCRIPTOR 1596455092.607545
06 89 FF 09 10 A1 01 85 5A 09 01 15 00 26 FF 00
75 08 95 10 B1 00 C0 06 89 FF 09 CC A1 01 85 CC
09 01 15 00 26 FF 00 75 08 95 3F B1 00 C0
catrielmuller@lolita  ~/Dev/OpenRGB   master  lsusb -vd 048D:
Bus 003 Device 003: ID 048d:8297 Integrated Technology Express, Inc. IT8297 RGB LED Controller
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
✘ catrielmuller@lolita  ~  LIBGL_DEBUG=verbose steam-native
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is disabled by the user
/home/catrielmuller/.local/share/Steam/ubuntu12_32/steam
Installing breakpad exception handler for appid(steam)/version(1579321278)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/catrielmuller/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/catrielmuller/.drirc: No such file or directory.
libGL: pci id for fd 8: 1002:731f, driver radeonsi
catrielmuller@lolita  ~  LIBGL_DEBUG=verbose steam-runtime
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/catrielmuller/.local/share/Steam/ubuntu12_32/steam
Installing breakpad exception handler for appid(steam)/version(1579321278)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/catrielmuller/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/catrielmuller/.drirc: No such file or directory.
@catrielmuller
catrielmuller / diff_dates_array.php
Created March 14, 2019 10:45
Get an Array of dates between 2 dates, one element per day
<?php
function diffDatesArray($from, $to, $formatInput, $formatOutput) {
$out = [];
$fromDate = DateTime::createFromFormat($formatInput, $from);
$toDate = DateTime::createFromFormat($formatInput, $to);
$interval = date_diff($fromDate, $toDate);
$daysInterval = intval($interval->format('%d'));
for ($i = 0; $i <= $daysInterval; $i++) {
$nextDay = clone $fromDate;
if($i >= 1){
@catrielmuller
catrielmuller / app.json
Created September 8, 2016 14:27
PM2 Sails
{
"apps" : [{
"name": "sails",
"script": "app.js",
"watch": true,
"ignoreWatch" : [".tmp",".idea","views","node_modules"],
"node_args": ["--debug=5860"]
}]
}