Skip to content

Instantly share code, notes, and snippets.

View Lazza's full-sized avatar

Andrea Lazzarotto Lazza

View GitHub Profile
@munho
munho / left_fn.json
Created June 3, 2020 23:55
Home, End, Page Up, Page Down keys for Logitech K380 (with Logitech Options uninstalled for fn and installed for option)
{
"title": "Home, End, Page Up, Page Down keys for Logitech K380 (with Logitech Options uninstalled)",
"rules": [
{
"description": "Change left arrow + fn to home",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
@slaFFik
slaFFik / wpms-smtp-disable-ssl-verify.php
Last active October 30, 2024 12:05
WP Mail SMTP: when using SMTP mailer - disable SSL verify on PHP 5.6+
<?php
add_filter('wp_mail_smtp_custom_options', function( $phpmailer ) {
$phpmailer->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
@AJFaraday
AJFaraday / disclaimer.txt
Last active September 26, 2019 09:27
Email disclaimer
I am not now, nor have I ever been, bound in law
by conditions presented in the footer of communications
from parties with whom I have no verbal, implied, literal
or otherwise contract.
By opening this email you have agreed to provide Mr Andrew
Faraday with your organisation's contact database, tangible
assets and outstanding shares free of charge and at your
personal expense.