This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins
directory.
{% youtube oHg5SJYRHA0 %}
const resob = promise => { | |
return promise.then(result => ({ success: true, result })).catch(error => ({ success: false, error })) | |
} | |
const list = getListOfObjectsToHit(); | |
let promises = list.map((value) => { | |
return resob(someAsyncProcess(value)); | |
}) |
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
}; | |
NodeList.prototype.__proto__ = Array.prototype; |
#include "base94.h" | |
void base94_encode(const unsigned char *plain, unsigned char *code) { | |
// high * 2^64 | low | |
unsigned long long value | |
= ((unsigned long long)plain[1] << 56) | ((unsigned long long)plain[2] << 48) | |
| ((unsigned long long)plain[3] << 40) | ((unsigned long long)plain[4] << 32) |
{% for post in site.posts %} | |
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3> | |
<p><small><strong>{{ post.date | date: "%B %e, %Y" }}</strong> . {{ post.category }} . <a href="http://erjjones.github.com{{ post.url }}#disqus_thread"></a></small></p> | |
{% endfor %} |
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins
directory.
{% youtube oHg5SJYRHA0 %}
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Tom Robinson <http://tlrobinson.net/> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
require 'git' | |
module Jekyll | |
class GitActivityTag < Liquid::Tag | |
def initialize(tag_name, text, tokens) | |
super | |
end | |
def render(context) |