This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
@echo off | |
set VboxManageEXE="%VBOX_MSI_INSTALL_PATH%\VBoxManage.exe" | |
set ListRunningVMS=%VboxManageEXE% list runningvms | |
for /f tokens^=2^,4^ delims^=^" %%p in ('%ListRunningVMS%') do ( | |
echo "%%p" | |
%VBoxManageEXE% controlvm %%p setlinkstate1 off | |
%VBoxManageEXE% controlvm %%p setlinkstate1 on | |
) |
#include <SPI.h> | |
#include <SD.h> | |
#include <SD_t3.h> | |
#include <SerialFlash.h> | |
#include <Audio.h> | |
#include <Wire.h> | |
//write wav | |
unsigned long ChunkSize = 0L; |
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
<?php | |
include('../wp-load.php'); | |
include('vendor/autoload.php'); | |
$config = \Symfony\Component\Yaml\Yaml::parse(file_get_contents('config.yml')); | |
$purifier_config = HTMLPurifier_Config::createDefault(); | |
foreach ($config as $k => $v) { | |
$purifier_config->set($k, $v); |
(function(window){ | |
var EVENT_EXISTS = 'GlobalEvents: Event already exists.'; | |
var eventIsRunning, | |
_eventStack, | |
_findByName, | |
stackEvent, | |
removeEvent, | |
eventListener, |
# Replace o1234567890 with your OpenVPN id. To get your id, start the VPN and run ps|grep client_o | |
# Replace YOUR_VPN_NAME with the name of your VPN profile in DSM 5 admin panel. | |
if echo `ifconfig tun0` | grep -q "00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00" | |
then | |
echo "VPN is running" | |
else | |
echo conf_id=o1234567890 > /usr/syno/etc/synovpnclient/vpnc_connecting | |
echo conf_name=YOUR_VPN_NAME >> /usr/syno/etc/synovpnclient/vpnc_connecting | |
echo proto=openvpn >> /usr/syno/etc/synovpnclient/vpnc_connecting |
<?php | |
class Foo { | |
public static function getBar($args) | |
{ | |
$args += [ | |
'foo' => null, | |
'bar' => false, | |
'baz' => null |
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# forked by Gianluca Guarini | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep -E --quiet "$1" && eval "$2" | |
} |
/** | |
* @subsection Get Sprites position in EM | |
* @author Marie Guillaumet | |
*/ | |
@mixin em-sprite-position($map, $sprite, $context: $fs, $offset-x: 0, $offset-y: 0) | |
{ | |
/** Thank you @pioupiouM! */ | |
$position: sprite-position($map, $sprite, $offset-x, $offset-x); | |
$x: nth($position, 1); |
<?php | |
/** | |
* JSON Response | |
* Get json data from url and decode. | |
*/ | |
# Get the WordPress json parser | |
if ( ! function_exists( 'json_parser' ) ) : | |