IR codes came from here
code was adapted from here
run:
python3 ir_codes.py ./samsung_tv_codes.csv
// ==UserScript== | |
// @name Kindle Download | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-02-20 | |
// @description Download all your kindle books | |
// @author You | |
// @match https://www.amazon.com/hz/mycd/digital-console/contentlist/booksPurchases/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com | |
// @grant none | |
// ==/UserScript== |
# /// script | |
# requires-python = "==3.12.8" | |
# dependencies = [ | |
# "opencv-python", | |
# "numpy", | |
# "ultralytics", | |
# "aiohttp", | |
# "aiofiles", | |
# "python-dotenv" | |
# ] |
#define phi 1.61803398874989484820 | |
#define h 1.53884176858762670128 | |
uniform float time; | |
varying vec2 vUv; | |
varying vec3 vNormal; | |
float cx(in vec2 a, in vec2 b) { | |
return a.x * b.y - a.y * b.x; | |
} |
[ | |
{ | |
"name": "Afghanistan", | |
"flag": "🇦🇫", | |
"code": "AF", | |
"dial_code": "+93" | |
}, | |
{ | |
"name": "Åland Islands", | |
"flag": "🇦🇽", |
I did not invent this, I have extensively searched for the original article but failed to find it, so I'll do my best to reproduce it here.
Imagine a large Enterprise software development company. A bright young programmer joins this company, and in their first few weeks sets about the non-trivial task of understanding the gigantic bloated code base for the company's flagship product.
Finally, the young programmer ascends the dizzy spire of the company's office building and storms into the CTO's gloomy office with a stack of fanfold computer printout, pausing as they become aware of the music playing: a cacophany of crazed flutes and pan-pipes emerging from an audiophile system with a turntable that looks like a medieval orrery and a speaker that bears more than a passing resemblance to the monstrous shell of some long-extinct cephalopod. The music stops, the silence replacing it redolent of some awful finality.
Still full of righteous indignation the programmer angrily declares:
package example | |
import android.support.v7.recyclerview.extensions.AsyncDifferConfig | |
import android.support.v7.recyclerview.extensions.AsyncListDiffer | |
import android.support.v7.util.DiffUtil | |
import android.support.v7.util.ListUpdateCallback | |
import android.support.v7.widget.RecyclerView | |
/** | |
* {@link RecyclerView.Adapter RecyclerView.Adapter} base class based on |
package com.gabrielfv.android.engine; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.os.Handler; | |
import android.os.HandlerThread; | |
import android.os.IBinder; | |
import android.os.Looper; | |
import android.os.Message; | |
import android.os.PowerManager; |
/** | |
_____ _____ _ | |
| __ \ / ____| | | | |
| | | | ___| | _ __ _ _ _ __ | |_ ___ _ __ | |
| | | |/ _ \ | | '__| | | | '_ \| __/ _ \| '__| | |
| |__| | __/ |____| | | |_| | |_) | || (_) | | | |
|_____/ \___|\_____|_| \__, | .__/ \__\___/|_| | |
__/ | | | |
|___/|_| | |
*/ |