When testing against staging, route SpritesDoc API calls through a
proxy URL with a different auth header. Do not use this in
production. Keep the proxy URL and X-Proxy-Auth token behind a
configuration flag so prod talks to sprites-api directly.
This patch covers behavior fixes and one new action since the last agent-facing gist. Read this alongside the existing gists (full API spec, mutations flow, sprite.lookup additions). Nothing here renames or removes any existing endpoint or arg; the patch is additive.
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
| import cfscrape | |
| import json | |
| import sys | |
| import argparse | |
| import requests | |
| import logging | |
| import time | |
| import random | |
| from pgoapi import PGoApi |
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
| import itertools | |
| import argparse | |
| import os | |
| import glob | |
| import sys | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("-uf", "--users-file", help="File with users and passwords", default="users.txt") | |
| parser.add_argument("-cf", "--coords-file", help="Coordinate files. Allows wildcards", default="*coords.txt") | |
| parser.add_argument("-st", "--steps", help="Steps per worker", default=5) |
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
| <link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { |
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
| <?php | |
| /* | |
| Plugin Name: Shortcode for IP | |
| Description: Get's an IP from an hostname | |
| Author: Henrique Mouta | |
| Version: 1.0 | |
| Author URI: http://henrique.mouta.org/ | |
| */ | |
| add_shortcode( 'get_ip', function( $atts ) { |