Skip to content

Instantly share code, notes, and snippets.

@DeanXu2357
DeanXu2357 / recnoisered.sh
Created February 25, 2019 03:36 — forked from mauron85/recnoisered.sh
How to record and filter noise from mic in Linux
# Useful links
# https://stackoverflow.com/questions/42904441/pipe-sox-play-command-to-stdout
# http://www.zoharbabin.com/how-to-do-noise-reduction-using-ffmpeg-and-sox/
# Record some noise
sox -t alsa default -b 16 -r 44100 -e signed -t wav - -t wav /tmp/noise.wav
# or alternative with arecord
@DeanXu2357
DeanXu2357 / latest-protobuf-ubuntu-18-04.md
Created February 11, 2019 13:35 — forked from diegopacheco/latest-protobuf-ubuntu-18-04.md
How to Install Latest Protobuf on Ubuntu 18.04
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
make
make check
sudo make install
sudo ldconfig
@DeanXu2357
DeanXu2357 / install_go_pi.sh
Last active February 4, 2019 08:19 — forked from random-robbie/install_go_pi.sh
Install Go Lang 1.10.1 on Raspberry Pi 3
wget https://storage.googleapis.com/golang/go1.11.5.linux-armv6l.tar.gz
sudo tar -C /usr/local -xvf go1.11.5.linux-armv6l.tar.gz
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc
@DeanXu2357
DeanXu2357 / rfc6749.md
Created January 16, 2019 07:25 — forked from yorkxin/rfc6749.md
RFC 6749 in Markdown - Edited from http://tools.ietf.org/rfc/rfc6749.txt
Internet Engineering Task Force (IETF)                     D. Hardt, Ed.
Request for Comments: 6749                                     Microsoft
Obsoletes: 5849                                             October 2012
Category: Standards Track
ISSN: 2070-1721

The OAuth 2.0 Authorization Framework

Abstract