This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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. | |
========= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: Laim McKenzie | |
URL: https://gist.github.com/Laim/dee0e030cc6b452d1eafb4b7e48ca9c5 | |
Date: 14-03-2022 | |
*/ | |
SELECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit On | |
Imports System.IO | |
Imports System | |
Imports System.Text | |
Public Class Form1 | |
'' | |
Private Const SPI_SETDESKWALLPAPER = 20 | |
Private Const SPIF_UPDATEINIFILE = &H1 | |
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByVal lpvParam As String, ByVal fuWinIni As Integer) As Integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"PresetList": [ | |
{ | |
"ChildrenArray": [ | |
{ | |
"AlignAVStart": true, | |
"AudioCopyMask": [ | |
"copy:aac" | |
], | |
"AudioEncoderFallback": "av_aac", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.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 | |
#> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#<-----------------------------------------># | |
# > Author: Laim McKenzie | |
# > Date: 29-07-2021 | |
# > Description: This script can be ran under a Scheduled Task and collect log files from the Source Directory and copy to the Destination Directory | |
# > Pre-requisites: | |
# > 1. You need to ensure the Source Directory exists | |
# > 2. You need to ensure the Desitnation Directory exists | |
# > 3. The account running the scheduled task (if ran under one) needs to have access to both directories | |
# > Copyright (c) 2021 Laim McKenzie | |
#<-----------------------------------------># |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Modified version of https://blog.sqlauthority.com/2017/03/12/get-status-running-backup-restore-sql-server-interview-question-week-113/ | |
Author: Laim McKenzie | |
Available from https://gist.github.com/laim | |
Copyright (c) 2021 laim.scot | |
*/ | |
SELECT r.session_id AS [Session_Id] | |
,r.command AS [command] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: Laim McKenzie | |
Website: https://laim.scot | |
Version: 1.0 | |
You can view the Hidden Software count using this script | |
SELECT COUNT(*) FROM SnowLicenseManager.dbo.tblSoftware WHERE IsHidden = 1 | |
*/ |
NewerOlder