Skip to content

Instantly share code, notes, and snippets.

View 100nandoo's full-sized avatar
👨‍💻
Try to catch up new changes on Android world

Fernando F. H. 100nandoo

👨‍💻
Try to catch up new changes on Android world
View GitHub Profile

Kindle Paperwhite 4 (2018) Jailbreak

This is a guideline for those who got confuse reading about jailbreak from this thread mobileread forum. This guide is just a simplified version of it. All credits goes to @NiLuJe.

Jailbreak

  1. Start up brand new Kindle, and skip the wifi screen, choose to finish setup later.

  2. Download factory image to your computer, and copy it onto your Kindle

Keybase proof

I hereby claim:

  • I am 100nandoo on github.
  • I am fernandoh (https://keybase.io/fernandoh) on keybase.
  • I have a public key whose fingerprint is 59DD FB0F F331 789E CF07 FE11 19EA C567 2B8E A601

To claim this, I am signing this object:

// Change the media parameter with your own data class
suspend fun TransferObserver.await(media: Media): Boolean =
suspendCancellableCoroutine { cont ->
this.setTransferListener(object : TransferListener {
override fun onProgressChanged(id: Int, bytesCurrent: Long, bytesTotal: Long) {
val progress = ((bytesCurrent / bytesTotal) * 100).toInt()
media.uploadProgress = progress
media.progressListener?.notifyProgressChanged()
}
@100nandoo
100nandoo / shopee-sort.js
Last active December 4, 2023 06:51
Sort Shopee by top sales of all times
// ==UserScript==
// @name Sort
// @namespace Violentmonkey Scripts
// @match https://shopee.sg/*
// @grant none
// @version 0.1
// @author 100nandoo
// @run-at document-end
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@1
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@2
@100nandoo
100nandoo / audiobookbay.py
Last active June 11, 2024 02:28
qbittorrent audiobookbay plugin
# VERSION: 0.2
# AUTHORS: nKlido
# LICENSING INFORMATION
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: