Skip to content

Instantly share code, notes, and snippets.

Micah asuh

Block or report user

Report or block asuh

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
asuh / filter-wc-orders-by-gateway.php
Created Jul 21, 2019 — forked from bekarice/filter-wc-orders-by-gateway.php
Filters WooCommerce Orders by Payment Gateway Used
View filter-wc-orders-by-gateway.php
* Plugin Name: Filter WooCommerce Orders by Payment Method
* Plugin URI:
* Description: Filters WooCommerce orders by the payment method used :)
* Author: SkyVerge
* Author URI:
* Version: 1.0.0
* Text Domain: wc-filter-orders-by-payment
asuh / boxstarter.ps1
Last active Oct 30, 2018 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jess Frazelle <>
# Last Updated: 2017-09-11
# Install boxstarter:
# . { iwr -useb } | iex; get-boxstarter -Force
# You might need to set: Set-ExecutionPolicy RemoteSigned
# Run this boxstarter by calling the following from an **elevated** command-prompt:
asuh / comments.php
Created May 27, 2018
Walker_Comment overwrite for WordPress
View comments.php
class comments_reloaded extends \Walker_Comment {
var $tree_type = 'comment';
var $db_fields = array(
'parent' => 'comment_parent',
'id' => 'comment_ID'
// start_lvl – Wrapper for child comments list, starts the list before the elements are added.

Keybase proof

I hereby claim:

  • I am asuh on github.
  • I am asuh ( on keybase.
  • I have a public key ASA5GySldrdOvSxhRE_sFiMC-3aayiBOE3cHASzXvr0Kwwo

To claim this, I am signing this object:

asuh / package.json
Last active Dec 19, 2019
NPM only, no Grunt, Gulp, Broccoli or Brunch
View package.json
"name": "_s",
"version": "1.0.1",
"scripts": {
"clean": "rimraf style.css",
"notify": "notify -h",
"serve": "browser-sync start --proxy 'my.asuh' --files '**/*.css, **/*.js, *.php, **/*.json, dist/images/*'",
"imagemin": "imagemin src/images/* -o dist/images",
"icons": "svgo -f src/images/icons -o dist/images/icons && svg-sprite-generate -d dist/images/icons -o dist/images/icons/sprite.svg",
"lint-scss": "stylelint 'sass/**/*.scss' --syntax scss --config node_modules/stylelint-config-wordpress/scss.js",
asuh / templating.js
Last active Dec 10, 2016
JS templating system
View templating.js
'use strict';
* Javascript templating system
$(document).ready(function() {
function loadTemplate(element, path, callback, done) {
$.ajax(path).then(function(html) {
if (typeof callback === 'function' ) {
asuh / Preferences.sublime-settings
Last active Apr 16, 2019
Sublime Text 3 User Preferences sublime-settings file
View Preferences.sublime-settings
"always_show_minimap_viewport": true,
// Using ⌘-P, these files will never be shown in results
View frontend.php
// .content contains content
<div class="content"></div>
$(document).ready(function() {
// ajax to fetch the slider data.
type: 'POST',
url: '<?php echo admin_url("admin-ajax.php"); ?>',
data: { action: "front_page_slider" },
asuh / gist:3956362
Created Oct 26, 2012
jQuery - hide from IE8
View gist:3956362
if (!$.browser.msie || $.browser.version !== "8.0") {
// Hidden from IE8
View index.html
<!DOCTYPE html>
<title>My Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="" />
<script src="//"></script>
<script src=""></script>
You can’t perform that action at this time.