git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| For Tower v3.6 | |
| # curl -XPOST -kfs -H 'Content-Type: application/json' --user admin:teamansible --data @/home/ompragash/license/license.txt https://tower_serverapi/v2/config/ | |
| # cat ./license.txt | |
| {"subscription_name": "Enterprise Tower up to 2000 Nodes", "features": {}, | |
| "instance_count": 2000, "trial": false, "contact_email": | |
| "oviswana@redhat.com", "company_name": "RedHat", "license_type": "enterprise", | |
| "contact_name": "Ompragash Viswanathan", "license_date": 642567537, |
A git choose-your-own-adventure!
This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care or your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.
| If you have more than one version of Python installed on your CentOS 8, you may need to set the default version of Python. Configuring the default version helps applications and programs that require a python command to navigate to the appropriate location. | |
| Set Python 3 or Python 2 as the system-wide python command. | |
| To assign Python 3 as the default version, use the command: | |
| ``` | |
| alternatives --set python /usr/bin/python3 | |
| ``` |
TestRPC is a Node.js based Ethereum client for testing and development. This article explains how to setup and run TestRPC as a Docker Container.
| This gist explains validating a package's PGP signature downloaded from PyPI. | |
| ## Requirements | |
| - `curl` | |
| - `wget` | |
| ### Issue | |
| In some instances, verifying the package downloaded from PyPi using its PGP signature is necessary. This is to ensure that the source code has not been modified/tampered with since it was packaged. |
| package main | |
| import ( | |
| "io/ioutil" | |
| "os" | |
| "regexp" | |
| "strings" | |
| "github.com/sirupsen/logrus" | |
| ) |
| echo "DRONE_BUILD_BRANCH: $DRONE_BUILD_BRANCH" | |
| echo "DRONE_BUILD_NUMBER: $DRONE_BUILD_NUMBER" | |
| echo "DRONE_BUILD_PARENT: $DRONE_BUILD_PARENT" | |
| echo "DRONE_BUILD_EVENT: $DRONE_BUILD_EVENT" | |
| echo "DRONE_BUILD_ACTION: $DRONE_BUILD_ACTION" | |
| echo "DRONE_BUILD_STATUS: $DRONE_BUILD_STATUS" | |
| echo "DRONE_BUILD_CREATED: $DRONE_BUILD_CREATED" | |
| echo "DRONE_BUILD_STARTED: $DRONE_BUILD_STARTED" | |
| echo "DRONE_BUILD_FINISHED: $DRONE_BUILD_FINISHED" | |
| echo "DRONE_BUILD_LINK: $DRONE_BUILD_LINK" |
podman run -d --name='tinyproxy' -p 8888:8888 dannydirect/tinyproxy:latest ANYFor Docker Users:
docker run -d --name='tinyproxy' -p 8888:8888 dannydirect/tinyproxy:latest ANY
curl -x http://localhost:8888 https://httpbin.org/ip -vvsudo docker push fossmatters.jfrog.io/ossops-docker/ubuntu:1.0.0
The push refers to repository [fossmatters.jfrog.io/ossops-docker/ubuntu]
a30a5965a4f7: Pushed
1.0.0: digest: sha256:19bc204df71f4086020b609089ebf49b332c2e373ec31e3512644b8ad9615001 size: 529cat query.json
{