Skip to content

Instantly share code, notes, and snippets.

@mcxiaoke
mcxiaoke / miui-blotware-apps.md
Last active April 24, 2025 04:58
MIUI 13/14 bloatware apps, updated at 20240816

对于所有应用,不建议直接删除,使用adb shell pm disable-user package-name禁用即可,方便出问题时恢复。

DO NOT UNINSTALL:

  • com.miui.securitycenter
  • com.miui.securityadd
  • com.xiaomi.finddevice

(Don’t uninstall these three apps or services from your Xiaomi device. Otherwise, you may encounter device bricking or bootloop issues.)

@h3r2tic
h3r2tic / restir-meets-surfel-lighting-breakdown.md
Created November 23, 2021 02:15
A quick breakdown of lighting in the `restir-meets-surfel` branch of my renderer

A quick breakdown of lighting in the restir-meets-surfel branch of my renderer, where I revive some olde surfel experiments, and generously sprinkle ReSTIR on top.

General remarks

Please note that this is all based on work-in-progress experimental software, and represents a single snapshot in development history. Things will certainly change 😛

Due to how I'm capturing this, there's frame-to-frame variability, e.g. different rays being shot, TAA shimmering slightly. Some of the images come from a dedicated visualization pass, and are anti-aliased, and some show internal buffers which are not anti-aliased.

Final images

<#
Update 2021-05-22
https://raw.githubusercontent.com/MattiasC85/Scripts/master/OSD/Download-AppxFromStore.ps1
https://github.com/microsoftfeedback/WinDbg-Feedback/issues/19
https://www.microsoft.com/en-us/p/windbg-preview/9pgjgd53tn86
Update 2020-02-18
Thanks @BruceDawson0xB for pointing out the flaw in the regex pattern. if %tmp% began with a lowercase char the script would fail.
@marco79cgn
marco79cgn / vaccination-stats.js
Last active January 11, 2023 21:47
A Scriptable widget that shows the amount of people who have received the corona vaccination in Germany
// Version 1.3.0
// 27.11.2021
//
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: notes-medical;
// Mit Caching und Fallback
const cacheMinutes = 60; // 60 min
const today = new Date();
const neededTotalVaccinations = 83200000;
@niw
niw / README.en.md
Last active March 30, 2025 06:00
How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!

NOTE: that this is current, 10/1/2021 state.

Running Windows 10 on ARM

  1. Install Xcode from App Store or install Command Line Tools on your Mac
@jona7o
jona7o / covid19-widget.js
Last active April 18, 2021 04:16
covid19-widget
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
// Define URLs based on the corona.rki.de webpage
const newCasesApiUrl = `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_COVID19/FeatureServer/0/query?f=json&where=NeuerFall%20IN(1%2C%20-1)&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=*&outStatistics=%5B%7B%22statisticType%22%3A%22sum%22%2C%22onStatisticField%22%3A%22AnzahlFall%22%2C%22outStatisticFieldName%22%3A%22value%22%7D%5D&resultType=standard&cacheHint=true`;
const incidenceUrl = (location) =>
`https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=${location.longitude.toFixed(
3
)}%2C${location.latitude.toFixed(
3
)}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json`;
@marco79cgn
marco79cgn / covid-time-widget.js
Last active April 18, 2021 09:43
A Scriptable calendar widget that shows the current covid standard time
let widget = new ListWidget()
widget.setPadding(14,10,10,10)
widget.url = "https://covidstandardtime.com"
await loadCovidTime()
Script.setWidget(widget)
Script.complete()
// show a preview of the widget when run in the app, useful for testing
if(config.runsInApp) {
@hanbzu
hanbzu / getdeeplink.js
Last active June 5, 2020 07:52
Small script to create a deep link for Chrome users. Copy the URL, copy the text and pass it to the script.
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active April 15, 2025 09:32
Building a react native app in WSL2
@Lunarixus
Lunarixus / exported_lines.txt
Last active November 20, 2020 08:03
FDE.AI Hardcoded Commands
while true; do resetprop ro.HOME_APP_ADJ 1;resetprop persist.radio.ramdump 0;resetprop pm.sleep_mode 1;resetprop persist.wpa_supplicant.debug false;resetprop dalvik.vm.checkjni false;resetprop dalvik.vm.check-dex-sum false;resetprop dalvik.vm.debug.alloc 0;resetprop dalvik.vm.deadlock-predict off;resetprop dalvik.vm.verify-bytecode false;resetprop libc.debug.malloc 0;resetprop debug.atrace.tags.enableflags 0;resetprop vidc.debug.level 0;resetprop debug.mdpcomp.logs 0;resetprop logd.logpersistd.enable false;resetprop ro.kernel.android.checkjni 0;resetprop touch.pressure.scale 0.5;resetprop ro.config.nocheckin 1;resetprop ro.kernel.checkjni 0;resetprop debug.sqlite.journalmode WAL;resetprop debug.sqlite.syncmode 1;resetprop profiler.launch false;resetprop profiler.force_disable_err_rpt 1;resetprop profiler.force_disable_ulog 1;resetprop profiler.debugmonitor false;resetprop profiler.hung.dumpdobugreport false;resetprop debugtool.anrhistory 0;resetprop video.accelerate.hw 1;resetprop trustkernel.log.state disabl