Skip to content

Instantly share code, notes, and snippets.

View darianmiller's full-sized avatar

Darian Miller darianmiller

View GitHub Profile
@jimmckeeth
jimmckeeth / SetupRedHat4Delphi23.sh
Last active April 6, 2024 18:09
Installs required packages and sets up Red Hat Linux for Delphi 12.1 Athens development
#!/bin/bash
#
# Download and execute with the following:
# curl -L https://embt.co/SetupRedHat4Delphi22sh | bash
#
echo "updating installed package"
sudo yum upgrade -y
echo "installing development tools"
sudo yum groupinstall 'Development Tools' -y
sudo yum install wget gtk3 mesa-libGL gtk3-devel -y
@darianmiller
darianmiller / SetupSignedCommits.bat
Last active January 19, 2022 16:54
Setup code signing git commits on Windows using GPG
echo Use GnuPG on Windows for Code Signing git commits
@echo off
SETLOCAL
rem useful if running batch file from Explorer with hard-coded passphrase
rem cd /d %~dp0
cls
echo SetupSignedCommits.bat
echo https://gist.github.com/darianmiller/9de8aeb1979ef2eba9ea6069c669bca1
echo Created December 5, 2021
@jimmckeeth
jimmckeeth / SetupUbuntu4Delphi22.sh
Last active April 8, 2024 18:15
This script automates the setup of Ubuntu 22.04 LTS for Delphi 11.3 Alexandria
#!/bin/bash
#
# Download and execute with the following:
# curl -L https://embt.co/SetupUbuntu4Delphi22 | bash
#
echo "Updating the local package directory"
sudo apt update
echo "Upgrading any outdated pacakges"
sudo apt full-upgrade -y
echo "Install new packages necessary for Delphi & FMXLinux"
unit UDebouncedEvent;
interface
uses
System.Classes, System.SysUtils, System.DateUtils, FMX.Types;
type
TDebouncedEvent = class (TComponent)
private