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
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* 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 |
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
; [---------------------------------------------------------------------------] | |
; | PID Bed Tune | | |
; |---------------------------------------------------------------------------| | |
; | Printer: Ender 3 Pro | | |
; | Board: BTT SKR Mini E3 v2.0 | | |
; | Extruder: Creality Sprite Direct Drive | | |
; | | | |
; [---------------------------------------------------------------------------] | |
; Auto-tune bed at 60 °C for 8 cycles: https://marlinfw.org/docs/gcode/M303.html |
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
#!/usr/bin/env python3 | |
import re | |
from collections import defaultdict | |
# Path to the auth.log file | |
LOG_FILE = '/var/log/auth.log' | |
# Function to parse the log file and count failed login attempts per IP address | |
def parse_ssh_failed_attempts_by_ip(log_file): |
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 | |
Script to modify a WinPE ISO to prevent the "Press Any Key To Boot From..." prompt for UEFI deployments. | |
.DESCRIPTION | |
Script to modify a WinPE ISO to prevent the "Press Any Key To Boot From..." prompt for UEFI deployments. | |
Modified from: https://www.deploymentresearch.com/a-good-iso-file-is-a-quiet-iso-file | |
.NOTES |
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
#!/usr/bin/env bash | |
die() { | |
echo "[-] Error: $1" >&2 | |
exit 1 | |
} | |
PROGRAM="${0##*/}" | |
ARGS=( "$@" ) | |
SELF="${BASH_SOURCE[0]}" |
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
#!/usr/bin/env bash | |
die() { | |
echo "[-] Error: $1" >&2 | |
exit 1 | |
} | |
PROGRAM="${0##*/}" | |
ARGS=( "$@" ) | |
SELF="${BASH_SOURCE[0]}" |
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
#!/usr/bin/env bash | |
while IFS= read -r line; do | |
git clone "https://github.com/${line}" | |
done <<< "$(gh repo list | cut -f1)" |
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
#!/bin/bash | |
## Function to simply pipe nginx logs to goaccess | |
function _goaccessnginx(){ | |
user_input="${1}" | |
[[ "${user_input}" == "html" ]] | |
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
// ==UserScript== | |
// @name Jira Dark Theme | |
// @version 1.0.0 | |
// @description Dark Theme For Jira | |
// @author @ConnerWill | |
// @include *ENTER-URL-HERE* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net | |
// @grant GM_addStyle | |
// @run-at document-start | |
// ==/UserScript== |
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
#!/bin/env bash | |
### | |
# | |
# Here's what the function does: | |
# | |
# Defines variables for the remote server's username, hostname, directory to be backed up, and the local directory where the backup will be stored. | |
# | |
# It also defines a variable for the path to a file containing any files or directories to be excluded from the backup. | |
# |
NewerOlder