Skip to content

Instantly share code, notes, and snippets.

View tfirdaus's full-sized avatar
👨‍💻

Thoriq Firdaus tfirdaus

👨‍💻
View GitHub Profile
@tfirdaus
tfirdaus / vvv-blueprints.json
Created February 29, 2016 07:36
VV Blueprints
{
"dev-plugin":{
"mu_plugins":[
{
"location":"https://github.com/norcross/airplane-mode.git"
},
{
"location":"https://github.com/explodybits/hookr-plugin/"
}
],
@tfirdaus
tfirdaus / plugin_deploy.sh
Created February 3, 2016 09:47 — forked from lesterchan/plugin_deploy.sh
WordPress Plugin Deploy From GitHub to SVN
#!/bin/bash
# paths
SRC_DIR=$(git rev-parse --show-toplevel)
DIR_NAME=$(basename $SRC_DIR)
#MSG=${1-'Deploying $DIR_NAME from GitHub'}
#BRANCH=${2-'trunk'}
MSG="Deploying $DIR_NAME from GitHub"
BRANCH="trunk"
DEST_DIR=~/svn/wordpress_plugins/$DIR_NAME/$BRANCH
@tfirdaus
tfirdaus / post-format-functions.txt
Last active March 8, 2016 04:34 — forked from DrewAPicture/gist:6141436
List of WordPress Removed Functions Related to Post Formats
http://codex.wordpress.org/Function_Reference/get_attached_audio
http://codex.wordpress.org/Function_Reference/get_attached_video
http://codex.wordpress.org/Function_Reference/get_attached_images
http://codex.wordpress.org/Function_Reference/get_attached_image_srcs
http://codex.wordpress.org/Function_Reference/get_content_media
http://codex.wordpress.org/Function_Reference/get_content_audio
http://codex.wordpress.org/Function_Reference/get_content_video
http://codex.wordpress.org/Function_Reference/get_content_images
http://codex.wordpress.org/Function_Reference/get_content_image
http://codex.wordpress.org/Function_Reference/get_content_galleries
@tfirdaus
tfirdaus / modernizr-tests.js
Last active January 19, 2016 10:41 — forked from danott/modernizr-tests.js
Example of Custom Modernizr Tests
/* modernizr-test.js
* Daniel Ott
* 3 March 2011
* Custom Tests using Modernizr's addTest API
*/
/* iOS
* There may be times when we need a quick way to reference whether iOS is in play or not.
* While a primative means, will be helpful for that.
*/