MongoDB Exercise in mongo shell
Connect to a running mongo instance, use a database named mongo_practice
.
use mongo_practice
import logging | |
import threading | |
from typing import Any, Dict, Iterable, Optional, Union | |
from tornado.routing import Rule, Matcher | |
_global_tornado_hook = None | |
_global_hook_lock = threading.RLock() | |
class CustomRule: | |
def __init__(self, path_pattern: Union[str, Matcher], handler_class: Any, |
/** | |
* Robust function to fetch all auction pages from https://api.hypixel.net/v2/skyblock/auctions. If the auctions update during the time that | |
* this function is executing, then it will restart in order to fetch the latest data. | |
* @returns {Promise<Object[], Error>} Array of JSON responses from the API, with each entry being a page of auction results. The results are not necessarily in order. | |
* @reject {Error} Network error | |
* @reject {Error} If the function restarts more than five times due to updates or an API response with "success" set to false. | |
* @license MIT | |
* @author https://github.com/robere2 | |
* @see {@link https://gist.github.com/robere2/232691590952b1f1c3de1993b291b6eb} Source | |
*/ |
/** | |
* NOTE: this specifically works if the house is for sale since it renders differently. | |
* This will download the highest resolution available per image. | |
*/ | |
/** | |
* STEP 1: Make sure to *SCROLL* through all images so they appear on DOM. | |
* No need to click any images. |
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key