Skip to content

Instantly share code, notes, and snippets.

View mohamed-elsayed's full-sized avatar
🎯
Focusing

kandil mohamed-elsayed

🎯
Focusing
View GitHub Profile
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active October 23, 2025 20:35
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
/* Merge sort in C */
#include<stdio.h>
#include<stdlib.h>
// Function to Merge Arrays L and R into A.
// lefCount = number of elements in L
// rightCount = number of elements in R.
void Merge(int *A,int *L,int leftCount,int *R,int rightCount) {
int i,j,k;