Skip to content

Instantly share code, notes, and snippets.


Tunbosun Ayinla tubiz

View GitHub Profile
kevinwhoffman /
Last active Oct 31, 2020
Resources for Web Developers and Designers

Resources for Web Developers and Designers

This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!

Course Providers

felixarntz / wp-scoped-mu-plugin-loader.php
Last active Aug 10, 2017
WP Scoped MU Plugin Loader
View wp-scoped-mu-plugin-loader.php
Plugin Name: WP Scoped MU Plugin Loader
Plugin URI:
Description: Loads scoped MU plugins for specific sites or networks for an improved organization of those more specific tweaks.
Version: 1.0.0
Author: Felix Arntz
Author URI:
License: GNU General Public License v2
License URI:
bishless / wp-mailhog.php
Created Jun 2, 2017
Configure WordPress on Valet to use MailHog
View wp-mailhog.php
* @link
* @since 1.0.0
* @package TODO
* @wordpress-plugin
* Plugin Name: Use MailHog
* Description: Configure WordPress on Valet to use MailHog
* Version: 1.0.0
barbietunnie /
Last active Nov 25, 2020
Downloading Udemy videos with youtube-dl

How to download your Udemy course videos using youtube-dl

$ youtube-dl --list-extractors | grep udemy


  1. Get link to the course to download. e.g.
  2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
  3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
$ youtube-dl {course_link} --cookies {path_to_cookies_file}
MikeNGarrett / wp-cli-install-rec-plugins
Last active Jan 29, 2018
Chained WordPress CLI commands to install and activate recommended plugins.
View wp-cli-install-rec-plugins
# wordpress-seo provides ability to edit meta information and provides sitemap.
# w3-total-cache provides advanced caching no matter the server technology available.
# better-wp-security provides brute force protection and a number of WordPress enhancements.
# google-analytics-for-wordpress provides robust Google Analytics integration through the Google API.
# redirection detects 404s and 301s and allows admins to set up redirects in the WP admin.
# ewww-image-optimizer provides automatic optimization of uploaded images with local libraries instead of cloud-based services.
# backupwordpress simple backup solution that can store backups above web root.
# relevanssi provides better site search using a local index.
# cloudflare is the best. Free automatic CDN and security solution.
# jarvis is a quick search for the WordPress admin. Indespensible.
johnbillion /
Last active May 6, 2020
WordPress Emails

WordPress Emails

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:

kevinelliott /
Last active Oct 22, 2020
Mac OS X 10.11 El Capitan Setup

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist Note that I expect this to change significantly as I install El Capitan several times.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

zackkatz / edd-create-coupon-slack.php
Last active Jul 6, 2016
EDD Create Coupon from Slack - Allow creating a coupon `/coupon $20` or `/coupon 20%` in Slack
View edd-create-coupon-slack.php
Plugin Name: EDD Create Coupon from Slack
Plugin URL:
Description: Allow creating a coupon `/coupon [%]` in Slack
Version: 1.0
Author: Katz Web Services, Inc.
Author URI:
Contributors: katzwebservices
View gist:122907e95956602e5c09
// slack2html
// by @levelsio
gene1wood / batch-delete-gmail-emails.js
Last active Nov 27, 2020
A Google Apps Script script to bulk delete large amounts of email in Gmail while avoiding the error #793 which Gmail encounters normally
View batch-delete-gmail-emails.js
This script, when used with Google Apps Scripts will delete 500 emails and
can be triggered to run every minute without user interaction enabling you
to bulk delete email in Gmail without getting the #793 error from Gmail.
Configure the search query in the code below to match the type of emails
you want to delete
Browser to
Start a script and paste in the code below.
After you past it in, save it and click the little clock looking button.
You can’t perform that action at this time.