Skip to content

Instantly share code, notes, and snippets.

@yoelrc88
yoelrc88 / matrix-install.sh
Last active July 7, 2021 11:44
MATRIX Voice : Installing MATRIX Software and running HAL demos
##########
# PART 1 #
##########
# Add repo and key
curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list
# Update packages and install
sudo apt-get update
@yoelrc88
yoelrc88 / asoundrc
Created February 23, 2018 23:32
Asoundrc file for Google Assistant and MATRIX Voice
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type softvol
slave {
pcm "array"
}
1 229 0 107
2 229 0 31
3 229 44 0
4 229 120 0
5 229 196 0
6 184 229 0
7 108 229 0
8 32 229 0
9 0 229 43
10 0 229 119
@yoelrc88
yoelrc88 / file-permissions-rasp.md
Created April 4, 2018 21:01
WORKING WITH FILE PERMISSIONS ON YOUR RASPBERRY PI
@yoelrc88
yoelrc88 / keybindings.json
Last active April 18, 2018 22:13
VSCode Keyboard Setup
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+shift+[BracketLeft]",
"command": "editor.fold",
"when": "editorTextFocus"
},
{
"key": "ctrl+[",
"command": "-editor.fold",
@yoelrc88
yoelrc88 / make-rpi-sdcard-image-dd.md
Last active June 6, 2018 22:00
making and image with dd

Making the image small as possible

  • unmount SD card
  • resize partition using gparted
  • apply changes

Finding how big is the partition

using fdisk:

@yoelrc88
yoelrc88 / esp32_a2dp_connect_failed.log
Created June 27, 2018 22:41
esp32_a2dp_connect_failed.log
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Apr 22 2017, 09:14:19.
Port /dev/ttyS0, 22:32:48
Press CTRL-A Z for help on special keys
I (5133) BT_AV: *********************************************
@yoelrc88
yoelrc88 / default-interface-file-raspi.txt
Created July 1, 2018 00:47
default-interface-file-raspi.txt
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
@yoelrc88
yoelrc88 / compare-diff-sheets.md
Created October 12, 2018 16:49
Formula to conditionally format comparing two sheets in a Google Sheet cell by cell.
@yoelrc88
yoelrc88 / vivado-ubuntu-install.md
Last active January 29, 2019 15:19
Install and setup WePack in Ubuntu