You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
👋
Craig Davis
craig-davis
👋
I'm a developer currently living in Washington State. I believe in static code analysis and writing durable, maintainable code.
Git hooks to enforce pull request on master workflow
Sanity checking Git Hook for pre-commit
Checks that you are trying to push to master (or other key branches) from your local repository.
Installation
Download the above raw file (edit it as you please) and place inside your Git repository under: $GITDIR/hooks/pre-commit where $GITDIR is typically .git under your project working directory. Then make sure you make it executable: chmod +x .git/hooks/pre-commit
A Magento REST API example with rauth as OAuth provider. For Magento 1
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Every month I have the challenge of finding two speakers to do a 10 minute lightning talk on something PHP related (even adjacent). The past few months this has become increasingly difficult so I've created my personal wishlist. If you would like to add to this list please leave a message below. If you would like to give one of these lightning talks, please let me know by filling out our submission form: https://nomadphp.com/lightning-talk-submission/
I want to encourage new and veteran speakers. This is a great way for you to get some exposure and show conference organizers what you can do. Veterans can use Lightning Talks to test out new talk ideas or even different slide decks to see the audience reactions. Think of it as A/B testing your talks.
Vagrant shell provision to solve `No X-Jenkins-CLI2-Port` (Ubuntu guest)
This file contains 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
This is a Vagrant file and a provisioning script to create a Debian-based Jenkins server, including Java, Ant and Tomcat. Also see "provision.sh" below
This file contains 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