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
@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
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()) {
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))
#!/bin/bash -e
rm -fr mumble-build-new
sudo apt-get install build-essential fakeroot devscripts quilt libprotobuf-dev libprotoc-dev libgrpc++-dev protobuf-compiler-grpc -y
sudo apt-get build-dep mumble-server -y
mkdir mumble-build-new
pushd mumble-build-new
AGFzbQEAAAABJghgAX8AYAF/AX9gAABgAn9/AGAAAX9gAn9/AX9gAn99AGABfwF9AoIBBBZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCXByb2NfZXhpdAAAB3dhc21pbm8JbmFub3NsZWVwAAMWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQ5hcmdzX3NpemVzX2dldAAFFndhc2lfc25hcHNob3RfcHJldmlldzEIYXJnc19nZXQABQMbGgIAAAMBBAcGAwEABQIBAAEBAAQDAQACAAIEBAUBcAEBAQUDAQACBhIDfwFBsKwEC38BQQALfwFBAAsH9QEOBm1lbW9yeQIABl9zdGFydAAEEXdhc21pbm9HZXRQaW5Nb2RlAAgSd2FzbWlub0dldFBpbkNvdW50AAkOd2FzbWlub1JlYWRQaW4ACg93YXNtaW5vV3JpdGVQaW4ACxB3YXNtaW5vU2V0VXB0aW1lAAwGbWFsbG9jAA0EZnJlZQAOFWFzeW5jaWZ5X3N0YXJ0X3Vud2luZAAZFGFzeW5jaWZ5X3N0b3BfdW53aW5kABoVYXN5bmNpZnlfc3RhcnRfcmV3aW5kABsUYXN5bmNpZnlfc3RvcF9yZXdpbmQAHBJhc3luY2lmeV9nZXRfc3RhdGUAHQqdWBrDAQEDfyMBQQJGBEAjAiMCKAIAQXxqNgIAIwIoAgAoAgAhAAsCfwJ/IwFBAkYEQCMCIwIoAgBBfGo2AgAjAigCACgCACECCyACRQtBASMBGwRAEBYhAUEAIwFBAUYNARogASEACyAAIwFBAkZyBEAgAkEBRkEBIwEbBEAgABAAQQEjAUEBRg0CGgsjAUUEQAALCw8LIQEjAigCACABNgIAIwIjAigCAEEEajYCACMCKAIAIAA2AgAjAiMCKAIAQQRqNgIAC8ICAgN/AX4jAUECRgRAIwIjAigCAEFsajYCACMCKAIAIgEoAgAhACABKAIEIQMgASkCDCEEIAEoAgghAQsCfyMBQQJGBEAjAiMCKAIA
@UndeRus
UndeRus / build.sh
Created December 9, 2020 14:38
build murmur with grpc on ubuntu
#!/bin/bash -e
rm -r mumble-build-new
sudo apt-get install build-essential fakeroot devscripts quilt
sudo apt-get build-dep mumble-server
mkdir mumble-build-new
pushd mumble-build-new
@UndeRus
UndeRus / openssl-example.rs
Created November 12, 2015 09:11
Openssl minimal rust example
extern crate openssl;
use std::io::prelude::*;
use std::path::Path;
use std::net::TcpStream;
use openssl::ssl::{Ssl, SslMethod, SslContext, SslStream, SSL_VERIFY_NONE};
use openssl::x509::{X509FileType};
var
a:array[1..100000] of longint;
n,min,ind,i: longint;
begin
read(n);
for i:=1 to n do
begin
read(a[i]);
end;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>AWESOME SHIT</title>
</head><body><table border="0" cellspacing="0" cellpadding="0" cols="500" rows="500">
<tr height="1">
<td width="1" bgcolor="#30587C"></td>
<td width="1" colspan="499" bgcolor="#30587C"></td>
</tr>
<tr height="1">
uname -a
Linux sylphide 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:46:08 UTC 2013 i686 i686 i686 GNU/Linux
lshw
sylphide
description: Computer
width: 32 bits
*-core
description: Motherboard
physical id: 0