I hereby claim:
- I am aristretto on github.
- I am aristretto (https://keybase.io/aristretto) on keybase.
- I have a public key ASBofRw6rNNtjFFEtA8sK6SzeNOHIzknNlZL5pNjg-i6ZAo
To claim this, I am signing this object:
cat /path/to/img.png | openssl base64 | tr -d '\n' | pbcopy |
console.warn('foo'); | |
function bar() { | |
console.log('bar!'); | |
}; |
I hereby claim:
To claim this, I am signing this object:
!(navigator.userAgent.toLowerCase().indexOf('chrome') > -1) ? null : (function() { | |
var args = [], eightBitHack = [], coordinates = ["nodcnp", "tl9ehx", "tl9fad", "tl9fad", "tl9fhh", "tl9fj9", "zik0z9", "zik0zh", "zik0zj", "zik0zh", "zik0z9", "tl9fj9", "tl9fhh", "tl9fad", "tl9fad", "tl9ehx", "nodcnp"]; | |
for (var row = coordinates.length; row--;) { | |
var decompressedRow = parseInt(coordinates[row], 36).toString(4).split(''); | |
coordinates[row] = decompressedRow.splice(1, decompressedRow.length-1); | |
for (var cell = coordinates[row].length; cell--;) { | |
var dot = parseInt(coordinates[row][cell]); | |
var color = dot === 3 ? '#c32733' : dot === 2 ? '#1155cc' : dot ? '#fff' : null; | |
args.unshift("border: 8px solid color;".replace('color', color)); | |
eightBitHack.unshift("%c"); |
<div class="zenefits-logo"> | |
<div class="piece wing-back"></div> | |
<div class="piece head"></div> | |
<div class="piece wing-front-1"></div> | |
<div class="piece wing-front-2"></div> | |
<div class="piece tail"></div> | |
</div> |
/* | |
* more helpful links | |
* http://www.w3.org/TR/CSS2/generate.html#scope | |
* http://quirksmode.org/css/css2/counter.html | |
* http://www.impressivewebs.com/css-counter-increment/ | |
*/ | |
/* decimal counters (basic, default) */ |
$placeholders: '-webkit-input-placeholder', | |
'-moz-placeholder', | |
'-ms-input-placeholder'; | |
@mixin placeholder { | |
@each $placeholder in $placeholders { | |
@if $placeholder == "-webkit-input-placeholder" { | |
&::#{$placeholder} { | |
@content; |
// truncate URIs in a more elegant way | |
String.prototype.truncateURI = function(n, backup){ | |
var len = this.length; | |
var self = this.toString(); | |
var max_len = (n||30); | |
var fallback = (backup||"website") | |
var patt = /^(https?\:\/\/)?(www\.)?([a-z0-9\-\_]+)([a-z\.]{2,})+([a-z0-9\-\_\#\/ ]+\/)?([a-z0-9\-\_\#\/]+\.?[a-z0-9]+)?/i | |
/*** PATTERN BREAKDOWN *** |
<div class="zenefits-logo"> | |
<div class="piece wing-back"></div> | |
<div class="piece head"></div> | |
<div class="piece wing-front-1"></div> | |
<div class="piece wing-front-2"></div> | |
<div class="piece tail"></div> | |
</div> |
A Pen by Captain Anonymous on CodePen.