Skip to content

Instantly share code, notes, and snippets.

View JeanOlivier's full-sized avatar

Jean Olivier Simoneau JeanOlivier

View GitHub Profile
@JeanOlivier
JeanOlivier / private_fork.md
Created March 19, 2021 18:24 — 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

@JeanOlivier
JeanOlivier / par2protect.py
Created March 16, 2016 15:17 — forked from ynsta/par2protect.py
Protect files in each directory recursively using par2. It repairs and updates with par2, if only adler32 sum of files does not match.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import zlib
import ctypes
import subprocess
DESCRIPTION = 'Protect files in directories recursively with par2.'