This file contains hidden or 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
obs = obslua | |
module_description = "Sets a text source to act as a digital clock." | |
source_name = "" | |
date_format = "%c" | |
last_text = "" | |
last_timer = 30 |
This file contains hidden or 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 Firefox Directory Index Music Player | |
// @namespace Generic scripts | |
// @match file:///C:/Users/**/* | |
// @grant none | |
// @version 1.1 | |
// @author frabarz | |
// ==/UserScript== | |
const entries = Array.from(document.querySelectorAll("a.file[href$='.mp3']"), node => { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
# Sources: | |
# - https://cipherli.st/ | |
# - https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html | |
# - https://haydenjames.io/nginx-tuning-tips-tls-ssl-https-ttfb-latency/ | |
ssl_protocols TLSv1.2 TLSv1.3; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; | |
ssl_session_cache shared:SSL:10m; |
This file contains hidden or 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
function Load-DotEnv { | |
[CmdletBinding(SupportsShouldProcess, ConfirmImpact = 'Low')] | |
param( | |
[Parameter(Position = 0)] | |
[string] | |
$Path = ".\.env" | |
) | |
if (Test-Path $Path) { | |
$content = Get-Content $Path -ErrorAction Stop |
This file contains hidden or 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
function Load-SSHAgent { | |
$registryPath = "HKCU:\Volatile Environment" | |
$registryItem = Get-ItemProperty -Path $registryPath | |
if ( !$registryItem.SSH_AGENT_PID ) { | |
Write-Host "Initiating a new SSH Agent instance" | |
[string]$output = ssh-agent | |
$lines = $output.Replace("/", "\").Replace("\tmp", $env:TEMP).Split(";") |