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  )))
 |
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
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
@BaReinhard
BaReinhard / VSCodeCPPSetup.md
Last active March 7, 2024 12:26
A Basic Setup for using VS Code with C++ 11 for CSIT Data Structures

Setting Up VS Code for C++ 11

This is for students who are running on a Non-Microsoft OS, or students who would rather use a lighter weight IDE

  1. First download VS Code and install it.

  2. Install a C++ extension in VS Code VS Code Extensions *The extension button is the square logo on the

@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

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 / Installing Wine (After Homebrew).md
Last active October 18, 2023 18:44
Installing Wine to run .exe files on Mac

Install Wine to run .exe files

For Mac OSX

If you haven't installed Homebrew yet do so by following this guide

  1. Open a terminal
  2. brew install --cask xquartz, wait for it to complete the install, it should ask you for your password before beginning
  3. brew install --cask wine-stable , this will take some time to finish so sit back and relax.

For Linux

  1. sudo apt-get install wine-stable
@BaReinhard
BaReinhard / LyndaSub.md
Last active February 25, 2023 16:21
Free Lynda.com Membership

Free Lynda.com Membership

  1. Signup for Los Angeles Library Card Online
  1. Signup for Lynda.com Account using Card number and Pin here
  • You will be emailed your Card Number, and by default the Pin will be the last 4 digist of your phone number used during signup
  1. Follow the form prompts you you'll be good to go.