git archive -o update.zip HEAD $(git diff --name-only <starting SHA> HEAD)or
| <?php | |
| //REQUIREMENTS! | |
| //"phpseclib/phpseclib": "^3.0" | |
| //"lcobucci/jwt": "^5.0" | |
| require_once __DIR__ . '/vendor/autoload.php'; | |
| $json = '{ | |
| "keys": [ | |
| { |
| #!/bin/bash | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc |
| import ( | |
| log "github.com/sirupsen/logrus" | |
| "github.com/jinzhu/gorm" | |
| ) | |
| type GormLogger struct {} | |
| func (*GormLogger) Print(v ...interface{}) { | |
| if v[0] == "sql" { | |
| log.WithFields(log.Fields{"module": "gorm", "type": "sql"}).Print(v[3]) |