Skip to content

Instantly share code, notes, and snippets.

View blue-ice's full-sized avatar

Rob Schwartz blue-ice

  • Denver, Colorado
View GitHub Profile
@blue-ice
blue-ice / hp-deskjet-420.md
Last active August 29, 2015 14:04
Steps to use the HP Deskjet 420 on a Linux distribution
@blue-ice
blue-ice / homebrew-opencv2-python
Last active November 16, 2020 01:45
Using Homebrew to install OpenCV2 for Python on Mac
Assuming that you have already installed ```brew``` and that you are logged into a non-root administrator account:
1. ```brew tap homebrew/science```
2. ```brew install opencv```
3. ```sudo su```
4. ```echo "/usr/local/lib/python2.7/site-packages/" > /Library/Python/2.7/site-packages/opencv.pth```
@blue-ice
blue-ice / git-workflow.md
Last active April 7, 2017 00:18
Workflow containing several common actions for reference

Downloading a remote repository for the first time

  1. cd ~/Documents/git-repositories/
  2. We need to grab the entire repository, selecting the branch needed and the local location that should be used (HTTPS):
  3. git clone -b <branch-name> https://github.com/blue-ice/<repo-name>.git ~/Documents/git-repositories/<repo-name>
  4. YOU MUST cd <repo-name>

Modifications, commits and updates

First steps

@blue-ice
blue-ice / .gitignore_global
Last active September 24, 2017 18:52
Instructions for git+github setup on a new computer
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #