Skip to content

Instantly share code, notes, and snippets.

View ecarlisle's full-sized avatar
🎳
The Dude Abides.

Eric Carlisle ecarlisle

🎳
The Dude Abides.
View GitHub Profile
@ecarlisle
ecarlisle / jekyll-header-with-social-meta.html
Last active January 2, 2016 02:59
This is an optimized version of Jekyll's /_includes/head.html include. Liquid variables are created up top to keep the source DRY and clean. Included in this header are Open Graph and Twitter meta tags for social integration.
{% assign full_url = site.baseurl | prepend: site.url %}
{% capture page_title %}
{% if page.title %}
{{ page.title }}
{% else %}
{{ site.title }}
{% endif %}
{% endcapture %}
{% assign page_title = page_title | strip_newlines | split " " | join " " %}
@ecarlisle
ecarlisle / git-aliases.sh
Last active February 10, 2019 00:52
Git aliases for a shell configuration.
# ---------- ADD ---------- #
alias ga = git add # Add new or changed files to the index.
alias gap = git add -p # Add new or changed files to the index by hunk.
# ---------- BRANCHES ---------- #
alias gb = git branch # View repository branches.
alias gbr = git branch -r # View remote branches.
alias gba = bit branch -a # View both local and remote branches.
# ---------- CHECKOUT ---------- #
alias ga="git add"
alias gap="git add -p"
alias gb="git branch"
alias gba="git branch all"
alias gc="git commit"
alias gcm="git commit -m"
alias gco="git checkout"
alias gcl="git clone"
alias gd="git diff"
alias gf="git fetch"
(function() {
const existingPanels = document.getElementsByClassName('fusion_data_panel');
if (existingPanels.length > 0) {
for (let i = 0; i < existingPanels.length; i++) {
existingPanels[i].parentElement.removeChild(existingPanels[i]);
}
}
let panel = document.createElement('div');
panel.setAttribute('class', 'fusion_data_panel');
panel.setAttribute('style', 'background-color: #F00; color: #FFF; position: fixed;' + 'top: 0; bottom: 0; right: 0; width: 50%; border: 2px solid #036;' + 'font: 12px/1.2 monospace; padding: 0; z-index: 1000000000;');
window.FlourishConfig = {
public_url: "https://public.flourish.rocks/"
},
function () {
"use strict";
var e, E;
function S() {
if (null == e) {
var t = function () {
const rowWidth = 10;
const rows = [
[50, 40, 30, 30, 50],
[20, 50, 60, 40, 30],
[40, 40, 30, 40, 50],
[30, 60, 30, 40, 40],
[20, 40, 50, 60, 30],
[50, 40, 30, 30, 50],
[20, 50, 60, 40, 30],