Skip to content

Instantly share code, notes, and snippets.

View cgiAlexis's full-sized avatar

It Is The Potato cgiAlexis

View GitHub Profile
@SavageCore
SavageCore / 1-readme.md
Last active May 28, 2025 05:17 — forked from cdleveille/Install⁄Update Xone
Install or update xone driver for Steam Deck (desktop shortcut and bash script)
@niutech
niutech / hosts
Last active June 4, 2025 15:56
/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 May 16, 2025 07:05
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 May 5, 2025 14:35
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 June 13, 2025 14:43 — 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!
@imcodingideas
imcodingideas / block-facebook
Created June 5, 2016 20:24
Hosts file to block facebook
# Block Facebook IPv4
127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 login.facebook.com
127.0.0.1 www.login.facebook.com
127.0.0.1 fbcdn.net
127.0.0.1 www.fbcdn.net
127.0.0.1 fbcdn.com
127.0.0.1 www.fbcdn.com
127.0.0.1 static.ak.fbcdn.net