Skip to content

Instantly share code, notes, and snippets.

View kherge's full-sized avatar

Kevin Herrera kherge

View GitHub Profile
@marcan
marcan / linux.sh
Last active July 21, 2024 14:00
Linux kernel initialization, translated to bash
#!/boot/bzImage
# Linux kernel userspace initialization code, translated to bash
# (Minus floppy disk handling, because seriously, it's 2017.)
# Not 100% accurate, but gives you a good idea of how kernel init works
# GPLv2, Copyright 2017 Hector Martin <[email protected]>
# Based on Linux 4.10-rc2.
# Note: pretend chroot is a builtin and affects the current process
# Note: kernel actually uses major/minor device numbers instead of device name
@kherge
kherge / issues.md
Last active August 22, 2021 18:04
How to organize GitHub issues.

Issues

Did some searching online to see how others have handled organizing issues on GitHub for their own projects. This one by Robin Powered is by far the best I have seen so far. I have broken down the image in the blog post so that it can be easily copied and pasted into my own GitHub issue label manager and even put my own spin on it.

Platform

If the repository covers multiple parts, this is how we designate where the issue lives. (i.e. iOS and Android for cross-platform tablet app).

@omegahm
omegahm / create_labels.sh
Created April 7, 2015 19:00
Create Gtihub labels from Bash
#!/usr/bin/env bash
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
###
# Label definitions
###
declare -A LABELS
# Platform
@kherge
kherge / README.md
Last active January 31, 2020 15:49
A simple semantic version manager for Git repositories.

Git Releases

git-releases is a shell script that will manage semantic version numbers as tags for a Git repository.

Installation

  1. Copy git-releases to a directory in $PATH.
  2. Chmod git-releases to 755.