Skip to content

Instantly share code, notes, and snippets.

@kaezarrex
kaezarrex / index.html
Last active December 17, 2015 00:10
CSS Transparency
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />
<title>CSS Transparency</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="img-wrap1 tile">
@kaezarrex
kaezarrex / index.html
Last active December 11, 2015 22:09
Houndstooth text mask
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Houndstooth</title>
<link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700' rel='stylesheet' type='text/css'>
<style>
body {
font-size: 100px;
@kaezarrex
kaezarrex / index.html
Last active December 11, 2015 01:09
Font Awesome buttons
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width">
<title>Social Buttons</title>
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
<link href="./style.css" rel="stylesheet">
</head>
<body>
@kaezarrex
kaezarrex / index.html
Last active December 11, 2015 01:08
Drawing with Font Awesome
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width">
<title>Font Awesome Drawing</title>
<link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
<link href="./style.css" rel="stylesheet">
</head>
<body>
@kaezarrex
kaezarrex / Lock.js
Created November 9, 2012 17:11
Javascript Singleton Lock
var aquired = false,
lock;
function Lock() {
if (!lock) lock = this;
return lock;
}
@kaezarrex
kaezarrex / recipe.md
Created September 24, 2012 23:48
Farmer's Pie

Ingredients

1 tbs. coconut or avocado oil
4-6 cloves fresh garlic, chopped
2 pounds (900 g) ground lamb
1 pound (450 g) ground grassfed beef
2 cups (300 g) onions chopped
2 cups (250 g) carrots, peeled and sliced
2 stalks celery, chopped
1 tbs. fresh rosemary, chopped fine

@kaezarrex
kaezarrex / coffee.md
Last active October 10, 2015 07:37
Cold Brew

Cold brew is great! It takes longer to make than normal coffee, but it's much smoother tasting. Try it without cream and you'll see what I mean.

[cold brew coffee][recipe]

I make double batches of [the recipe from Smitten Kitchen][recipe], and I let it sit for 12 to 24 hours.

  • 2/3 cup ground coffee 3 cups water
@kaezarrex
kaezarrex / massive-props.user.js
Created July 5, 2012 22:09
Give massive props on Twitter
// ==UserScript==
// @name Massive Props
// @namespace https://twitter.com
// @include https://twitter.com/*
// @description https://twitter.com/ryanqnorth/status/220970058548121600
// ==/UserScript==
var script = document.createElement('style');
script.innerHTML = '\
.favorite { \
@kaezarrex
kaezarrex / octigones.user.js
Created May 9, 2012 21:10
Remove Octicons
// ==UserScript==
// @name Octigones
// @namespace https://github.com
// @include https://github.com/*
// @description A GitHub beautifier.
// ==/UserScript==
var JQUERY_URL = 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
$;
#! /usr/bin/env python
from collections import defaultdict
from os import walk
from os.path import join
from subprocess import check_output
args = ['git', 'blame', '-p']
authors = defaultdict(list)