Skip to content

Instantly share code, notes, and snippets.

View rogama25's full-sized avatar
🎵
"They say before you start a war you better know what you're fighting for"

Rodrigo Garcia Martin rogama25

🎵
"They say before you start a war you better know what you're fighting for"
View GitHub Profile
@jogerj
jogerj / Genshin Impact 4.x Wish URL Android.md
Last active April 24, 2024 11:25
Get Wish URL in Genshin Impact 4.6 on Android using Android Debugging Tools

Usage

These instructions are for users with Genshin Impact installed on Android. For installations on PC, see other guide.

Using Termux on Android

  1. Open and Download Termux (Do not download from Play Store as it is not up-to-date)
    • Android 11 and above: Enable Wireless Debugging on your Android phone.
    • Android 10 or below: You need a PC to enable port 5555, follow these instructions to connect then skip step 5-7.
  2. Open Termux and run pkg update && pkg install android-tools termux-api (if failed, run apt update && apt install android-tools termux-api instead)
  3. Open Settings > System > Developer Options > Wireless Debugging. Open the app switcher then tap and hold the Settings app icon. Select "Split top", then select Termux as the botto
@webcrawls
webcrawls / README.md
Created August 26, 2020 03:37
Basic commands to manage a Minecraft server running on Ubuntu 18.04

Introduction

This guide assumes you are using Ubuntu 18.04 Server, you have screen installed, and that your server is already uploaded to the server.

This guide also assumes you have a server start script. You can find one here

Tools

Screen

@pedrominicz
pedrominicz / telnet.py
Last active April 19, 2023 20:53
Extremely simple "distributed echo server" server in Python (Telnet clients should be able to connect to it).
#!/usr/bin/env python3
import socket
# Read "distributed echo server" as "(distributed echo) server". The "server"
# is not "distributed" but the echos are "distributed" to every connected
# client.
# Connect to the server with `telnet localhost 5000`.
@IanColdwater
IanColdwater / twittermute.txt
Last active April 22, 2024 17:26
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@taddev
taddev / gist:6212449
Last active September 8, 2023 00:41
Nginx Reverse Proxy with custom error if upstream proxy is not working.
server {
listen 80;
listen [::]:80 default server ipv6only=on;
location / {
proxy_intercept_errors on;
proxy_pass http://localhost:9000;
}
error_page 500 502 503 504 /50x.html;