Skip to content

Instantly share code, notes, and snippets.

@woctezuma
woctezuma / github_notes.md
Created January 12, 2024 14:53
Markdown syntax for notes on GitHub

Note

Highlights information that users should take into account, even when skimming.

Tip

Optional information to help a user be more successful.

Important

Crucial information necessary for users to succeed.

[!WARNING]

@woctezuma
woctezuma / 457.egstore-site.0cd3839260072eec9743.graphql
Created September 28, 2022 08:21
Epic Games Store: GraphQL API
query PlayerAchievement($epicAccountId: String!, $sandboxId: String!) {
PlayerAchievement {
playerAchievementGameRecordsBySandbox(
epicAccountId: $epicAccountId
sandboxId: $sandboxId
) {
records {
totalXP
totalUnlocked
@woctezuma
woctezuma / left_click.ahk
Created January 2, 2024 10:36
AutoHotkey: automatically left-click several times
#Requires AutoHotkey v2.0
^a:: ; Press <Ctrl+A> to start the script.
{
Loop 10 ; Loop 10 times.
{
MouseClick "left" ; Left-click
Sleep 100 ; Sleep
if GetKeyState("z", "P") ; Press <Z> to stop the script.
break
@woctezuma
woctezuma / solve_egs_riddle.py
Created December 29, 2023 22:43
Find Steam games whose names fullfil a few constraints
import json
import pathlib
import re
WORD_LENGTH = 4
START_FIRST_WORD = "a"
START_LAST_WORD = "i"
WORD_LENGTH = 2
START_FIRST_WORD = "e"
https://www.grac.or.kr/resource/images/rating_all.gif
Part 1/2
등급분류번호 게임물명 등급분류일자 장르 등급 내용정보표시
EPIC-SG-231218-0001 Cursed to Golf 2023-12-18 액션
EPIC-SG-231218-0004 Freshly Frosted 2023-12-18 퍼즐
EPIC-SG-231218-0002 Human Resource Machine 2023-12-18 퍼즐
EPIC-SG-231213-0002 Melvor Idle 2023-12-13 캐주얼
EPIC-SG-231210-0001 art of rally 2023-12-10 레이싱
EPIC-SG-231122-0004 Slide Stories: Bucky's Quest 2023-11-22 퍼즐
EPIC-SG-231122-0003 Weener Smash - 1st Edition 2023-11-22 캐주얼
@woctezuma
woctezuma / getCatalogItem.graphql
Last active November 7, 2023 23:17
EGS getCatalogItem() and catalogItemQuery()
{
Catalog {
catalogItem(namespace: $namespace, id: $id, locale: $locale) {
id
namespace
title
keyImages {
type
url
}
# My Napkin API to get a dict mapping Steam appIDs to app names
#
# References:
# [1] API host: https://www.napkin.io/
# [2] Documentation by SteamDB: https://steamapi.xpaw.me/#IStoreService/GetAppList
# [3] Personal API endpoint: cf. the title of this Github Gist
from napkin import response
import os
# My Napkin API to get a dict mapping Steam appIDs to app names
#
# References:
# [1] API host: https://www.napkin.io/
# [2] Documentation by SteamDB: https://steamapi.xpaw.me/#ISteamApps/GetAppList
# [3] Personal API endpoint: cf. the title of this Github Gist
from napkin import response
import requests
@woctezuma
woctezuma / geforce_games_with_epic.csv
Created November 4, 2021 16:10
This is a list of GeForce games which have an id on the Epic Games Store. Data comes from the GeForce leak, and is purged of Ubisoft games.
epicID releaseDate title developerName publisherName
A Juggler's Tale kaleidoscube Mixtvision
38649a203d904405ab9068e09dc5be91 A Plague Tale: Innocence Asobo Studio Focus Home Interactive
A Plague Tale: Requiem Asobo Studio Focus Home Interactive
743e47ee84ac49a1a49f4781da70e0d0 ARK: Survival Evolved Studio Wildcard Studio Wildcard
9f5250193e914b849201a40d21b30939 Absolute Drift: Zen Edition Funselektor Labs Inc. Funselektor Labs Inc.
Aerial_Knights Never Yield Headup Games GmbH & Co KG
503273f691e04f4b8020f9fb4125a14b Alan Wake Remedy Entertainment Oy Remedy Entertainment Oy
Alan Wake Remastered Remedy Entertainment Oy Epic Games
a2febf833fed4471a9185c7b80af59c3 Alan Wake's American Nightmare Remedy Entertainment Oy Remedy Entertainment Oy
@woctezuma
woctezuma / geforce_games_pub_by_ubisoft.csv
Created November 4, 2021 16:11
This is a list of GeForce games which are published by Ubisoft. Data comes from the GeForce leak.
releaseDate title developerName
2023-01-10 Beyond Good and Evil™ 2 Ubisoft
2023-03-01 Crest Ubisoft Reflections
2022-03-16 INCURSION Ubisoft Ukraine
2022-03-01 METEOR Ubisoft Sofia
2023-03-02 ORLANDO Ivory Tower
2024-04-10 OVER Ubisoft Paris
2022-03-01 Prince of Persia: The Sands of Time Remake Ubisoft
2023-03-01 Project AETHER Ubisoft Stockholm
2021-10-20 Rocksmith+ Ubisoft San Francisco