Skip to content

Instantly share code, notes, and snippets.

Cooking something hot in oven for WordPress

Ram Ratan Maurya mauryaratan

Cooking something hot in oven for WordPress
Block or report user

Report or block mauryaratan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gmazzap / VersionNumber.php
Created Mar 24, 2019
Version number parser and comparator compatible with both Semver and WordPress version numbers.
View VersionNumber.php
* Copyright 2019 Inpsyde GmbH
* @license MIT
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
edenthecat /
Last active Feb 9, 2018
Alert me when a process is complete

Install terminal-notifier via homebrew:

If using zsh, create an alias: alias -g holler="echo 'holler' | terminal-notifier -sound default"

Store it in ./zshrc if you're happy with it!

Now you can run bundle exec rspec ; holler and it will make a notification that says "holler" when your tests are done.

polevaultweb /
Created Jan 31, 2018
Easily create local SSL certificates for development sites that work with you own Certificate Authority
if [ "$#" -ne 1 ]
echo "Usage: Must supply a domain"
exit 1
View waitForElement.js
function waitForElement(selector) {
return new Promise(function(resolve, reject) {
var element = document.querySelector(selector);
if(element) {
var observer = new MutationObserver(function(mutations) {
msmfsd / es7-async-await.js
Last active Jan 20, 2020
Javascript fetch JSON with ES7 Async Await
View es7-async-await.js
// Async/Await requirements: Latest Chrome/FF browser or Babel:
// Fetch requirements: Latest Chrome/FF browser or Github fetch polyfill:
// async function
async function fetchAsync () {
// await response of fetch call
let response = await fetch('');
// only proceed once promise is resolved
let data = await response.json();
// only proceed once second promise is resolved
View CSS Variables Polyfill.markdown
brandondurham / styles.less
Last active Jan 6, 2020
Using Operator Mono in Atom
View styles.less
* Using Operator Mono in Atom
* 1. Open up Atom Preferences.
* 2. Click the “Open Config Folder” button.
* 3. In the new window’s tree view on the left you should see a file called “styles.less”. Open that up.
* 4. Copy and paste the CSS below into that file. As long as you have Operator Mono SSm installed you should be golden!
* 5. Tweak away.
* Theme from the screenshot (
soundyogi / 2018_chrome_snippet_gui_import_export.js
Last active Jan 13, 2020
A snippet to export and import your chrome snippets
View 2018_chrome_snippet_gui_import_export.js
void function() { "use strict"
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WIP DO NOT USE WIP !!!!!!!!!!!!!!!!!!!!!
W::::::W W::::::WI::::::::IP::::::::::::::::P
W::::::W W::::::WI::::::::IP::::::PPPPPP:::::P
johnbillion /
Last active Aug 30, 2019
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:

You can’t perform that action at this time.