Skip to content

Instantly share code, notes, and snippets.

View mackenzieg's full-sized avatar
:shipit:
Ship It

Mackenzie Goodwin mackenzieg

:shipit:
Ship It
View GitHub Profile
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@mackenzieg
mackenzieg / .bashrc
Created November 25, 2022 01:54
Bash RC
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@mackenzieg
mackenzieg / rope.cpp
Created December 1, 2016 23:44 — forked from dermesser/rope.cpp
A simple rope implementation in C++ – should work good enough.
# include <string>
# include <iostream>
# include <list>
# include <cstring>
# include <algorithm>
using std::string;
class Rope
{