Skip to content

Instantly share code, notes, and snippets.

View jkldgoefgkljefogeg's full-sized avatar

kjeojfeofjgeofkjodfioejo jkldgoefgkljefogeg

View GitHub Profile
@Neurogami
Neurogami / plantext.txt
Created April 1, 2018 23:10
Bookmarklet version of javascript to get plaintext of Amazon Cloud Reader
Original code is from https://gist.github.com/aaronshaf/1346968
The instructions were to open a dev console and paste in the script.
A nicer way is to make it a bookmarklet.
1. Create a new bookmark in our browser. You should be able to edit the name and URL
2. Give it a decent name (e.g. "amz cloud plaintext")
3. Paste the following as the URL (make it all one line):
@Mygod
Mygod / export-ble-infos.py
Last active July 17, 2024 12:38
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Copyright 2021 Mygod
Licensed 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
@vasanthk
vasanthk / System Design.md
Last active July 22, 2024 05:05
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@davidbalbert
davidbalbert / gist:6815258
Last active February 29, 2024 16:12
How to install custom SSL certificates on an ASUS RT-N66U running asuswrt-merlin
###########################################
# IMPORTANT NOTE:
#
# As of asuswrt-merlin 380.67 Beta, you
# can now configure SSL certificates from
# the Webui, making these instructions
# unnecessary.
###########################################
@aaronshaf
aaronshaf / bookmarklet-expanded.js
Last active May 13, 2024 14:35
Copy text from Amazon's Cloud Reader. Helpful for students that need block quotes.
javascript: (function () {
new_window = window.open();
new_window.document.body.innerHTML = $("iframe")
.contents()
.find("iframe")
.contents()
.find("body")
.get(1).innerHTML;
new_window.document.body.querySelector("#content-overlays").remove();
})();