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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Philadelphia Police vs Pools Budget Balancer</title> | |
| <style> | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; | |
| background: #eee; | |
| display: flex; |
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
| -- ========================= | |
| -- Userdata converters | |
| -- ========================= | |
| -- The return types below are lua tables with all the same keys as the parameter, and values either copied or converted | |
| -- TODO find a way to automatically produce accurate types for the returns with converted values | |
| ---@param v FIntVector userdata | |
| ---@return FIntVector v table | |
| local function TableFromFIntVector(v) |
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
| // MessagePack-like encoding targeting UTF-16 storage instead of byte arrays. | |
| // Encoding of each value involves one UTF-16 character for the value or a header, | |
| // possibly some additional characters for further fixed size value or length information, | |
| // then possibly some additional characters or encoded values | |
| // 15-bit signed integer 0b0xxxxxxxxxxxxxxx | |
| // types with 32-bit value, first 2 bits -------------vv followed by two characters containing 15 bits of value each | |
| const INT_32_MASK = 0b1000000000000100; // 0b0xxxxxxxxxxxxxxx 0b0xxxxxxxxxxxxxxx |
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
| #include <array> | |
| #include <cassert> | |
| #include <map> | |
| #include <iterator> | |
| template< typename Key, typename Value, int n > | |
| class MapsContainer | |
| { | |
| private: | |
| std::array< std::map< Key, Value >, n > maps; |
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
| different context but not really: | |
| '%1$s hits your %2$s.' | '%1$s hits your %2$s!' | |
| unsure: | |
| 'Office Tower Rooftop' | 'Office Tower 2 Rooftop' | |
| 'Let's get a move on.' | 'Let's get a move on!' | |
| 'You don't have that item.' | 'You don't have that item!' | |
| 'You are slammed against %s!' | 'You are slammed against %s.' | |
| 'They know what you've done.' | 'They know what you've done…' | |
| 'You try to sleep, but can't.' | 'You try to sleep, but can't…' |
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 python | |
| import polib | |
| import Levenshtein as L | |
| pofile = polib.pofile('po/base.pot') | |
| entries = {} | |
| for entry in pofile: |
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
| %!PS | |
| % originally from https://stackoverflow.com/a/57162167/13675 | |
| % Usage to concatentate multiple PDFs, number all the pages sequentially, and output a single PDF: | |
| % gs \ | |
| % -dBATCH -dNOPAUSE \ | |
| % -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress \ | |
| % -sOutputFile=/path/to/merged.pdf \ | |
| % -f add_page_numbers.ps -f input1.pdf -f input2.pdf | |
| % modifications by Clarence "Sparr" Risher <sparr0@gmail.com> |
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
| ccafdsse001-dwesanctuary.bsa | |
| ccafdsse001-dwesanctuary.esm | |
| ccasvsse001-almsivi.bsa | |
| ccasvsse001-almsivi.esm | |
| ccbgssse001-fish.bsa | |
| ccbgssse001-fish.esm | |
| ccbgssse002-exoticarrows.bsa | |
| ccbgssse002-exoticarrows.esl | |
| ccbgssse003-zombies.bsa | |
| ccbgssse003-zombies.esl |
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
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/For you/i)) | |
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/People also watched/i)) | |
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/People also search for/i)) | |
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Previously watched/i)) | |
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Explore more/i)) | |
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your search/i)) | |
| www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/From related searches/i)) | |
| www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope |
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
| entity name | heating_energy/16.667 | |
|---|---|---|
| storage-tank | 100 | |
| transport-belt | 10 | |
| fast-transport-belt | 10 | |
| express-transport-belt | 10 | |
| turbo-transport-belt | 10 | |
| underground-belt | 50 | |
| fast-underground-belt | 100 | |
| express-underground-belt | 150 | |
| turbo-underground-belt | 200 |
NewerOlder