Skip to content

Instantly share code, notes, and snippets.

@eddiriarte
eddiriarte / zsh.md
Created June 19, 2018 18:31 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
@eddiriarte
eddiriarte / create-jekyll-post.sh
Created April 2, 2016 12:38 — forked from mviitanen/create-jekyll-post.sh
A shell script to create a new jekyll post. Maybe there is an easier way, but this script generates a basic markdown post for jekyll. It has head matter, samples of some common formatting, and a link to a more complete documentation of the format.
#!/bin/bash
if [ "$#" -ne 1 ] ; then
echo "Usage: $0 <title>" >&2
exit 1
fi
title=`echo "$1" |sed 's/ /-/g'`
fileName="_posts/`date +%Y-%m-%d-$title.markdown`"