Skip to content

Instantly share code, notes, and snippets.

View BaReinhard's full-sized avatar
🏠
Working from home

Brett Reinhard BaReinhard

🏠
Working from home
View GitHub Profile
#Just Testing Gist to get the gist of it
@BaReinhard
BaReinhard / _README.md
Created January 23, 2017 15:42 — forked from oleq/_README.md
A2DP audio streaming using Raspberry PI (Raspbian Jessie)

What is this all about?

This tutorial will turn your Raspberry PI into a simple Bluetooth audio receiver, which plays music through connected speakers. It's like a regular car audio system, but it can be used anywhere and it's a good value.

   Audio source (i.e. smartphone) 
                |
                v
 (((  Wireless Bluetooth Channel  )))
 |
brett@brett:~/pulseaudio-dlna$ pulseaudio-dlna
04-04 15:12:44 pulseaudio_dlna.notification ERROR notify2 could not be initialized! Notifications will most likely not work.
04-04 15:12:44 pulseaudio_dlna.application INFO Using version: 0.5.2
04-04 15:12:44 pulseaudio_dlna.application INFO Binding to *:8080
04-04 15:12:44 pulseaudio_dlna.application INFO Encoder settings:
04-04 15:12:44 pulseaudio_dlna.application INFO <AVConvAacEncoder available="False" bit-rate="192">
04-04 15:12:44 pulseaudio_dlna.application INFO <AVConvFlacEncoder available="False">
04-04 15:12:44 pulseaudio_dlna.application INFO <AVConvL16Encoder available="False" sample-rate="44100" channels="2">
04-04 15:12:44 pulseaudio_dlna.application INFO <AVConvMp3Encoder available="False" bit-rate="192">
04-04 15:12:44 pulseaudio_dlna.application
sudo bin/pulseaudio-dlna
04-04 15:22:08 pulseaudio_dlna.__main__ INFO Running as root. Starting daemon ...
04-04 15:22:08 pulseaudio_dlna.daemon INFO Checking pulseaudio processes ...
04-04 15:22:08 pulseaudio_dlna.daemon INFO Adding pulseaudio process (1326)
04-04 15:22:10 pulseaudio_dlna.daemon INFO Attaching application to pulseaudio (1326)
04-04 15:22:10 pulseaudio_dlna.daemon WARNING The following environment variables were not set: "DBUS_SESSION_BUS_ADDRESS". Starting as root may not work!
04-04 15:22:11 pulseaudio_dlna.notification ERROR notify2 could not be initialized! Notifications will most likely not work.
04-04 15:22:11 pulseaudio_dlna.application INFO Using version: 0.5.2
04-04 15:22:11 pulseaudio_dlna.application INFO Binding to *:8080
04-04 15:22:11 pulseaudio_dlna.application

First Time users of git on the CLI

You'll want to configure your CLI git client to recognize your email so that you can more easily make push requests to your repo.

git config --global user.name "Your Name Here"
git config --global user.email "your_email@here.com'
// We're probably all aware of the jokes about VIM and how hard it is to exit, so this 
// next step isn't necessary but definitely beneficial
// If there is ever a conflict git will open up your default editor to fix any conflicts
git config --global core.editor nano

Installing Homebrew

  1. Open a terminal and paste the following:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  1. Wait for it to finish, and you're done

Enjoy brew

@BaReinhard
BaReinhard / PSSub.md
Last active October 26, 2017 14:52
Free pluralsight subscription for CSIT 836/840

These Steps No Longer Work as Visual Studio Dev Essentials is no longer partnered with Plural Sight

No more codes

See this to get a free membership for Lynda.com instead:

Free Lynda.com

Free PluralSight subscription

  1. Signup for Microsoft Account
  • Existing Microsoft Accounts (which haven't signed up for PluralSight free subscription), navigate to this link
@BaReinhard
BaReinhard / FixSookasa.md
Created October 28, 2017 02:58
Short Gist to Fix Sookasa to work on macOSX

Fix Sookasa on MacOSX 10.5 & Up

  1. Download Sookasa
  2. Install the Sookasa_3.XX.X.pkg file
  3. Download FUSE for macOS
  4. Open osxfuse-3.X.X.dmg and double click the cardboard box icon labeled FUSE for macOS.
  5. During the install process make sure to select the option MacFUSE Compatibility Layer and continue the installation.
  6. Open Sookasa and sign-in
@BaReinhard
BaReinhard / Change_Boot_Animation.md
Last active November 18, 2017 05:38
Changing Bootanimation Blu R1 HD

Changing Boot Animation on Blu R1 HD

  1. Have root
  2. Install Android SDK here
  3. Connect Phone to Computer and have it trust your computer. You will need developer options of USB Debugging on
  4. Open Terminal
  5. Use the command adb shell
  6. In the new shell opened gain root by typing su you will need to grant permission via the phone screen
  • mount system as read-write permissions mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  1. In a seperate command prompt on your computer push the bootanimation.zip to a writable location i.e. /storage/sdcard0/Download