A Pen by Captain Anonymous on CodePen.
This file contains 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 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> |
This file contains 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
// 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 *** |
This file contains 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
$placeholders: '-webkit-input-placeholder', | |
'-moz-placeholder', | |
'-ms-input-placeholder'; | |
@mixin placeholder { | |
@each $placeholder in $placeholders { | |
@if $placeholder == "-webkit-input-placeholder" { | |
&::#{$placeholder} { | |
@content; |
This file contains 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
/* | |
* 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) */ |
This file contains 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 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> |
This file contains 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
!(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"); |
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:
This file contains 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
console.warn('foo'); | |
function bar() { | |
console.log('bar!'); | |
}; |
This file contains 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
cat /path/to/img.png | openssl base64 | tr -d '\n' | pbcopy |
OlderNewer