Skip to content

Instantly share code, notes, and snippets.

View pratikbin's full-sized avatar
☁️
Dev-Ops-ing

pratikbin pratikbin

☁️
Dev-Ops-ing
View GitHub Profile

To create a governance proposal in Archway, you can use the archwayd CLI. Here are the steps to follow:

  1. Install and configure the archwayd CLI on your machine. You can refer to the Archway documentation for instructions on how to set it up.

  2. Prepare your proposal by creating a JSON file that includes the necessary information. The JSON file should include the following fields:

title: The title of your proposal.

description: A detailed description of your proposal.

@pratikbin
pratikbin / docker-registry-pull-through-cache-openregistry.log
Created November 7, 2022 16:53
registry pull through cache logs when we pull the image
│ time="2022-11-07T16:51:13.061195173Z" level=info msg="response completed" go.version=go1.16.15 http.request.host=cr.asguard.network http.request.id=ac81cee0-0fcc-4b05-8806-4444 │
│ 10.0.3.39 - - [07/Nov/2022:16:51:10 +0000] "HEAD /v2/pratikbin/pg-backup-s3/manifests/test HTTP/1.1" 200 1158 "" "containerd/1.6.6" │
│ time="2022-11-07T16:51:13.083329448Z" level=info msg="response completed" go.version=go1.16.15 http.request.host=cr.asguard.network http.request.id=4d5ad7b2-c274-424e-8333-e29d │
│ 10.0.1.38 - - [07/Nov/2022:16:51:13 +0000] "GET /v2/pratikbin/pg-backup-s3/manifests/sha256:703e496ccbf4caaa1f100a35810791d409efa8b9d60183db73739fc16fc68d87 HTTP/1.1" 200 1158 │
│ 10.0.1.38 - - [07/Nov/2022:16:51:13 +0000] "GET /v2/pratikbin/pg-backup-s3/blobs/sha256:65b0870a721e130c7476fd04e1ab8aad913378a977ab297511e98015eca38718 HTTP/1.1" 200 2162 "" " │
│ time="2022-11-07T16:51:13.108399988Z" level=info msg="response completed" go.version=go1.16.15 http.request.host=cr.a
#
# Usage: ./get_ip_info.sh address.json
#
# set -x
export IFS=$'\n'
for ip in $(jq -r '.addrs[].addr.ip' $1); do
curl -sLfk ipinfo.io/$ip | jq -r '. | "\(.city) | \(.region) | \(.country)"'
done
https://de23.seedr.cc/ff_get/1236512595/FoneLab%20Android%20Data%20Recovery%203.0.10%20Final%20%20Patch.zip?st=u1v1tLg0yoQ7iibP1782Gw&e=1661448141
ba1d3c6c26cebb837a248727a98683f45989a4b9@194.163.155.84:26656,36d7e4b6d00e3d4fd39b60e4c2a3a3d35d4264a0@62.171.150.126:26656,31cd12c338cb4e832131ec5468fc8275060c1e1f@66.94.107.232:26656,76d6b3c4e738119eea039e80a62c48959cb86ae0@167.86.110.94:26656,f51dd3cae374bbe0959ad0a0f97c670b6d656244@62.171.183.229:26656,3fbd9e7d947e6dc70a7d863d13048ee7a1fd3ed3@194.163.167.145:26656,992570413dcb2bc5f7154dca8ded9eba72e5fb7b@157.90.130.22:26856,e3da5ced476a5f82155b45c6859b66ff49b82be4@161.97.74.246:26656,3c20690fe09f7357a941283cfdfdbb3ad78cd7ad@162.55.68.186:26656,9a4e5d9ef97d41c55d7f565746c83abf5be35bec@207.180.222.116:26656,8bc1f73d26c648a6d346573c3540c1d76062aa52@45.88.189.132:26656,bd1a3bd3783e3b1cd6ee5ab9956036f5796d8938@207.231.104.10:26656,bf261c5c6fa9f6ef274f124e6791e7831f4f611a@213.136.83.76:26656,4c68159461b7284883b450ccb988f7bb2bde1dd7@62.171.181.22:26656,a8bfab77e80dcf1f09809f65c5aa07bad8380b35@38.242.207.197:26656,bf98bd9056974d3ce284e5b1428f9b52a3284008@185.239.208.171:26656,f9d8eb6fd883e4f515e95d1384fd4b8d16ab4
docker run \
-d \
--name postgres-1 \
-e POSTGRES_PASSWORD=3TpnLwGawEKpJVkC \
-e POSTGRES_USER=persistence \
-e POSTGRES_DB=persistence \
-v /home/ubuntu/pg_data:/var/lib/postgresql/data \
-p 5432:5432 postgres:13
# unzip the dump.dump zip

Keybase proof

I hereby claim:

  • I am pratikbin on github.
  • I am pratikbin (https://keybase.io/pratikbin) on keybase.
  • I have a public key ASDgH2mQxI1cNj3-W5Jyui2iENhgEWZfDG0qDKgNXk0hCQo

To claim this, I am signing this object:

bazel query cheatsheet

which packages depend on qtdb lib?

bazel query 'rdeps(..., //vistar/geo/qtdb:go_default_library)' --output package 

which packages does qtdb depend on?

https://www.amazon.in/TP-Link-TL-WA855RE-Wi-Fi-Range-Extender/dp/B0195Y0A42?th=1
https://www.amazon.in/Dualband-1200Mbps-Frequency-Directional-app-Parental/dp/B09MKG4ZCM/ref=sr_1_1?crid=17WS6D5619L0I&keywords=mi+router+4a+gigabit&qid=1644388143&sprefix=mi+router+4a+gigabit+%2Caps%2C667&sr=8-1
https://www.amazon.in/TP-Link-Archer-C6-Wireless-MU-MIMO/dp/B07GVR9TG7/ref=sr_1_3?crid=17WS6D5619L0I&keywords=mi%2Brouter%2B4a%2Bgigabit&qid=1644388143&sprefix=mi%2Brouter%2B4a%2Bgigabit%2B%2Caps%2C667&sr=8-3&th=1
https://www.amazon.in/TP-Link-Outdoor-Wireless-Access-300Mbps/dp/B01MT4T8TN/ref=pd_lpo_2?pd_rd_i=B01MT4T8TN&th=1
https://www.amazon.in/Tenda-N301-Wireless-N300-Setup-Router/dp/B00D3GO8R4/ref=sr_1_28?keywords=wireless%2Bbridge&qid=1644386113&sr=8-28&th=1
https://www.amazon.in/TP-Link-EAP110-300Mbps-Wireless-Ceiling/dp/B00V4BGE7C/ref=asc_df_B00V4BGE7C/?tag=googleshopdes-21&linkCode=df0&hvadid=396987023727&hvpos=&hvnetw=g&hvrand=13023668990694609490&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=10077
@pratikbin
pratikbin / sshd.sh
Last active January 24, 2022 10:16
mkdir -p ~/.ssh
touch ~/.ssh/authorized_keys
curl -sL github.com/pratikbalar.keys >>~/.ssh/authorized_keys
systemctl start sshd
echo 'Server = http://10.0.1.12:9129/repo/archlinux/$repo/$arch' | sudo tee /etc/pacman.d/mirrorlist
ip a