Skip to content

Instantly share code, notes, and snippets.

View skewballfox's full-sized avatar

Joshua Ferguson skewballfox

  • Mississippi
View GitHub Profile
@ff6347
ff6347 / mdview.fish
Created March 28, 2017 07:27
a little tool for previewing markdown in the command line for fish shell save it under ~/.config/fish/functions/mdview.fish
function mdview
if set -q argv
switch $argv
case -h
echo "[M↓] Help"
echo "call the mdview with a Markdown [M↓] file as argument"
echo "this script needs pandoc and lynx installed"
echo "on macOS run 'brew install pandoc lynx'"
case "*"
# check if pandoc is installed
@fernandoaleman
fernandoaleman / how-to-create-an-rpm-repository.sh
Created November 18, 2011 17:57
How to create an RPM repository
# How to create an RPM repository
# This is for Redhat 64 bit versions of Linux. You can create your own RPM repository # to host your custom RPM packages.
#
# See "How to create an RPM from source with spec file" for more information.
# https://gist.github.com/1376973
# Step: 1
# Install createrepo