Skip to content

Instantly share code, notes, and snippets.

Yoel Ramos yoelrc88

  • Miami. FL
Block or report user

Report or block yoelrc88

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yoelrc88
yoelrc88 / ssh-into-colab.sh
Last active Apr 29, 2019 — forked from creotiv/gist:d091515703672ec0bf1a6271336806f0
script to ssh into colab notebook
View ssh-into-colab.sh
#Generate root password
import random, string
password = ''.join(random.choice(string.ascii_letters + string.digits) for i in range(20))
#Download ngrok
! wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
! unzip -qq -n ngrok-stable-linux-amd64.zip
#Setup sshd
! apt-get install -qq -o=Dpkg::Use-Pty=0 openssh-server pwgen > /dev/null
#Set root password
@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 / vivado-ubuntu-install.md
Last active Jan 29, 2019
Install and setup WePack in Ubuntu
View vivado-ubuntu-install.md
@yoelrc88
yoelrc88 / asound.conf
Last active Nov 21, 2018
asound file using softvol
View asound.conf
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "speaker-softvol"
}
capture.pcm {
type plug
slave.pcm "mics-softvol"
}
@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 / 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 / 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 / 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 / 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 / file-permissions-rasp.md
Created Apr 4, 2018
WORKING WITH FILE PERMISSIONS ON YOUR RASPBERRY PI
View file-permissions-rasp.md
You can’t perform that action at this time.