This is a list of HAFAS API endpoints, all with different data versions, API versions, output formats and URL configurations. Help me complete this list!
todo: http://www.fahrplanauskunftssysteme.de/?seitenID=27
Table of Contents
| <pre><?php | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| /* Batch base64 encode images and output css | |
| /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
| // list images in ./images/ directory | |
| $directory = dirname(realpath(__FILE__)); | |
| $images_dir = $directory . '/images/'; | |
| $images = get_images($images_dir); | |
| <pre><?php | |
| class OrphanFinder { | |
| private $imagesDir = ""; | |
| private $imagesUrl = ""; // base path | |
| private $stylesheetsDir = ""; | |
| function __construct($imagesDir, $imagesUrl, $stylesheetsDir) { | |
| $this->imagesDir = $imagesDir; | |
| $this->imagesUrl = $imagesUrl; |
| var key = '12345678901234'; | |
| jQuery('#the-list tr').each(function(){ | |
| $tr = jQuery(this); | |
| var spammer = { | |
| 'username': $tr.find('.username a').first().text(), | |
| 'email': $tr.find('.email a').children().remove().end().text(), | |
| 'ip_addr': $tr.find('.signup_ip em').text(), | |
| 'api_key': key |
| svgsprite: { | |
| options: { | |
| padding: 10, | |
| prefix: 'icon', | |
| layout: 'diagonal', // OR 'vertical' OR 'horizontal' | |
| render: { | |
| css: false, | |
| compass: { | |
| template: 'path/to/template.js', | |
| dest: 'path/to/_svg_sprites.scss' |
| # Gmail Search Query that finds iPhone Draft Notes | |
| # | |
| # iPhone creates a new gmail message whenever you change a Note | |
| # These are saved with a `X-Uniform-Type-Identifier: com.apple.mail-note` header | |
| # But without a label or delivery address | |
| # | |
| # We are searching for messages with no TLD extension in the _to_ field | |
| # It should return all Draft notes, but check them anyway. | |
| has:nouserlabels -deliveredto:me -is:important -to:(ac|ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|as|asia|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cat|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|dd|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|info|int|io|iq|ir|is|it|je|jm|jo|jobs|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mo|mobi|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|p |
| from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer | |
| import ssl | |
| import SocketServer | |
| import json | |
| import cgi | |
| class Server(BaseHTTPRequestHandler): | |
| def _set_headers(self): | |
| self.send_response(200) | |
| self.send_header('Content-type', 'application/json') |
| ### | |
| Coindesk Bitcoin Ticker | |
| Author: Armin Rosu ([email protected]) | |
| ### | |
| command: "" | |
| # The widget updates itself, so no need to refresh anything | |
| refreshFrequency: '1h' |
| {"version":1,"resource":"file:///Users/armin/repositories/%40caya/backend/packages/utils/src/documentFilename.spec.ts","entries":[{"id":"CVBF.ts","source":"searchReplace.source","timestamp":1660807936055},{"id":"M1WB.ts","timestamp":1661855983060}]} |
| 0x4522efDE45db1B6E53759a35eFdE98A5B5Ae7Df4 |
This is a list of HAFAS API endpoints, all with different data versions, API versions, output formats and URL configurations. Help me complete this list!
todo: http://www.fahrplanauskunftssysteme.de/?seitenID=27
Table of Contents