Skip to content

Instantly share code, notes, and snippets.

View IvanIFChen's full-sized avatar

Ivan Chen IvanIFChen

View GitHub Profile
@yetanotherchris
yetanotherchris / install-mono-amazon-linux.sh
Last active April 29, 2024 17:40
Install Mono on Amazon Linux (CentOS too)
sudo yum update -y
echo "======= INSTALLING RPM FOR MONO ======="
sudo mkdir -p /tmp/mono_dependencies
cd /tmp/mono_dependencies
sudo wget https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/libpng15-1.5.30-11.fc33.x86_64.rpm
sudo yum install -y libpng15-1.5.30-11.fc33.x86_64.rpm
echo "======= INSTALLING MONO ============"
sudo yum install -y yum-utils
@bmweiner
bmweiner / sonos_airplay.md
Last active December 30, 2023 19:30
Stream audio to any Sonos component via AirPlay using a Raspberry Pi.

Sonos Airplay

Stream audio to any Sonos component via AirPlay using a Raspberry Pi (Model B, Raspbian Jessie) and the following software:

  • Shairport Sync: configures the Raspberry Pi as an AirPlay audio player.
  • DarkIce: encodes audio received from AirPlay (system audio) and sends it to Icecast2.
  • Icecast2: serves streaming audio from DarkIce at a network URL.
@jitendravyas
jitendravyas / gist:8d35b092dd9102a05ea3
Last active May 2, 2019 14:59
Brew Cask installation with Laptop script
#!/bin/sh
# homebrew taps
brew tap caskroom/cask
brew tap caskroom/versions
brew tap homebrew/boneyard
brew tap caskroom/fonts
# Updated grep
@joelbyler
joelbyler / vim.md
Last active May 26, 2017 03:12
Vim cheat sheet

#Cursor movement

h - move left
j - move down
k - move up
l - move right
ctrl-b - page up
ctrl-f - page down
% - jump to matching brace

w - jump by start of words (punctuation considered words)