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
| digraph { | |
| graph [overlap = "prism", splines = "spline"]; | |
| node [width = 2, style = filled, color = cadetblue1]; | |
| "-20" -> "2SilentQs"; | |
| "-20" -> "Auirc"; | |
| "-20" -> "Bandalo"; | |
| "-20" -> "BigMacIsNotABurger"; |
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/perl | |
| use feature 'say'; | |
| use warnings; | |
| use strict; | |
| use Archive::Zip; | |
| use XML::Simple 'XMLin'; | |
| use List::MoreUtils 'all', 'true', 'firstidx'; | |
| # ----------------------------------------------------- |
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
| time | sex | trans | bathroom | therapy | |
|---|---|---|---|---|---|
| 2014-01-03T18:03:23 | Female | No | Female | No | |
| 2014-01-03T18:04:09 | Male | No | Male | No | |
| 2014-01-03T18:05:19 | Male | No | Male | No | |
| 2014-01-03T18:05:32 | Male | No | Male | No | |
| 2014-01-03T18:05:40 | Male | No | Male | No | |
| 2014-01-03T18:06:14 | Male | No | Male | No | |
| 2014-01-03T18:06:14 | Male | No | Male | No | |
| 2014-01-03T18:06:28 | Male | No | Male | No | |
| 2014-01-03T18:07:42 | Male | No | Male | No |
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
| from random import randint, choice | |
| waitlist_growths = [2, 2, 3, 4, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 8, 9, 9, 9, 10, 13, 14, 17] | |
| # I took the most recent 166 top-level comments to the AMA | |
| # signup thread, grouped them by week, and counted the size of | |
| # each group. | |
| # http://www.reddit.com/r/MyLittleShellbullet17/comments/1pnhpx/ama_sign_up/cgko9z8?context=5 | |
| def howlong( |
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
| [ | |
| { | |
| "type": "MOD_INFO", | |
| "mod_type": "SUPPLEMENTAL", | |
| "ident": "neckbeard", | |
| "name": "Neckbeard Profession", | |
| "author": "Kodi Arfer", | |
| "description": "Adds a profession for the \"neckbeard\" stereotype.", | |
| "path": "modinfo.json" |
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
| ; https://www.reddit.com/r/mylittleprogramming/comments/335gc2/particularly_perplexing_programming_puzzle_2/ | |
| (require kodhy.macros) | |
| (import | |
| [hy [HySymbol]] | |
| [kodhy.util [ret]] | |
| [minesweeper [*]]) ; http://pastebin.com/HgHkuKZj, http://pastebin.com/u0Xg0JGz | |
| (defmacro g [method-name &optional a1 a2] |
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
| # Compute the values of the extra fields XXX_Extra and | |
| # XYZ_Extra. This requires munging some deliberately | |
| # obfuscated code. | |
| # | |
| # Sometimes XXX_Extra and XYZ_Extra aren't provided (hence the | |
| # "if"), in which case we don't need them. | |
| my %extra_fields; | |
| if ($body =~ m{ | |
| <script \s type="text/javascript"> \x0d \x0a | |
| (function .+?) |
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 python3 | |
| """ | |
| Embed images into an HTML document | |
| """ | |
| import base64, mimetypes, re, sys | |
| ## from https://gist.github.com/jsocol/1089733 | |
| def img_to_data(path): | |
| """Convert a file (specified by a path) into a data URI.""" |
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 python3 | |
| """ | |
| A simple implementation of the Madey Upy Namey Emulator (MUNE; | |
| https://homebrewery.naturalcrit.com/share/rkmo0t9k4Q ). | |
| Usage examples: | |
| $ python3 -i mune.py |
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
| ; Compare a debug weather log generated by Cataclysm DDA to real | |
| ; data from the NOAA dataset Local Climatological Data (LCD). | |
| ; The data is downloaded automatically. | |
| ; | |
| ; Dependencies: | |
| ; - pandas | |
| ; - matplotlib | |
| ; - metpy | |
| ; - https://github.com/Kodiologist/Kodhy |
OlderNewer