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
adclick.g.doubleclick.net, addthis.com, adgardener.com, adnxs.com, ads.pointroll.com, ads.shorttail.net, apture.com, bop.fm, cdn.taboolasyndication.com, chartbeat.com, chartbeat.net, d1.openx.org, doubleclick.net, doubleverify.com, exitjunction.com, fyre.co, getconnected.southwestwi-fi.com, googleadservices.com, gravity.com, grvcdn.com, imrworldwide.com, intellitxt.com, jetpackdigital.com, kontera.com, livefyre.com, luminate.com, meebo.com, moovmanage.com, outbrain.com, parsely.com, po.st, pointroll.com, pubmatic.com, quantserve.com, s.ppjol.net, scorecardresearch.com, serving-sys.com, sharethis.com, snap.com, superclick.com, taboola.com, taboolasyndication.com, tynt.com, wibiya.com, zergnet.com |
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
from coldtype import * | |
from coldtype.blender import * | |
keyframes = dict() | |
for x in range(0, 4): | |
keyframes[f"{x}0"] = dict(ANIM=0) | |
keyframes[f"{x}1"] = dict(ANIM=1) | |
at = AsciiTimeline(2, 24, """ | |
< |
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
/* -------------------------------------------------------------- | |
Dark mode CSS by Thomas Rettig | |
License: Public Domain | |
-----------------------------------------------------------*/ | |
@media screen and (prefers-color-scheme: dark) { | |
html { | |
/* ensure input elements such as <textarea> and <input type="checkbox"> are rendered in native dark mode for consistency */ | |
color-scheme: dark auto; | |
} |
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
/* -------------------------------------------------------------- | |
Modified version of Hartija CSS Print Framework | |
License: MIT | |
Version: 1.0 | |
-------------------------------------------------------------- */ | |
body { | |
color: #000; | |
background: #0000; | |
font-size: 15pt; |
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
def consonantExtractor(word): | |
consonants = "bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ" | |
res = [] | |
for chr in str(word): | |
if chr in consonants: | |
res.extend(chr) | |
consonants = "".join(res) | |
return(consonants) | |
print(consonantExtractor("Hello world!")) |
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
var body = document.getElementById("body") | |
var colors = ['#97F091', '#91f0e3', '#ffea54', '#e0f1ff', '#c8ffed', '#b0e8f5']; // the colors we'd like to use | |
body.style.backgroundColor = colours[Math.floor(Math.random() * colours.length)]; // randomly choose a color from the array |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Term::ANSIColor; | |
my ($title, $num, $normalize) = @ARGV; | |
# Validate input | |
if (!$title || !$num || $normalize !~ /^(y|n)$/i) { | |
print color('bright_red'), "Usage: ", color('reset'), "$0 <filename> <number-of-files> <normalize[y/n]>\n"; |
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
use Unicode::Collate; | |
# https://metacpan.org/pod/Unicode::Collate | |
my @unsorted = ('A', "\xF0\x9F\x97\x91", 'B'); | |
print "unsorted:\n"; | |
foreach (@unsorted) { | |
print "$_\n"; | |
} | |
my @sorted = Unicode::Collate->new()->sort(@unsorted); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
javascript: void((function (d) % 7 Bvar e = d.createElement('script'); e.setAttribute('type', 'text/javascript'); e.setAttribute('charset', 'UTF-8'); e.setAttribute('src', '//www.typesample.com/assets/typesample.js?r=%27+Math.random()*99999999);d.body.appendChild(e)%7D)(document)); |
OlderNewer