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 | |
| # Claude Code status line | |
| # Receives JSON on stdin | |
| input=$(cat) | |
| cwd=$(echo "$input" | jq -r '.workspace.current_dir // .cwd // ""') | |
| model=$(echo "$input" | jq -r '.model.display_name // ""') | |
| used_pct=$(echo "$input" | jq -r '.context_window.used_percentage // empty') | |
| five_hr=$(echo "$input" | jq -r '.rate_limits.five_hour.used_percentage // empty') |
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
| AWSTemplateFormatVersion: "2010-09-09" | |
| Description: Role for DataDog integration | |
| Parameters: | |
| DataDogExternalId: | |
| Type: "String" | |
| Description: "See https://app.datadoghq.com/account/settings#integrations/amazon_web_services" | |
| NoEcho: "true" | |
| Resources: | |
| DatadogAWSIntegrationRole: | |
| Type: "AWS::IAM::Role" |
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
| AWSTemplateFormatVersion: "2010-09-09" | |
| Description: Alarms for Kinesis streams | |
| Parameters: | |
| KinesisStreamName: | |
| Description: name of stream to monitor | |
| Type: String | |
| Resources: | |
| IteratorAgeMilliseconds: | |
| Type: AWS::CloudWatch::Alarm | |
| Properties: |
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
| openssl rsa -aes256 -in in.pem -out out.pem |
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
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| 19:54 ~ $ gzip -l tmp/afile | |
| compressed uncompressed ratio uncompressed_name | |
| 30164590 435675317 93.0% tmp/afile |
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
| Yarn-client |
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
| -XX:OnOutOfMemoryError='kill -9 %p' |
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 -e exit immediately if a command exits with a non-zero status |
NewerOlder