docker compose exec -it billing-engine sh -c \
'ngrep -d any -W byline port 2021 or 2013 or 2014 or 2080 or 2060 or 2012 | \
while read line; do
echo "$line" | jq . 2>/dev/null || echo "$line"
done'
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <Message> | |
| Hello from Somleng! | |
| </Message> | |
| </Response> |
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
| #!/usr/bin/env bash | |
| # This script clones all repos in a GitHub org | |
| # It requires the GH CLI: https://cli.github.com | |
| # It can be re-run to collect new repos and pull the latest changes | |
| set -euo pipefail | |
| USAGE="Usage: gh-clone-org <user|org>" |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
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
| -----BEGIN PRIVATE KEY----- | |
| MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDhcS9EE66BG3ph | |
| XixOU7mQYYM19M7Hi/u+P5zK5ZFxBRUbY9wLDvUIk1ARBZ1n1FZ4d/hYegrpxnVz | |
| nvFn6KQSivSu93dRThY67YFY+xnzZ6r8atfzqayb7BFuDyd8ElO3dKvxHybCSKyH | |
| RT1Mo9ZAVcLbbpepMYjzQqnESRpNQOIslRl6fALLW/Cg38yD3gVLPVzSry028Yk3 | |
| XjjliPaiuCn5ASXgxf2A4VkSpzM+3t2wF0P/PzaV3g4SVaPOERrarUiYDrN00ooq | |
| 1fmf4ta2WNgU3tr/5faJnggdtA/UmjTR/pfSs78kd7vn6TMyBMrPmCLoitol9Y87 | |
| 64ztAmR0M/12UWuE1B4KciVO1UoOkxrfubvaySSDhtcT1kUA2baEXIi68hjlfrMo | |
| da+VnqFnhnPOLONYHj9fPWPp2dSR4HjIt8aG3JkbEOAIQPD+Pr9lqRgy6WKZlOmU | |
| zxnUfWgqsJM9DEt0nrMzPnAIRDWtIk/ABhN2cO1UK/zaQQWl2IHnGUZ83XlNWAtF |
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
| import java.net.URI; | |
| import java.net.http.*; | |
| import java.net.http.HttpRequest.BodyPublishers; | |
| import java.net.http.HttpResponse.BodyHandlers; | |
| import java.nio.file.*; | |
| import java.security.*; | |
| import java.security.interfaces.RSAPrivateKey; | |
| import java.security.spec.*; | |
| import java.time.Instant; | |
| import java.util.Base64; |
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
- Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
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
| class CursorPaginator | |
| attr_reader :cursor_keys, :max_items, :limit | |
| CURSOR_DIRECTIONS = { | |
| after: :gt, | |
| before: :lt | |
| }.freeze | |
| def initialize(options = {}) | |
| @cursor_keys = options.fetch(:cursor_keys, id: :asc) |
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
| set -xe | |
| EB_SCRIPT_DIR=$(/opt/elasticbeanstalk/bin/get-config container -k script_dir) | |
| . $EB_SCRIPT_DIR/use-app-ruby.sh | |
| gem update --system |
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
| <Response> | |
| <Say voice="alice">Thanks for trying our documentation. Enjoy!</Say> | |
| <Play>https://demo.twilio.com/docs/classic.mp3</Play> | |
| </Response> |
NewerOlder