Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Kevin Oh aflashyrhetoric

🏠
Working from home
View GitHub Profile
View .tigrc
set wrap-lines = yes
set line-graphics = utf-8
set split-view-width = 90%
set main-view = line-number:no id:no date:relative-compact author:abbreviated commit-title:no,graph,refs=no,overflow=no
set diff-view = line-number:no,interval=5 text:yes
# Neonwolf Color Scheme for Tig
#
# Based mostly on the colors from the badwolf airline theme
#
View gist:863e3fe51561eda04e21e73f2b18d81f
set wrap-lines = yes
set line-graphics = utf-8
set split-view-width = 90%
set main-view = line-number:no id:no date:relative-compact author:abbreviated commit-title:no,graph,refs=no,overflow=no
set diff-view = line-number:no,interval=5 text:yes
# Neonwolf Color Scheme for Tig
#
# Based mostly on the colors from the badwolf airline theme
#
View gab
#!/bin/bash
# lists the branches in order and lets you select
# which one to checkout
branches=( $(git for-each-ref refs/heads | cut -d '/' -f 3-) )
for i in "${!branches[@]}"; do
echo "$i) ${branches[$i]}"
done
@aflashyrhetoric
aflashyrhetoric / cloudSettings
Last active Dec 29, 2022
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2022-02-15T20:42:50.224Z","extensionVersion":"v3.4.3"}
View _rem-calc.scss
@function rem-calc($size) {
$remSize: $size / 16;
@return #{$remSize}rem;
}
View gist:eaeda5b2bad55e4604f18f7d2e71e9a0
/*
* This script converts API data from Backlog Syntax to Markdown.
* It can also output to Markdown and JSON.
*/
// Lib Imports
const fs = require('fs');
const path = require('path');
const chalk = require('chalk');
const readline = require('readline');
@aflashyrhetoric
aflashyrhetoric / HACKMD Alternative Test
Created Jan 20, 2017
A test to see if Github Gists are a better alternative to HackMD
View HACKMD Alternative Test
This is some testing junks
View wixhider.css
.wixAdsdesktopWADBottom { visibility: hidden !important; display: none !important; }
View Bash Alias Version Control.md

Using Github Gists to VC bash_aliases

Version Control your .bash_aliases file using:


I'll use a sample .bash_aliases file for the tut:

# ~/.bash_aliases