Skip to content

Instantly share code, notes, and snippets.

View cmgmyr's full-sized avatar

Chris Gmyr cmgmyr

View GitHub Profile
@cmgmyr
cmgmyr / LocalLogger.php
Created April 10, 2018 14:33
Request ID Logging
<?php
namespace App\Loggers;
use Illuminate\Log\Logger as IlluminateLogger;
use Monolog\Formatter\FormatterInterface;
use Monolog\Formatter\LineFormatter;
class LocalLogger
{
@cmgmyr
cmgmyr / circleci.yml
Created April 6, 2018 12:55
CircleCI & Laravel Envoyer
defaults: &defaults
working_directory: ~/cmgmyr/MY_REPO
docker:
- image: circleci/php:7.1.15-browsers
version: 2
jobs:
build:
<<: *defaults

Keybase proof

I hereby claim:

  • I am cmgmyr on github.
  • I am cmgmyr (https://keybase.io/cmgmyr) on keybase.
  • I have a public key whose fingerprint is EC6F C9C6 5C75 41C8 FB22 9981 C5D8 B19B 6765 9B18

To claim this, I am signing this object:

@cmgmyr
cmgmyr / welcome.md
Last active August 29, 2015 14:27
A basic example for http://gist.vote

Welcome to GistVote!

With GistVote you'll be able to:

  • enable/disable your gists for voting
  • comment on your gists, and others
  • keep track of all of the vote tallies on your gists
  • ...and more coming soon!

If you have any suggestion, issues, or want to contribute, please visit us on GitHub

@cmgmyr
cmgmyr / terminal
Created October 21, 2014 15:11
Combine SSL certificates to fix the "Intermediate Certificate" error
cd ~/Downloads/path/to/ssl
cat godaddy-ca.crt gd_bundle.crt > godaddy-combined.crt
@cmgmyr
cmgmyr / post-update
Created August 19, 2013 18:02
Laravel Git Deployment (multiple branches)
#!/bin/sh
#
# hook file name: post-update
echo
echo "**** Pulling changes into server [Hub's post-update hook]"
echo
case " $1 " in