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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: gunicorn_scweb | |
# Required-Start: $network $local_fs | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: SimpleCounter Web | |
# Description: Yumemi Inc. | |
#### END INIT INFO |
#!/bin/bash | |
# Usage: ./deleteOld "bucketname" "30 days" | |
s3cmd ls s3://$1 | while read -r line; | |
do | |
createDate=`echo $line|awk {'print $1" "$2'}` | |
createDate=`date -d"$createDate" +%s` | |
olderThan=`date -d"-$2" +%s` | |
if [[ $createDate -lt $olderThan ]] |
#!/bin/sh | |
# A script that leverages Trac XML-RPC (I know, I know) to upload patches. | |
# | |
# This script is written specifically for the Mac, in that it reads from | |
# your keychain to derive your SVN password. You can change the SVN_PASS | |
# line below if you wanted to pull from ~/.svn/ or what not. | |
# | |
# Basic usage: `trac-attach.sh 12345` uploads a patch to ticket #12345, | |
# using the name 12345.diff. If there exists a 12345.diff, the patch is |
# MAC manipulators | |
alias random_mac='sudo ifconfig en0 ether `openssl rand -hex 6 | sed "s/\(..\)/\1:/g; s/.$//"`' | |
alias restore_mac='sudo ifconfig en0 ether YOUR_ORIGINAL_MAC_ADDRESS_GOES_HERE' |
function isHeroku() | |
{ | |
return process.env.NODE && ~process.env.NODE.indexOf("heroku") ? true : false; | |
} |
- name: Install Packages Needed To Compile PHP 7 | |
apt: pkg={{ item }} state=latest | |
with_items: | |
- git | |
- autoconf | |
- bison | |
- libxml2-dev | |
- libbz2-dev | |
- libmcrypt-dev | |
- libcurl4-openssl-dev |
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
Debian Jessie does not come with the correct Python version out of the box, and instead comes with Python 2. To be able to install Python 3(.5), we have a few options. We could build and install from source, but as per Debian's website, we shouldn't do this. Instead, we will use pyenv, a tool that allows users to switch Python versions easily without breaking their system.
To install pyenv, we will use the official installer.
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
( function( blocks, element ) { | |
var el = element.createElement; | |
function Stars( { stars } ) { | |
return el( 'div', { key: 'stars' }, | |
'★'.repeat( stars ), | |
( ( stars * 2 ) % 2 ) ? '½' : '' ); | |
} | |
blocks.registerBlockType( 'stars/stars-block', { |
const { subscribe } = wp.data; | |
const { createBlock } = wp.blocks; | |
const createAdBlock = () => createBlock( AdBlock.name, { size: 'mpu' } ); | |
subscribe( e => { | |
const { | |
getBlocks, | |
} = wp.data.select( 'core/editor' ); |