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
# We had an issue where a development repository of a Nodejs application did not have a dotEnv( .env ) document included. | |
# The environment variables had been defined in a seperate K8s Yaml document which pointed to key:value pairs but this was not | |
# easily pulled into a text file; instead I looked for a way to pull the template container keys out from the running pod as seen | |
# in the example below | |
kubectl get pods --all-namespaces | |
kubectl -n {namespacehere} get deploy {nameofpoddetailedfromprevious} -ojsonpath='{.spec.template.spec.containers[0].env}' | jq -r '.[] | {name,value} | join (" = ")' |
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
<?php | |
/* | |
This may be a long way around a short problem .. but | |
The PHP SDK from Facebook : | |
git clone https://github.com/facebook/php-graph-sdk.git | |
Im using my own FB App to give me a Token/Secret | |
/* |
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
### Keybase proof | |
I hereby claim: | |
* I am reducedhackers on github. | |
* I am loudmouthman (https://keybase.io/loudmouthman) on keybase. | |
* I have a public key whose fingerprint is 2A0C 85CF 5C95 0CBF 005A CBAD F170 4B00 2783 A2EA | |
To claim this, I am signing this object: |