Skip to content

Instantly share code, notes, and snippets.

View vxavictor513's full-sized avatar

Wai Loon vxavictor513

  • Kuala Lumpur, MY
View GitHub Profile

Clone a GitLab Group

When working with a distributed system made of many code repositories, it is tedious to clone each repository manually.

Below is how you could clone an entire GitLab group of repositories in one go.

1. Install glab

Install the GitLab CLI glab by following the instructions at https://gitlab.com/gitlab-org/cli/#installation.

@vxavictor513
vxavictor513 / list_of_p2p_file_sharing.md
Created March 13, 2025 15:31 — forked from SMUsamaShah/list_of_p2p_file_sharing.md
List of P2P file sharing tools

Browser Based

  1. Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
  2. ToffeeShare https://toffeeshare.com/
  3. FilePizza https://file.pizza/
  4. ShareDrop sharedrop.io https://github.com/szimek/sharedrop (SOLD, not recommended, use one of the forks)
    1. A clone SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop (SOLD, not recommended, use one of the forks)
      1. A fork PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
  5. Instant.io https://instant.io/
  6. FileTC https://file.tc/
@vxavictor513
vxavictor513 / private_fork.md
Created March 7, 2025 17:15 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

JQ Examples

Example 1

jq 'map(. + { value: .values.dev }) | del(.[].values)'

Before