Moved to:
| gh_org="Code4PuertoRico" | |
| gh_team="code4pr-design" | |
| gh api graphql -f query="query { | |
| organization(login: $gh_org) { | |
| team(slug: $gh_team) { | |
| repositories(first:100) { | |
| nodes { | |
| nameWithOwner | |
| isArchived |
| ❯ poetry install --only=main | |
| Installing dependencies from lock file | |
| Package operations: 20 installs, 0 updates, 0 removals | |
| • Installing grpcio-tools (1.48.2): Failed | |
| CalledProcessError | |
| Command '['/Users/froi/Library/Caches/pypoetry/virtualenvs/projecte-5wzozpT2-py3.8/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--prefix', '/Users/froi/Library/Caches/pypoetry/virtualenvs/projecte-5wzozpT2-py3.8', '--no-deps', '/Users/froi/Library/Caches/pypoetry/artifacts/4c/f1/a9/934e68c4bc7e032f327f4bc871af52e86a4f31a91e0e3b33ac131d84f7/grpcio-tools-1.48.2.tar.gz']' returned non-zero exit status 1. |
| #!/usr/bin/env sh | |
| echo "1234" | gpg --no-use-agent -o /dev/null --local-user <KEYID> -as - && echo "The correct passphrase was entered for this key" |
This is a quick and simple example on how we can use a template engine to create markdown strings for use in GitHub issues or Jira ticket.
Eta.js is a templating engine that embbeds Javascript syntax into the template it self. It seems super lite weight.
When working with issues and PRs, a ton of the code we do are the message templates themselves. I think that extracting this into a template engine will clean up the business logic from the view logic (sound familiar 😉).
This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.
Prompt one
Company: Acme computers
Version control platform(s): Many GitHub Enterprise instances installed throughout the company by different teams. Acme Computers is trying to standardize on GitHub Enterprise and consolidate their GitHub usage onto a single instance. The company has many instances of other Git hosting solutions installed as well. Some are fully supported applications. Other instances are on machines under people's desks.
Customer requests:
- Shrink large repository: Acme wants GitHub to help them shrink the large repository to a more manageable size that is performant for common Git operations. The large repo is a project that is high visibility with an aggressive roadmap. They request that we help them within the month. It's a large, monolithic repository.
I hereby claim:
- I am froi on github.
- I am froi (https://keybase.io/froi) on keybase.
- I have a public key whose fingerprint is 169B C49E D4F6 2C8C BA1C BBA5 BF18 A8C3 89BF B374
To claim this, I am signing this object:
CORS is the way to share resources between different domains. while avoiding potential cross site scripting attacks. If you do not understand what CORS is or just want to learn more on it, I suggest you read one of the following or all if you're awesome:
- HTTP access control (CORS)
- Using CORS
- W3C Cross-Origin Resource Sharing
- Wikipedia- Cross-origin resource sharing
An understanding of this will definitely help you in future projets.