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
| Harry Reid:FAAAAAAAAAART! *points finger at Republicans* | |
| Ted Cruz:FAAAAAAAAAAAAAAAAAAAART! *points finger at Democrats* | |
| Elizabeth Warren:FAAART! *points finger at Republicans* | |
| Jebster:FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAART! *points finger at Democrats* | |
| Compatriots! I AM DEFINITIELY NOT LYING WHEN I SAY Soda in the drinking fountains is 100% true! | |
| XOXO Harry Reid | |
| Countrymen! I AM DEFINITIELY NOT LYING WHEN I SAY Soda in the drinking fountains is 100% true! |
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
| <html> | |
| <head> | |
| <script src="http://platform.instagram.com/en_US/embeds.js"></script> | |
| </head> | |
| <body style="background-color: black"> | |
| <blockquote class="instagram-media" data-instgrm-captioned data-instgrm-version="4" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"><div style="padding:8px;"> <div style=" background:#F8F8F8; line-height:0; margin-top:40px; padding:50% 0; text-align:center; width:100%;"> <div style=" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAGFBMVEUiIiI9PT0eHh4gIB4hIBkcHBwcHBwcHBydr+JQAAAACHRSTlMABA4YHyQsM5jtaMwAAADfSURBVDjL7ZVBEgMhCAQBAf//42xcNbpAqakcM0ftUmFAAIBE81IqBJdS3lS6zs3bIpB9WED3YYXFPmHRfT8sgyrCP1x8uEUxLMzNWElFOYCV6mHWWwMzdPEKHlhLw7NWJqkHc4uIZphavDzA2JPzUDsBZziNae2S6owH8xPmX8G7zzgKEOPUoYHvGz1TBCxMkd3kwNVbU0gKHkx+iZILf77IofhrY1nYFnB/lQPb79drWOyJVa/DAvg9B/rLB4cC+Nq |
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
| FrequentWordsWithMismatches(Text, k, d) | |
| FrequentPatterns ← an empty set | |
| Neighborhoods ← an empty list | |
| for i ← 0 to |Text| − k | |
| add Neighbors(Text(i, k), d) to Neighborhoods | |
| form an array NeighborhoodArray holding all strings in Neighborhoods | |
| for i ← 0 to |Neighborhoods| − 1 | |
| Pattern ← NeighborhoodArray(i) | |
| Index(i) ← PatternToNumber(Pattern) | |
| Count(i) ← 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
| var queue = []; | |
| var $albums = $('.QueueList .Album'); | |
| for (var i = 0; i < $albums.length; i++) { | |
| var $album = $($albums[i]); | |
| var $title = $album.find('.album_title'); | |
| var $artist = $album.find('.artist_title'); | |
| queue.push({ | |
| title : $title.text(), | |
| href : $title.attr('href'), | |
| artist : $artist.text() |
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
| ok: wow | |
| nok: [Error: honkytonk] |
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/env osascript -l JavaScript | |
| function run(argv) { | |
| var folder = argv[0]; | |
| console.log(folder); | |
| var fm = $.NSFileManager.defaultManager; | |
| var contents = fm.contentsOfDirectoryAtPathError(folder, null); |
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
| const RADIX = 2; | |
| let bin_str = ''; | |
| let i = 0; | |
| while (i < 50) { | |
| i++; | |
| bin_str = `${bin_str}1`; | |
| let num = parseInt(bin_str, RADIX); | |
| let square = num * num; |
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
| function jumble (word) { | |
| function _jumble (args) { | |
| var letters = args.letters; | |
| var words = args.words; | |
| if (letters.length === 0) { | |
| return words; | |
| } | |
| var letter = letters.pop(); |
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
| let data = [ | |
| { | |
| a: 1, | |
| b: 2, | |
| c: 3, | |
| d: 10 | |
| }, | |
| { | |
| a: 2, | |
| b: 3, |
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
| <html> | |
| <head> | |
| <title>EXIF Scrub</title> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/piexif.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.js"></script> | |
| <script> | |
| function onFileChosen (file) { | |
| const reader = new FileReader(); | |
| reader.readAsDataURL(file); | |
| reader.onloadend = function (event) { |