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
## https://www.codexor.com/homebrew-install-old-version-of-gradle/ | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/96e1958c5e556290fe1a86b4e2423ce989322bae/Formula/gradle.rb |
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
brew install postgresql | |
brew install postgresql@9.6 | |
cd /usr/local/Cellar/postgresql | |
ln -s ../postgresql9.6/9.16.6 9.6 | |
brew switch postgresql 9.6 |
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
### Keybase proof | |
I hereby claim: | |
* I am 59023g on github. | |
* I am mpierce (https://keybase.io/mpierce) on keybase. | |
* I have a public key ASD30F5lYlaZ3gwAtN4SmCkrR3WSjHcfezvfHhI3CZqjYgo | |
To claim this, I am signing this object: |
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
!#/bin/bash | |
apt-get update | |
packages=( "curl" "python2.7" "git", "make", "openjdk-8-jre" ) | |
for i in "${packages[@]}" | |
do | |
if ! [ -x "$(command -v $i)" ]; then | |
echo "--- installing $i ---" > &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
async function endResponse( res, code, err ) { | |
const enc = 'utf8' | |
switch ( code ) { | |
case 200: | |
res.writeHead( 200 ) | |
return await res.end( JSON.stringify( { | |
status: 200, | |
message: 'ok' | |
} ), enc ) | |
case 500: |
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
Express server listening on port 3000 | |
General auth middleware: Inactive | |
POST /api/shopify/create_order_hook | |
{ id: 6754177731, | |
variant_id: 26993973571, | |
title: 'Nima Starter Kit', | |
quantity: 1, | |
price: '0.50', | |
grams: 862, | |
sku: '1002-002-DEMO2', |