- chapter 3: parameters vs. arguments
- chapter 6: binary numbers, bitwise operators
- chapter 11: empty set
set()
- chapter 13:
float("inf")
,type()
- chapter 1: terminal vs. shell
- chapter 4: shebang
import json | |
import requests | |
BASE_URL = "http://localhost:1242" | |
TIMEOUT_IN_SECONDS = 3 | |
def publish_review(bot_name: str, app_id: int) -> requests.Response: | |
endpoint = "/Api/Recommend/PublishReview/" |
#Requires AutoHotkey v2.0 | |
#SuspendExempt | |
F12::Suspend | |
#SuspendExempt False | |
; Rowing | |
a::{ ; Input: press <A> | |
Loop 10 ; Output: press <Space> 10 times |
magazine=457 | |
# target pages: 10-34 (included) | |
START=5 | |
END=17 | |
for ((i=START;i<=END;i++)); do | |
page=$(( 2*i )) | |
curl http://pressview5.immanens.com/api/document/4741/$magazine/page/$page/thumbnail -o ${magazine}_${page}.jpg | |
done |
{ | |
"metadata": {}, | |
"elements": [ | |
{ | |
"id": "da9df253a7d04f6e8ba9ed175fe73d68", | |
"title": "Mystery Game 2", | |
"description": "Mystery Game 2", | |
"keyImages": [ | |
{ | |
"type": "DieselStoreFrontWide", |
{ | |
"metadata": {}, | |
"elements": [ | |
{ | |
"id": "6d93fb1703ae46b184c5e1e8d67c07f1", | |
"title": "FS22 - Farm Production Pack", | |
"description": "Enhance economics, ramp-up production & promote sustainability with the Farm Production Pack. Featuring over 20 new items (including brands like VDW & Lely), this pack introduces brand-new selling points, production equipment, storage options, renewable power generators & more.", | |
"longDescription": "Let’s enhance economics, ramp-up production and promote sustainability with the Farm Production Pack. Featuring over 20 new items for Farming Simulator 22, this expansion introduces brand-new selling points, production equipment, storage options, renewable power generators, and more. A sophisticated distribution center and markets add new layers of logistical gameplay, focusing on supply & demand.\n\n# Own & Manage Your Distribution Center!\n\nOn a 4,000-square-meter space, you oversee your own distribution center equippe |
import json | |
from pathlib import Path | |
import requests | |
BASE_URL = ( | |
"https://library-service.live.use1a.on.epicgames.com/library/api/public/items" | |
) | |
STATIC_PARAMS = "includeMetadata=true" | |
OUTPUT_FNAME = "library-items.json" |
import json | |
from pathlib import Path | |
import requests | |
BASE_URL = "https://egs-platform-service.store.epicgames.com/api/v1/egs/publisher-index" | |
OUTPUT_FNAME = "publisher-index.json" | |
LOCALE = "fr" | |
STORE_ID = "EGS" |
[ | |
{ | |
"contact": null, | |
"offers": [ | |
{ | |
"id": "3ceadb8101fb4950a9de85b31ed12f29", | |
"namespace": "188fb42582e24d20b0a876ed817efd69", | |
"title": "SOULVARS" | |
} | |
], |