Skip to content

Instantly share code, notes, and snippets.

@ramast
ramast / gist:58633c352ad78e240c2ecc96965d48ed
Last active April 6, 2024 13:36 — forked from TobiasWooldridge/gist:22f0cdca75190b9a473f
How to Unbrick a Kindle Paperwhite

How to unbrick an Amazon Kindle Paperwhite™

This guide instructs you in how to unbrick an Amazon Kindle Paperwhite. The consequences of following it are your own responsibility. This method (opening the Kindle and using the serial interface) should be a last resort and should only be considered if other methods fail

The Guide

  1. Pry open Kindle using a prying tool
  2. Unscrew the screen and remove it from the base. Note that there's a screw hidden under the adhesive at the top in the middle
  3. Solder tin wire to serial ports on the bottom
  4. Attach tin wire to USB TTY device (order is ground, RX, TX, from the kindle's perspective, where GND is the smallest pad) and plug USB TTY device into your computer
  5. Open Putty on your computer in serial mode, with the serial port specified as your USB device and baud configured to 115200
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 20, 2024 01:18
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@chaitunya
chaitunya / start_spotify.sh
Last active May 16, 2023 00:18
Simple script to automatically go to a Spotify window if it's already open or create a new instance if it's not
#!/usr/bin/bash
pgrep -f /app/extra/share/spotify/spotify
if [ $? = 1 ]; then
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client $*
# Non-flatpak version of spotify:
# spotify $*
else
wmctrl -x -a spotify
fi