Skip to content

Instantly share code, notes, and snippets.

View cgiAlexis's full-sized avatar

It Is The Potato cgiAlexis

View GitHub Profile
@cannable
cannable / ea_app_proton.md
Last active December 2, 2025 12:44
Install EA App under Steam/Linux/Proton

Installation

  1. Create the directory /home/deck/Games/ea/pfx. This will be the Proton prefix and will make it easier to get to when things invariably go wrong at some point in the future.
  2. Download the EA app
  3. Add non-Steam game and find the exe
  4. Edit the app's settings in Steam
  5. Rename the app to "EA App" for cleanliness
  6. Nuke the contents of "Start In"
  7. Set the launch options to STEAM_COMPAT_DATA_PATH="/home/deck/Games/ea/pfx" %command%. Feel free to add other options like RADV_PERFTEST=gpl.
  8. Flip over to Compatibility and force a version of Proton known to work. 8.0-2 was used when writing this, but I will forget to keep this up to date, you should do some research.
@SavageCore
SavageCore / 1-readme.md
Last active November 18, 2025 05:38 — forked from cdleveille/Install⁄Update Xone
Install or update xone driver for Steam Deck (desktop shortcut and bash script)
@niutech
niutech / hosts
Last active November 27, 2025 13:50
/etc/hosts file for blocking Microsoft Edge tracking domains (and more)
0.0.0.0 a-0001.a-msedge.net
0.0.0.0 a-0002.a-msedge.net
0.0.0.0 a-0003.a-msedge.net
0.0.0.0 a-0004.a-msedge.net
0.0.0.0 a-0005.a-msedge.net
0.0.0.0 a-0006.a-msedge.net
0.0.0.0 a-0007.a-msedge.net
0.0.0.0 a-0008.a-msedge.net
0.0.0.0 a-0009.a-msedge.net
0.0.0.0 a-msedge.net
@woctezuma
woctezuma / while_true_learn.md
Created December 5, 2021 17:51
Promo codes for while True: learn()
  • 1111
  • 4game
  • aavak
  • alien
  • also_ghost
  • aypierre
  • backtowtl
  • bathyscaphe
  • batiskaf
  • big_cat
@antlionguard
antlionguard / twitter-remove-retweets.js
Last active November 30, 2025 15:53
With this script, you can remove all retweets you are retweeted on Twitter.
const timer = ms => new Promise(res => setTimeout(res, ms));
// Unretweet normally
const unretweetTweet = async (tweet) => {
await tweet.querySelector('[data-testid="unretweet"]').click();
await timer(250);
await document.querySelector('[data-testid="unretweetConfirm"]').click();
console.log('****// Unretweeted Successfully //****')
}
@dekarrin
dekarrin / extractrpa.py
Created January 27, 2021 00:09
renpy RPA v3 extractor
# opens RPA files created with renpy
# extracts contents of RPA files
# lists contents of RPA files
# https://github.com/renpy/renpy/blob/9c71146079cdc8ea20327ed7ce791325b287f54a/launcher/game/archiver.rpy
# "These files are really easy to reverse-engineer, but are probably better than nothing."
# well i mean. the source code for compressing is literally online under MIT license. so yes. it's trivial. -deka
# RPA EXTRACTOR
# RPA files are archives used by RenPy. They are often used to distribute assets for the game.
@sxiii
sxiii / WormsWMD-Archlinux.md
Last active November 17, 2025 17:59
How to fix Worms W.M.D. launch on ArchLinux, Manjaro, Garuda, Artix Linux & Linux Mint

Game information Worms W.M.D.

Distribution name and version where applicable Manjaro 20.1.1 (Mikah)

Problem description Worms doesn't launch out of the box without two small tweaks. When launching Worms W.M.D. in Manjaro and Archlinux, you need to do two things:

  1. Install this apps: sudo pacman -S libcurl-gnutls libidn11 qt5-base qt5-xcb-private-headers(If you are on any other distro then Arch, you can skip this step. At least this is reported to be OK to skip for Linux Mint)
@kirinelf
kirinelf / clock.html
Last active November 29, 2025 21:05 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@shilga
shilga / gist:ca58dac6f86a71bf27600b88605dd06c
Last active December 21, 2018 11:05
Frontier OAuth2 authentication API investigation
With the new Chapter 4 Elite Dangerous update Frontier implemented for the companion API a new authentication mechanism. The mechanism is based on OAuth2. To get general infos about how OAauth works the following links a good readings:
- https://aaronparecki.com/oauth-2-simplified/
- https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2
The new mechanism can be tested for example with the tool Postman:
1) Open https://companion.orerve.net/login (Frontier provided this demo web-app)
2) website redirects to https://auth.frontierstore.net/auth?state={random_state}&response_type=code&approval_prompt=auto&redirect_uri=https%3A%2F%2Fcompanion.orerve.net%2Flogin&client_id=4e135d0a-e313-4ace-b76b-22947d1be13e I replaced the state with {random_state} as it should change with each call
3) Login in with the Frontier credentials and grant access to "Companion"
4) Web Auth redirects to https://companion.orerve.net/login?code={auth_request_code}&state={random_state} . The webservice behind this exa
@Stevoisiak
Stevoisiak / SO-7zip-extract-icon
Created March 6, 2017 19:38
Extract .ico icon file from .exe with 7zip
You can extract .ico icons from an exe with 7-zip!