Skip to content

Instantly share code, notes, and snippets.

View phrz's full-sized avatar

Paul Herz phrz

  • Dallas
View GitHub Profile
@xmesaj2
xmesaj2 / Valetudo Z10 Pro Voice Packs.md
Created March 30, 2022 21:18
Valetudo Dreame Z10 Pro Voice Packs Guide
  1. Root
  2. Install Valetudo
  3. Backup files with SCP and to make a list of all of them
scp -i key.id_rsa root@192.168.1.101:/audio/EN/* backup/
  1. Download/create your .wav files, save as 0.wav 1.wav etc. https://github.com/Findus23/voice_pack_dreame/blob/main/sound_list.csv use this for reference which file is which sound to avoid listening to original files to find out
  2. Normalize WAV and convert to OGG. I used WSL Ubuntu 20.04 on Win11 (install vorbis-tools, ffmpeg)
@d03n3rfr1tz3
d03n3rfr1tz3 / Samsung_BN59-01315B.lircd.conf
Created August 2, 2021 22:50
LIRC-Config for Samsung TV Remote BN59-01315B
# brand: Samsung
# model no. of remote control: BN59-01315B
# devices being controlled by this remote: UHD TV RU7099
#
begin remote
name Samsung_TV
bits 16
flags SPACE_ENC|CONST_LENGTH
% !TEX TS-program = XeLaTeX
% DOCUMENT FORMATTING
\documentclass[12pt]{article}
\usepackage{fontspec}
\usepackage{fullpage}
\usepackage{fancyhdr} % better looking title
\usepackage[all]{nowidow}
% MATH FORMATTING
@cimmanon
cimmanon / psql.md
Created May 2, 2017 17:22
PostgreSQL cheat sheet for MySQL users

I use PostgreSQL via the psql client. If you use a different client (eg. pgAdmin, etc.), I don't know how much will translate over.

One nice difference between psql and mysql (cli) is that if you press CTRL+C, it won't exit the client.

User administration

Login as superuser (via shell)

psql -U postgres