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
| git log scylla-5.1.0..scylla-5.2.0-rc0 | grep -E -i '(fixes|fix|close|closes|closed|fixed|resolve|resolved|resolved) #' | grep -Eo '#[0-9]*' |
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
| export SCYLLA_CLOUD='http://44.196.30.13:8000' | |
| aws --region=us-east-1 --endpoint-url $SCYLLA_CLOUD dynamodb delete-table --table-name MusicCollection | |
| aws --region=us-east-1 --endpoint-url $SCYLLA_CLOUD dynamodb create-table --table-name MusicCollection \ | |
| --attribute-definitions AttributeName=Artist,AttributeType=S AttributeName=SongTitle,AttributeType=S \ | |
| --key-schema AttributeName=Artist,KeyType=HASH AttributeName=SongTitle,KeyType=RANGE \ | |
| --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 | |
| aws --endpoint-url $SCYLLA_CLOUD dynamodb put-item \ | |
| --table-name MusicCollection \ | |
| --item \ |
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
| terraform { | |
| required_providers { | |
| scylladbcloud = { | |
| source = "registry.terraform.io/scylladb/scylladbcloud" | |
| } | |
| } | |
| } | |
| provider "scylladbcloud" { | |
| token = "your-token" |
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
| ## Start Scylla | |
| docker run --name some-scylla -d scylladb/scylla:5.1.0-rc4 --alternator-port 8000 --alternator-write-isolation=always | |
| ## Download config | |
| docker cp some-scylla:/etc/scylla/scylla.yaml . | |
| ## Config updates | |
| # Uncomment to enable experimental features | |
| experimental_features: |
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
| git reset $(git merge-base master $(git branch --show-current)) | |
| git add -A | |
| git commit -m "docs: elaborate on Scylla admin REST API" | |
| git push --force origin $(git branch --show-current) | |
| // source https://stackoverflow.com/questions/25356810/git-how-to-squash-all-commits-on-branch |
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
| function csecs_from_str(str) { | |
| var arr = [{}]; | |
| var str1 = str + "" | |
| arr = str1.split(":") | |
| if (arr.length > 1) { | |
| var min = parseInt(arr[0]) | |
| var sec = parseFloat(arr[1]) | |
| return ((min * 60.0) + sec) * 100 | |
| } | |
| else { |
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
| git log scylla-3.0.0..scylla-4.0.0 | grep -E -i '(fixes|fix|close|closes|closed|fixed|resolve|resolved|resolved) #' | wc -l |
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
| { | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "name": "A", | |
| "state": "Up" | |
| }, | |
| { | |
| "id": 2, | |
| "name": "B", |
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
| ### Install | |
| dnf install git emacs yum-utils | |
| sudo dnf install git emacs yum-utils | |
| sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
| sudo yum install docker-ce docker-ce-cli containerd.io | |
| sudo systemctl start docker | |
| sudo groupadd docker | |
| sudo usermod -aG docker $USER | |
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
| { | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "name": "A", | |
| "state": "Up" | |
| }, | |
| { | |
| "id": 2, | |
| "name": "B", |