Skip to content

Instantly share code, notes, and snippets.

View UndeRus's full-sized avatar
🎹
Working from home

kerrigan UndeRus

🎹
Working from home
View GitHub Profile
fun Modifier.ripple(): Modifier = composed {
val source = MutableInteractionSource()
indication(interactionSource = source, indication = rememberRipple())
.pointerInput(Unit) {
detectTapGestures(
onPress = { offset ->
val press = PressInteraction.Press(offset)
source.emit(press)
tryAwaitRelease()
source.emit(PressInteraction.Release(press))
diff --git a/applications/main/subghz/subghz.c b/applications/main/subghz/subghz.c
index b7564ab5..49651158 100644
--- a/applications/main/subghz/subghz.c
+++ b/applications/main/subghz/subghz.c
@@ -308,11 +308,13 @@ void subghz_free(SubGhz* subghz) {
int32_t subghz_app(void* p) {
SubGhz* subghz = subghz_alloc();
+ /*
if(!furi_hal_region_is_provisioned()) {
@UndeRus
UndeRus / nvtk_mp42gpx.py
Created December 9, 2023 17:59
Script to extract gpx track from Trendvision dash cam, originally https://sergei.nz/extracting-gps-data-from-viofo-a119-and-other-novatek-powered-cameras/
#!/usr/bin/env python
# Author: Sergei Franco (sergei at sergei.nz)
# License: GPL3
# Warranty: NONE! Use at your own risk!
""" This script will crudely extract embedded GPS data from Novatek generated MP4/TS files. """
import os
import sys
import argparse
import glob