Skip to content

Instantly share code, notes, and snippets.

View linushstge's full-sized avatar

Linus Hstge linushstge

View GitHub Profile
@mrpeardotnet
mrpeardotnet / PMG-Enable Avast Antivirus.md
Created January 30, 2020 09:50
Enable Avast AV (Avast Business Antivirus) security in Proxmox Mail Gateway (PMG)

Enable Avast AV (Avast Business Antivirus) security in Proxmox Mail Gateway (PMG) 6.x

This cheatsheet shows how to install and enable Avast antivirus (Avast Business Antivirus for Linux) on your PMG server.

Please note that Avast Business Antivirus for Linux is not provided for free and you need to buy license. You can test it for free after requesting trial license.

Prepare the apt package manager

Download and install avast.gpg key:

wget -q -O - https://files.avast.com/files/resellers/linux/avast.gpg | apt-key add -
@peteryates
peteryates / guide.md
Last active May 6, 2024 10:49
How to stop adverts appearing on your Samsung TV

I'm getting adverts in my TV's UI, help!

Samsung's otherwise excellent 2016 range of UHD TVs received an update that added advertisements to the UI. This has been complained about at great length on Samsung's forums and repeatedly, Samsung have refused to add an option to remove them.

The ads interrupt the clean UI of the TV and are invasive. Here's an example of how they look:

one two

This guide was originally posted on Samsung's TV forums but unfortunately, that site is a super-slow and barely accessible unusable mess.

@mremond
mremond / boxcar_push.php
Created February 6, 2014 11:36
Send a Boxcar notification to your device in PHP
<?php
curl_setopt_array(
$chpush = curl_init(),
array(
CURLOPT_URL => "https://new.boxcar.io/api/notifications",
CURLOPT_POSTFIELDS => array(
"user_credentials" => 'ACCESS_TOKEN',
"notification[title]" => 'message title',
"notification[long_message]" => '<b>Some text or HTML for the full layout page notification</b>',