Skip to content

Instantly share code, notes, and snippets.

View ChandanShakya's full-sized avatar
πŸ’€
Sleeping

Chandan Shakya ChandanShakya

πŸ’€
Sleeping
View GitHub Profile
@tothi
tothi / upgrade_LineageOS_with_Magisk.md
Last active April 27, 2025 18:29
Upgrading LineageOS and reinstalling Magisk

Upgrade LineageOS with Magisk

WARNING: tested only on my setup (LineageOS 18.1 on instantnoodle), other setups may break and brick the device!

Step-by-step instructions (for reinstalling patched boot.img for Magisk):

  1. upgrade LineageOS to the latest by the standard way in Android GUI (download + install + reboot)
  2. if using not the latest Magisk: wipe old (possibly hidden) Magisk app then install the up-to-date one from the official Magisk github repo
  3. install (git clone) payload_dumper from GitHub (in Termux or in an SSH session on the Android device) for the 1st time, or update (git pull) later
  4. the Android terminal session: wget the same LineageOS nightly image installed in step 1 from https://download.lineageos.org/
.
β”œβ”€β”€ archived
β”‚Β Β  β”œβ”€β”€ add_files_to_aria2_rpc.sh
β”‚Β Β  β”œβ”€β”€ applegamebox.net
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 1942_Pacific_Front_Premium_v1.2.0.ipa
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 2013 Infected Wars 1.1.2.ipa
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 2K DRIVE 1.7.ipa
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 300 Dwarves HD 1.2.ipa
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 33rd Division 1.0.3.ipa
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ 3D_City_Run_2_v1.1_applegamebox.net.ipa
@ajaxray
ajaxray / REST_with_curl.md
Last active December 15, 2024 04:16
Testing a REST API with curl

Testing REST API using curl

This gist lists only the basic commands to test REST APIs with curl. If you need something more advanced, this book has everything you may need.

Simple GET Requests

Display the response only

@rvl
rvl / git-pushing-multiple.rst
Created February 9, 2016 11:41
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@rxaviers
rxaviers / gist:7360908
Last active May 2, 2025 22:58
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: