Skip to content

Instantly share code, notes, and snippets.

View Laim's full-sized avatar
😍
.NET

Laim Laim

😍
.NET
View GitHub Profile
@Laim
Laim / lmu_del_sql_jobs.sql
Last active November 15, 2021 17:47
Delete all SQL Jobs that are assigned to LicenseManagerUser
/*
Author: Laim McKenzie
Website: https://laim.scot
Version: 1.0
Modified version of https://sqlgeekspro.com/script-to-delete-sql-agent-jobs/
*/
DECLARE @SQLStatement VARCHAR(200)
DECLARE @jobName SYSNAME
<#
.NOTES
Version : 1.0
Author : Laim McKenzie
Creation Date : 17.05.2021
Purpose : Automation of SSLLabs SSLtests.
Credits : Modified version of script by /u/tramperdk
#>
@Laim
Laim / handbrakePresets.json
Last active February 11, 2022 18:31
Handbrake presets that I use for file size management and plex quality
{
"PresetList": [
{
"ChildrenArray": [
{
"AlignAVStart": true,
"AudioCopyMask": [
"copy:aac"
],
"AudioEncoderFallback": "av_aac",
@Laim
Laim / org_rules.sql
Created March 14, 2022 15:01
Get organisation and autoconnect rules in Snow License Manager
/*
Author: Laim McKenzie
URL: https://gist.github.com/Laim/dee0e030cc6b452d1eafb4b7e48ca9c5
Date: 14-03-2022
*/
SELECT
@Laim
Laim / powershell_messaging_system.ps1
Created March 24, 2022 21:32
Script that allows sending a pre-defined message to Discord or Telegram. Useful for Handbrake when conversions are completed.
<#
.SYNOPSIS
Sends a message to an external provider such as Discord or Telegram
.DESCRIPTION
Script that allows sending a pre-defined message to Discord or Telegram. Useful for Handbrake when conversions are completed.
.PARAMETER messageSystem
Which message system you want to use, Discord or Telegram.
@Laim
Laim / modifiers.txt
Last active August 14, 2023 22:53
I Am Future - Player Modifiers
%USERPROFILE%\AppData\LocalLow\Mandragora\I Am Future\SaveData
-- Go for the NEWEST save, as there is an auto save system. Make sure you're in the main menu or not in-game at all, if you're on the Roof then the changes won't take affect.
Open the json file in a file editor (vscode, notepad++, notepad (not the best for it, massive file))
Ctrl+f, replace the value with the value you want.
=========