Skip to content

Instantly share code, notes, and snippets.

View alanmatiasdev's full-sized avatar

Alan Matias alanmatiasdev

View GitHub Profile
@alanmatiasdev
alanmatiasdev / private_fork.md
Created September 12, 2023 08:33 — 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 git@github.com:usi-systems/easytrace.git

@alanmatiasdev
alanmatiasdev / get_composer_deps.py
Created September 5, 2023 22:49 — forked from yebt/get_composer_deps.py
This script was created as an helps to recover the require dependencies inside vendor directory of project, if you lost the main composer.json
#!/bin/python
# -*- coding: utf-8 -*-
import json
import sys
# Constant vars
if len(sys.argv) != 2:
print('Error!! -- No file specified ')
print('\t get_composer_deps.py <path/to/vendor/composer/installed.json>')