cd ~
git clone
cd letsencrypt
ee site update --le=off # or run with sudo, though, not needed.
./letsencrypt-auto certonly --webroot -w /var/www/ -d -d --email --text --agree-tos
ee site update --le=on # or run with sudo, though, not needed.
View functions.php
* Check Remember me.
* Check the Remember Me checkbox on WP Login Page automatically.
* @since 1.0.0
* @author AhmadAwais (
function aa_auto_remember_me() {
add_filter( 'login_footer', function() {
View functions.php
Remove the `<p></p>` Tags From Author Description in WordPress
Since WordPress 4.9 by default WordPress adds paragraph tags to the author descriptions.
This sometimes breaks your theme styles. Stop this by adding the following to your `functions.php` file.
// Remove p tags from author description.
remove_filter( 'get_the_author_description', 'wpautop' );
# Create a DIff/patch.
function wpcp() {
if [[ "-h" == "$1" ]]; then
echo "-"
echo "${wb}${bf}———————————————— Help! ————————————————${r}"
echo "${wb}${bf}————————————————-------————————————————${r}"
echo "${wb}${bf}——— Usage: wpcp ———${r}"
echo "-"
return 1
View fbAlbum.js
* Set Caption of All Facebook Pics in an Album.
* 1. Create and upload pictures in a Facebook album.
* 2. Edit the alubm, go till the end to load all pics.
* 3. Open Browser console (CMD ⌘ + J for Chrome).
* 4. Run the following script line by line after editing the `theCaps` variable.
* 5. Then save the album. Cheers!
* @author Ahmad Awais (
View .zshrc
#.# zsh-syntax-highlighting
# Fish shell like syntax highlighting for Zsh
# @link:
source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
ZSH_HIGHLIGHT_PATTERNS=('rm -rf *' 'fg=white,bold,bg=red') # To have commands starting with `rm -rf` in red:
View .zshrc
source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
# Backup CLI.
# Backup your entire Linux/Ubuntu server to Dropbox.
## Dropbox Uploader:
# EDIT the following.
BACKUP_SRC="/root /etc /home"

Meeting Notes — WordPress JavaScript #core-js

  • aduth 8:02 PM A question I’d like to start with is: What role should a framework play in a WordPress developer’s workflow, and in which contexts?

(And from the perspective of a framework contributor, it would be interesting to get a perspective on recommendations or observed patterns for extendable interfaces generally)

  • aduth 8:07 PM Framed another way, why are people so passionate about this discussion, and in what ways they feel it has an impact