Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Gromina
Gromina / gist:1ef43c678c2acd58ca9384cc3c742e7c
Created November 1, 2023 08:22
Calc weight via gamepad API
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@Gromina
Gromina / remove_bloatware_10pro
Last active April 4, 2024 09:43
OnePlus 10 pro bloatware removal script. run it adb shell
# Source: https://www.droidwin.com/remove-bloatware-debloat-oneplus-10-pro-no-root/
#
pm uninstall -k --user 0 com.android.apps.tag # Stock android fluff
pm uninstall -k --user 0 com.android.bips # Stock android fluff
pm uninstall -k --user 0 com.android.bluetoothmidiservice # Stock android fluff
pm uninstall -k --user 0 com.android.bookmarkprovider # Stock android fluff
pm uninstall -k --user 0 com.android.calllogbackup # Stock android fluff
pm uninstall -k --user 0 com.android.cellbroadcastreceiver.overlay.common # Stock android fluff
pm uninstall -k --user 0 com.android.cts.priv.ctsshim # Stock android fluff
pm uninstall -k --user 0 com.android.dreams.basic # Stock android AOD provider. This is needed for AOD to work fully
[
{
"guid": "97413b03-add7-4014-a68d-aa15cd8a8e94",
"name": "VGMdb",
"description": "Plugins that adds support for VGMdb to music libraries. Can provide both images and metadata for artists and albums.\n",
"overview": "Plugins that adds support for VGMdb to music libraries. Can provide both images and metadata for artists and albums.",
"owner": "jellyfin",
"category": "Metadata",
"imageUrl": "",
"versions": [
// Original Source: https://github.com/markfguerra/google-forms-to-slack
/////////////////////////
// Begin customization //
/////////////////////////
// Alter this to match the incoming webhook url provided by Slack
var slackIncomingWebhookUrl = 'Put your webhook url here';
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# ├── russian_g2p # https://github.com/nsu-ai/russian_g2p.git
# ├── russian_stt_text_normalization # https://github.com/snakers4/russian_stt_text_normalization.git
# ├── # silero
# └── TTS.py
#
#
import itertools
import torch
import torchaudio
@Gromina
Gromina / Clean Samsung Galaxy A40 bloatwares
Created August 10, 2020 15:53 — forked from joaofl/Clean Samsung Galaxy A40 bloatwares
Script I used to clean preinstalled shit out of my brand new Samsung A40 (while there is still no LineageOS for it)
#!/bin/sh
# ref: https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/
# install the following app to see the packages names:
# use the following command to generate the unistall command, for easy copy and paste:
# adb shell 'pm list packages' | sed -e 's/^/adb uninstall --user 0 /' | grep FILTER_HERE | sort
#things to install if removing keyboard
# F-Droid
# APK Analyser
@Gromina
Gromina / face.yaml
Last active July 20, 2020 10:01
ESHhome servo conrol
#button controls state of two servo groups. Each one is opposite to other
esphome:
name: face
platform: ESP8266
board: nodemcuv2
wifi:
ssid: hackerspace
password: xxxxxxx
# Enable fallback hotspot (captive portal) in case wifi connection fails
@Gromina
Gromina / i.sh
Last active September 5, 2019 21:37
node_exporter install
# https://devopscube.com/monitor-linux-servers-prometheus-node-exporter/
# https://github.com/prometheus/node_exporter/releases/
curl -LO https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz
tar -xvf node_exporter-0.18.1.linux-amd64.tar.gz
sudo mv node_exporter-0.18.1.linux-amd64/node_exporter /usr/local/bin/
sudo useradd -rs /bin/false node_exporter
sudo vi /etc/systemd/system/node_exporter.service
sudo systemctl daemon-reload
sudo systemctl start node_exporter