Skip to content

Instantly share code, notes, and snippets.

@v-jacob
v-jacob / whitelist.txt
Created April 22, 2025 16:33
AdGuard Home Whitelist
!Google Maps and other Google Services
@@||clients4.google.com
@@||clients2.google.com
!Google Play
@@||android.clients.google.com
!Google Keep
@@||reminders-pa.googleapis.com
@@||firestore.googleapis.com
@v-jacob
v-jacob / Mailhog Bash Script (systemd)
Last active September 1, 2024 15:47
Mailhog setup with systemd
#!/usr/bin/env bash
echo ">>> Installing Mailhog"
# Download binary from github
wget --quiet -O ~/mailhog https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64
# Make it executable
chmod +x ~/mailhog
@v-jacob
v-jacob / MailTestHelper.php
Last active November 29, 2021 04:27
Mailhog PHPUnit Test Helper
<?php
use GuzzleHttp\Client;
trait MailTestHelper
{
/**
* @var \GuzzleHttp\Client
*/
protected $client;
@v-jacob
v-jacob / Mailhog Bash Script (upstart)
Last active December 5, 2018 12:22
Mailhog Bash Script
#!/usr/bin/env bash
echo ">>> Installing Mailhog"
# Download binary from github
wget --quiet -O ~/mailhog https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64
# Make it executable
chmod +x ~/mailhog