This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Error handling | |
function error() | |
{ | |
echo -e "[ `date` ] $(tput setaf 1)$@$(tput sgr0)" | |
exit $2 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports = function(grunt) { | |
// load all grunt tasks matching the `grunt-*` pattern | |
// Ref. https://npmjs.org/package/load-grunt-tasks | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
// Fontello Icons | |
// Note: This is one time running task, so run grunt after update assets/fontello/config.json file | |
// Ref. https://npmjs.org/package/grunt-fontello | |
fontello: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# WordPress Plugin pre-commit hook | |
set -e | |
message="Checking staged changes..." | |
git_status_egrep='^[MARC].+' | |
for i; do | |
case "$i" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"receipt": { | |
"type": "android-playstore", | |
"id": "12345678901234567890.1234567890123456", | |
"purchaseToken": "purchase token goes here", | |
"receipt": "{"orderId":"12345678901234567890.1234567890123456","packageName":"com.example.app","productId":"com.example.app.product","purchaseTime":1417113074914,"purchaseState":0,"purchaseToken":"purchase token goes here"}", | |
"signature": "signature data goes here" | |
} | |
} |
NewerOlder