This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#wrapper div.arrow { | |
top: 232px; | |
width: 100px; | |
height: 100px; | |
position: absolute; | |
overflow: hidden; | |
box-shadow: 0 16px 10px -17px rgba(0, 0, 0, 0.5); | |
} | |
div#wrapper div.arrow:after { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFLAGS="-g -Wall" | |
DEPS="foo.o bar.o baz.o" | |
TARGET=progname | |
.PHONY: clean all | |
$(TARGET): $(DEPS) | |
$(CXX) -o $(TARGET) $(CFLAGS) $(CXXFLAGS) $(DEPS) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
canvas { | |
background-color: rgba(0,0,0,.1); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding: utf-8 | |
""" Rubicon Codec v.01 """ | |
import sys; | |
off = u'░'; | |
on = u'█'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# coding: utf-8 | |
import locale, subprocess; | |
# on centos this is 'utf8' | |
utfLocaleSuffix = 'UTF-8'; #darwin/freebsd | |
def main(): | |
# get all locales |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import Image; | |
import math; | |
img = Image.open("thing.png"); | |
pixels = img.load(); | |
width = img.size[0]; | |
height = img.size[1]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Requires Vundle: https://github.com/gmarik/Vundle.vim | |
" Every vimconfig should start like this: | |
syntax on | |
" Basic config | |
set nocompatible | |
set autoindent | |
set smartindent | |
set copyindent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your pain is the breaking of the shell that encloses your understanding. Just as the stone of the fruit must break, so that its heart may stand in the sun, so must you know pain. And if you keep your heart in wonder at the daily miracles of your life, your pain would not seem less wondrous than your joy. If you accept the seasons of your heart, as you have always accepted the four seasons, you would watch with serenity the winters of your grief. Much of your pain is self-chosen. It is the bitter potion by which the physician within you heals your sick self. Therefore, trust the physician, and drink his remedy in silence and tranquility. For his hand, though heavy and hard, is guided by the tender hand of the Unseen. - Kahlil Gibran |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(window.NREUM || (NREUM = {})).loader_config = { | |
xpid: "VQQUUFNS" | |
}; | |
window.NREUM || (NREUM = {}), __nr_require = function (t, e, n) { | |
function r(n) { | |
if (!e[n]) { | |
var o = e[n] = { | |
exports: {} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Apply an object's prototype as a mixin to another object's prototype | |
* @param {Object} destination The class to mix in to | |
* @param {(Object|Array)} source An object or array of objects to mix in | |
*/ | |
function mixIn(destination, source) | |
{ | |
if (typeof source !== TYPE_OF_ARRAY) | |
{ | |
$.extend(destination.prototype, source.prototype); |
OlderNewer