Skip to content

Instantly share code, notes, and snippets.

mynimi / jquery.stickyNav.js
Last active March 31, 2020 20:51
jQuery Sticky Header Plugin
View jquery.stickyNav.js
* jQuery Sticky Navigation Plugin
* Original author: Myriam Frisano (@mynimi)
* Licensed under the MIT license
* How to use:
* $('nameOfNavToBeMadeResponsive').stickyNav();
mynimi / createpost.rb
Created June 16, 2015 15:50
A front matter generator in Ruby
View createpost.rb
# encoding: utf-8
require 'fileutils'
# for colored output
class String
def red; "\033[31m#{self}\033[0m" end
def green; "\033[32m#{self}\033[0m" end
def brown; "\033[33m#{self}\033[0m" end
def gray; "\033[37m#{self}\033[0m" end
def bold; "\033[1m#{self}\033[22m" end