This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |