Skip to content

Instantly share code, notes, and snippets.

@ethzero
ethzero / gist:7ce518fa7ef9047046f5921408e00b5f
Created April 12, 2025 16:42
Chrome Console from Satisfactory SCIM
interactive-map:70
GET https://hb.vntsm.com/v4/live/vms/sites/satisfactory-calculator.com/index.js net::ERR_ADDRESS_INVALID
js?id=UA-496332-24:100
GET https://www.google-analytics.com/analytics.js net::ERR_ADDRESS_INVALID
sc @ js?id=UA-496332-24:100
YI @ js?id=UA-496332-24:552
@ethzero
ethzero / log_1.txt
Created April 10, 2025 15:58
FanControl error log file covering 2024-07-10
2024-07-10 11:19:21: Open - System.NullReferenceException: Object reference not set to an instance of an object.
at FanControl.NzxtKraken.NzxtKrakenX3.Update()
at FanControl.NzxtKraken.NzxtKrakenPlugin.Update()
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
2024-07-10 11:19:22: Open - System.NullReferenceException: Object reference not set to an instance of an object.
at FanControl.NzxtKraken.NzxtKrakenX3.Update()
at FanControl.NzxtKraken.NzxtKrakenPlugin.Update()
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
@ethzero
ethzero / vlc_hdmiusb_rpi.md
Last active April 27, 2024 14:31
Parameters for Raspberry Pi Desktop using VLC and an HDMI USB Capture Adapter

Open Capture Device > Capture Device

Show more options > Edit Options

:dshow-vdev=USB Video :dshow-adev=Digital Audio Interface (2- USB Digital Audio) :dshow-size=1280×720 :dshow-aspect-ratio=16\:9 :dshow-chroma= :dshow-fps=25 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=0 :dshow-tuner-country=0 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0 :live-caching=300
@ethzero
ethzero / ApacheLogParser.psm1
Last active March 17, 2024 23:44 — forked from sunnyone/ApacheLogParser.psm1
Apache Log Parser for PowerShell
function Read-ApacheLog
{
param(
[Parameter(Mandatory=$true)]
[string]
$Path
)
Get-Content -Path $Path | Foreach-Object {
# combined format
@ethzero
ethzero / Restart-iCue.ps1
Last active June 15, 2025 18:53
Restart PowerShell Script for when the Corsair iCUE software occassionally stop animating RAM LEDs
#requires -version 2
<#
.SYNOPSIS
A PowerShell restart script for when the Corsair iCUE software occassionally stops animating the RAM LEDs
.DESCRIPTION
The script first terminates the iCUE desktop application, then restarts the CorsairLLAService (which acts as data proxy between iCUE and the hardware), then finally relaunches iCUE
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
.INPUTS
@ethzero
ethzero / SQL-Version.sql
Last active June 22, 2023 00:37
SQL Version and Stats Dump
SELECT
@@VERSION AS '@@VERSION',
CASE
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '8%' THEN 'SQL Server 2000'
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '9%' THEN 'SQL Server 2005'
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '10.0%' THEN 'SQL Server 2008'
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '10.5%' THEN 'SQL Server 2008 R2'
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '11%' THEN 'SQL Server 2012'
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '12%' THEN 'SQL Server 2014'
WHEN CONVERT(sysname, SERVERPROPERTY('ProductVersion')) LIKE '13%' THEN 'SQL Server 2016'
@ethzero
ethzero / geoserver
Last active September 26, 2022 22:25 — forked from dancingfrog/geoserver
Sample /etc/init.d script for running GeoServer as a service
#!/bin/sh
### BEGIN INIT INFO
# Provides: GeoServer
# Required-Start: $local_fs $network $named $time $syslog
# Required-Stop: $local_fs $network $named $time $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: GeoServer OGC server
### END INIT INFO
@ethzero
ethzero / shutdown-notification.service
Created May 16, 2022 20:07
/etc/systemd/system/shutdown-notification.service
# Installation:
# sudo wget "<this file>" -O /etc/systemd/system/shutdown-notification.service
# sudo systemctl daemon-reload
# sudo systemctl enable shutdown-notification.service
# sudo systemctl list-unit-files | grep 'shutdown-notification.service'
[Unit]
Description=Shutdown Notification
DefaultDependencies=no
Before=shutdown.target
@ethzero
ethzero / boot-notification.service
Last active May 16, 2022 20:09
/etc/systemd/system/boot-notification.service
# Installation:
# sudo wget "<this file>" -O /etc/systemd/system/boot-notification.service
# sudo systemctl daemon-reload
# sudo systemctl enable boot-notification.service
# sudo systemctl list-unit-files | grep 'boot-notification.service'
[Unit]
Description=Boot Notification
After=network-online.target
Wants=network-online.target
@ethzero
ethzero / logitech-c922-settings.sh
Last active November 1, 2023 16:34
Logitech C922 v4l2-ctl settings. Tuned for 3D Printing timelapse photograph in OctoPrint.
# Logitech C922 v4l2-ctl settings. Tuned for 3D Printing timelapse photography in OctoPrint.
# Copyright (C) 2022 <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of