- lazarus 2.2.2 (win64 + cross win32): https://sourceforge.net/projects/lazarus (Lazarus Windows 64 bits / Lazarus 2.2.2)
- win64:
lazarus-2.2.2-fpc-3.2.2-win64.exe
- cross win32:
lazarus-2.2.2-fpc-3.2.2-cross-i386-win32-win64.exe
- win64:
- visual studio build tools: https://visualstudio.microsoft.com/downloads/
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
shopt -s inherit_errexit | |
confirm="${1:-no}" | |
series="${PWD##*/}" |
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
#!/usr/bin/env bash | |
domain="${1}" | |
hsts_preload_url="https://github.com/chromium/chromium/raw/main/net/http/transport_security_state_static.json" | |
curl -Ls "${hsts_preload_url}" | grep -Piv "^$|^\s*//" | jq -e ".entries[] | select(.name == \"${1}\")" | |
exit_code="${?}" | |
printf "\n" | |
test "${exit_code}" -eq 0 && printf "true" || printf "false" |
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
#Requires -Version 5.1 | |
Set-StrictMode -Version Latest | |
if ($args.Length -eq 0) { | |
$shell = New-Object -ComObject WScript.Shell | |
$shortcut = $shell.CreateShortcut($PSCommandPath.Replace(".ps1", "") + " (Drag'n'Drop).lnk") | |
$pwsh = "pwsh" | |
if (!$(Get-Command pwsh -ErrorAction SilentlyContinue)) { | |
Write-Output "PowerShell (pwsh) not found, falling back to Windows PowerShell (powershell)" | |
$pwsh = "powershell" |
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
#Requires -PSEdition Core | |
[CmdletBinding()] | |
param ( | |
[Parameter(ParameterSetName = "enable")] | |
[switch] | |
$On, | |
[Parameter(ParameterSetName = "disable")] | |
[switch] | |
$Off, |
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
// https://amazon.de/gp/video/mystuff/library/all | |
// adjust based on connection speed | |
let counter = 3; | |
if (document.readyState === "complete") await mainPrimeVideoLibrary(counter); | |
else alert("Please run this script after the webpage finished loading!"); | |
async function mainPrimeVideoLibrary(counter) { | |
const sleep = async (ms) => |
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
#!/usr/bin/env bash | |
DIR_KOTLIN="${HOME}/kotlin" | |
GIT_KOTLIN="jetbrains/kotlin" | |
PORT_CA_ROOT="security/ca_root_nss" | |
PORT_GIT="devel/git" | |
PORT_JDK="java/openjdk17" | |
PORT_JQ="textproc/jq" | |
for PORT in "${PORT_CA_ROOT}" "${PORT_GIT}" "${PORT_JDK}" "${PORT_JQ}" |
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
#!/usr/bin/env python3 | |
import os | |
import toml | |
from email import message_from_bytes, policy | |
from email.message import EmailMessage | |
from enum import Enum | |
from html import escape | |
from imaplib import IMAP4, IMAP4_SSL | |
from smtplib import SMTP, SMTP_SSL |
- Open a chat on ChatGPT
- Create a bookmark in your browser and paste
javascript:
followed by the minified code into the URL input field (Bookmarklet) - Alternatively: Open the browser DevTools (F12) and paste the code into the console
terser --compress --mangle --output chatgpt-wide.min.js chatgpt-wide.js
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
shopt -s inherit_errexit | |
if test -z "${FFMPEG_VERSION:-}" | |
then | |
echo "You need to set the FFMPEG_VERSION environment variable (see https://git.ffmpeg.org/gitweb/ffmpeg.git/tags)" |
NewerOlder