I provide you with 3 jq lib functions that will help you in converting between snake_case and CamelCase.
I want to change keys in my json from camelcase to snake_case.
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| #!/bin/sh | |
| # For more information about shpod, check it out on GitHub: | |
| # https://github.com/jpetazzo/shpod | |
| if [ -f shpod.yaml ]; then | |
| YAML=shpod.yaml | |
| else | |
| YAML=https://raw.githubusercontent.com/jpetazzo/shpod/main/shpod.yaml | |
| fi | |
| if [ "$(kubectl get pod --namespace=shpod shpod --ignore-not-found -o jsonpath={.status.phase})" = "Running" ]; then | |
| echo "Shpod is already running. Starting a new shell with 'kubectl exec'." |
I hereby claim:
To claim this, I am signing this object:
| CI=drone | |
| CI_BUILD_CREATED=1538244194 | |
| CI_BUILD_EVENT=pull_request | |
| CI_BUILD_FINISHED=1538244196 | |
| CI_BUILD_LINK=https://github.com/rchain-drone/droneci-test/pull/2 | |
| CI_BUILD_NUMBER=2 | |
| CI_BUILD_STARTED=1538244194 | |
| CI_BUILD_STATUS=success | |
| CI_COMMIT_AUTHOR=woky | |
| CI_COMMIT_AUTHOR_AVATAR=https://avatars0.githubusercontent.com/u/620147?v=4 |
| format | repo_full_name | stargazers_count |
|---|---|---|
| gohugoio/hugo | gohugoio/hugo | 38629 |
| containous/traefik | containous/traefik | 25222 |
| influxdata/influxdb | influxdata/influxdb | 17505 |
| influxdata/influxdb | influxdata/influxdb | 17505 |
| [wagoodman/dive](https://github.com/wagoodman/dive/blob/master/.gore |
10666361bf2ddb7070c9ea6756b1e8ce327a9edb
8 found
builds:
# List of builds
- # First Build
env:
- CGO_ENABLED=0
| file_path | autogen | line_count |
|---|---|---|
| CiscoDevNet/ydk-go/ydk/models/cisco_ios_xe/native/native.go | f | 1372946 |
| Xmader/gse-wasm/src/dict/jp_full.go | f | 885305 |
| src-d/go-git-fixtures/data.go | f | 807978 |
| knqyf263/go-cpe/testing/dictionary_test.go | f | 643279 |
| Xmader/gse-wasm/src/dict/dictionary.go | f | 589040 |
| CiscoDevNet/ydk-go/ydk/models/cisco_ios_xr/ipv4_bgp_oper/ipv4_bgp_oper.go | f | 577265 |
| deroproject/derosuite/checkpoints/mainnet_checksums.go | f | 570973 |
| reusee/go-qt/smoke_info/info.go | f | 559236 |
| WITH votes AS ( | |
| SELECT | |
| number_id, | |
| id, | |
| SUM(CAST(plus_one + 1 AS FLOAT)) AS U, | |
| SUM(CAST(minus_one + 1 AS FLOAT)) AS D | |
| FROM | |
| comments | |
| GROUP BY | |
| id, |