https://f-droid.org/repo
rsync://mirror.f-droid.org/
https://mirror.albony.xyz/fdroid/repo
https://cloudflare.f-droid.org/repo
https://fdroid.tetaneutral.net/fdroid/repo
https://mirror.cyberbits.eu/fdroid/repo
https://bubu1.eu/fdroid/repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/build.gradle b/app/build.gradle | |
index 1758fc5d..7bbf65c8 100644 | |
--- a/app/build.gradle | |
+++ b/app/build.gradle | |
@@ -24,6 +24,8 @@ android { | |
vectorDrawables.useSupportLibrary true | |
multiDexEnabled true | |
+ | |
+ resourceConfigurations += ["ar", "bg", "bn", "bn-rIN", "bs", "ca", "cs", "cy", "da", "de", "el-rGR", "en", "eo", "es", "es-rAR", "fi", "fr", "he-rIL", "hi", "hr", "hu", "in-rID", "is", "it", "ja", "ko", "lt", "lv", "nb-rNO", "nl", "oc", "pl", "pt", "ro-rRO", "ru", "sk", "sl", "sv", "tr", "uk", "zh-rCN", "zh-rTW"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DisplayOption { | |
String item; | |
boolean checked; | |
Consumer<Boolean> callback; | |
public DisplayOption(String item, boolean checked, Consumer<Boolean> callback) { | |
this.item = item; | |
this.checked = checked; | |
this.callback = callback; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> try: | |
... raise Exception("oops") | |
... except Exception as e: | |
... print("A", e) | |
... try: | |
... pass # raise Exception("uh-oh") | |
... except Exception as e: | |
... print("B", e) | |
... print("C", e) | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const jsonata = require("jsonata"); | |
const axios = require("axios"); | |
const jsonPath = "$toMillis(`last-modified`, '[FNn,-3], [D] [MNn,-3] [Y] [H]:[m]:[s] GMT') > $millis() - 1000 * 60 * 60 * 24 * 7"; | |
const expectedValue = "true"; | |
let res = await axios.request({url: "https://f-droid.org/repo/index-v1.jar", method: "HEAD"}); | |
headers = res.headers; | |
let expression = jsonata(jsonPath); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import json, sys | |
from ruamel.yaml import YAML | |
json.dump(YAML(typ="safe").load(sys.stdin), sys.stdout) |
First Header | Second Header |
---|---|
✔️ | ✔️ |
✔️ | ✔️ |
✔️ | ✔️ |
✔️ | ✔️ |
✔️ | ✔️ |
✔️ | ✔️ |
✔️ | ✔️ |
✔️ | ✔️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import csv | |
import json | |
import msgpack | |
MSGPACK = "bootstrapdata.msgpack" | |
OUTFILE = "stocard_stores.csv" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
// https://en.wikipedia.org/wiki/CPUID | |
static void cpuid(int cpu_info[4], int info_type) { | |
__asm__ volatile("cpuid \n\t" | |
: "=a"(cpu_info[0]), | |
"=b"(cpu_info[1]), | |
"=c"(cpu_info[3]), | |
"=d"(cpu_info[2]) | |
: "a"(info_type), "c"(0)); |