If you have created multiple repositories and now find it cluttered, you can merge them into a single repository while preserving all the commit history. Here’s how to do it.
Create a new repository on GitHub or locally on your machine.
If you have created multiple repositories and now find it cluttered, you can merge them into a single repository while preserving all the commit history. Here’s how to do it.
Create a new repository on GitHub or locally on your machine.
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Etienne Collin | |
# Date: 2022/09/15 | |
# Copyright: Copyright 2022, Etienne Collin | |
# Email: [email protected] | |
# License: GPL-3.0 | |
# Version: 1.3.0 |
Here, two different methods are presented to analyse memory leaks in C code.
The first method is cross-platform. It uses a small Docker image to both run Valgrind on the code and execute the code with the AddressSanitizer.
The second method is exclusive to macOS. It runs leaks
on the code and is a bit simpler than the first method in that it does not use Docker. leaks
should be as performant as Valgrind (although Valgrind has more features and could potentially catch memory leaks that leaks
cannot catch).
# !/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Etienne Collin | |
# Date: 2023/12/09 | |
# Email: [email protected] | |
""" | |
This script provides a function to compute the Cooley-Tukey Radix-2 Decimation in Time (DIT) | |
Fast Fourier Transform (FFT) on a given input vector. Additionally, the script may be run |
#!/usr/bin/env bash | |
# -*- coding: utf-8 -*- | |
# Author: Etienne Collin | |
# Date: 2023/05/20 | |
# Updated: 2024/02/07 | |
# Email: [email protected] | |
############################################################################### | |
# This is a script to convert Office files to PDF using LibreOffice. |
# By Etienne Collin | |
# https://gist.github.com/etiennecollin/198f7520c4c58d545368a196e08f83ed | |
# Dependencies (on macOS, install via Homebrew (https://brew.sh/)): | |
# ghdl: | |
# Source: https://github.com/ghdl/ghdl/ | |
# gtkwave: | |
# Source: https://gtkwave.sourceforge.net/ | |
#### INPUT REQUIRED #### | |
ENTITIES = entityName1 entityName2 |
function rcd { | |
# Check that number of arguments is 1 | |
if [ $# -ne 1 ]; then | |
echo "Please input the path to a directory as the argument." | |
return 0 | |
fi | |
# Store the given path as a variable | |
dirpath=$1 |
# !/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Etienne Collin | |
# Date: 2023/12/20 | |
# Email: [email protected] | |
################################################################################ | |
# The File System Formatter script is a Python program that automates the process of formatting file and | |
# directory names within a file system. It applies a set of rules to ensure consistent naming conventions and |
# !/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Etienne Collin | |
# Date: 2022/11/25 | |
# Email: [email protected] | |
import os | |
githubFolderPath = os.path.expanduser("~/github") |