Skip to content

Instantly share code, notes, and snippets.

View francescop75's full-sized avatar

Francesco P. Sileno francescop75

View GitHub Profile
@thirdgen88
thirdgen88 / generate-gw-password-hash.sh
Last active May 12, 2023 11:13
Generate a salted hash of password for as Ignition GATEWAY_ADMIN_PASSWORD
#!/usr/bin/env bash
set -eo pipefail
# Global variables
declare -u AUTH_SALT
###############################################################################
# Processes password input and translates to salted hash
###############################################################################
function main() {
@matthewboman
matthewboman / CustomDrushCommands.php
Last active March 8, 2021 15:01
drush 9 command to rebuild Drupal 8.4+ field mappings
<?php
namespace Drupal\custom_drush_commands\Commands;
use Drush\Commands\DrushCommands;
use Drush\Exceptions\UserAbortException;
/**
* Custom drush commands
*/
@shmup
shmup / torrents.md
Last active July 5, 2025 22:03
transmission blocklist guide

Transmission Blocklist

The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.

It's as simple as downloading and installing the latest client: