docker stop $(docker ps -q) docker system prune --volumes
Wednesday, February 22, 2023
wipe out all docker files to gain back hdd space
Warning: Use only if you understand in full what and why you actually need this:
Friday, February 17, 2023
On mobile security - prepare in advance to report your stolen or lost phone if that ever happens
Open your phone app and "call" *#06#
Once you type the last sharp sign you will get important data that uniquely identifies your phone.
Make sure to keep a screenshot of that screen handy to share with authorities in case you lose your phone.
Saturday, January 14, 2023
MAC Terminal scrollbar shows command history instead of past output (which is cut off for each run command)
Terminal | Menu | View | Show/Hide Alternate Screen (shift + command + down/up arrow)
Wednesday, February 23, 2022
Test case driven issue reporting
"It does not work for me. Why? It freezes. Where? In the user details view. How does it look? Let me share a screenshot. I just went there and it rendered for me. Can we get into a screensharing session? ..."
Transaction costs kill productivity. The above neverending dialog can be stopped if we have a bit more appreciation for the written word.
Let us all agree on something: Unless you explain in the form of a replicable test case then nobody should even try to help you out.
You probably know it but a test case must have the following straightforward form which must be replicable, meaning that it must produce the exact same result no matter how many times we repeat the provided steps.
1. Go to ... 2. Click on select ... 3. Type ... 4. Expected result: ... 5. Actual result: ...The result of this decision? Huge savings for the business. No numbers, sorry, but the dollar value here is, believe me, big enough to get the attention of your CFO.
Saturday, January 29, 2022
Read only permissions for a GCP GCS bucket
storage.buckets.get storage.buckets.list storage.objects.get storage.objects.list
Wednesday, November 17, 2021
Set default python version in ubuntu
ls -al `which python3` sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1 python --version
Tuesday, July 06, 2021
Getting git@bitbucket.org: Permission denied (publickey) ?
Error looks like:
$ git pull git@bitbucket.org: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.Assuming that you aready confirmed that you added your ~/.ssh/id_rsa.pub or similar to bitbucket personal preferences and that did not help, then you might want to to just try to connect via SSH to bitbucket with the below command which tries to connects to bitbucket.org via SSH with user git without allocating a TTY and in verbose mode:
ssh -Tv git@bitbucket.orgYou should get something similar to the below:
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 logged in as git You can use git to connect to Bitbucket. Shell access is disabledIf that is the case then you you should retry your git commands again because they should work now.
Subscribe to:
Posts (Atom)
