Skip to content

Instantly share code, notes, and snippets.

Avatar

Yoel Ramos yoelrc88

  • Miami. FL
View GitHub Profile
@yoelrc88
yoelrc88 / matrix-install.sh
Last active Feb 12, 2019
MATRIX Voice : Installing MATRIX Software and running HAL demos
View matrix-install.sh
##########
# 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 Feb 23, 2018
Asoundrc file for Google Assistant and MATRIX Voice
View asoundrc
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type softvol
slave {
pcm "array"
}
View rainbow-colors.txt
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 Apr 4, 2018
WORKING WITH FILE PERMISSIONS ON YOUR RASPBERRY PI
View file-permissions-rasp.md
@yoelrc88
yoelrc88 / keybindings.json
Last active Apr 18, 2018
VSCode Keyboard Setup
View keybindings.json
// 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 Jun 6, 2018
making and image with dd
View make-rpi-sdcard-image-dd.md

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 Jun 27, 2018
esp32_a2dp_connect_failed.log
View 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 Jul 1, 2018
default-interface-file-raspi.txt
View 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 Oct 12, 2018
Formula to conditionally format comparing two sheets in a Google Sheet cell by cell.
View compare-diff-sheets.md
@yoelrc88
yoelrc88 / vivado-ubuntu-install.md
Last active Jan 29, 2019
Install and setup WePack in Ubuntu
View vivado-ubuntu-install.md
You can’t perform that action at this time.