Skip to content

Instantly share code, notes, and snippets.

View walchko's full-sized avatar

Kevin walchko

View GitHub Profile
@walchko
walchko / set_xcode_4.3_path.txt
Created May 5, 2012 20:10
Set XCode path for 4.3
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Check to make sure the path is set correctly by running this command:
xcode-select -print-path && xcodebuild -version
The output should look like this:
/Applications/Xcode.app/Contents/Developer
@walchko
walchko / homebrew_crosstools-ng_install.txt
Created October 24, 2012 11:34
homebrew crosstools-ng install
[kevin@tardis Desktop]$ brew install -v ./crosstool-ng.rb
==> Downloading http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.16.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/crosstool-ng-1.16.0.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/crosstool-ng-1.16.0.tar.bz2
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file Makefile.in
patching file kconfig/zconf.gperf
patch unexpectedly ends in middle of line
==> ./configure --prefix=/usr/local/Cellar/crosstool-ng/1.16.0 --exec-prefix=/usr/local/Cellar/crosstool-ng/1.16.0 --with-objcopy=gobjcopy --with-objdump=gobjdump --with-readelf=greadelf --with-libtool=glibtool --with-libtoolize=glibtoolize --with-install=ginstall CFLAGS=-std=gnu89
@walchko
walchko / rosinstall
Created April 29, 2013 02:07
ROS Groovy .rosinstall file 28 April 2013. All of these packages compile on OSX with ROS Groovy.
# IT IS UNLIKELY YOU WANT TO EDIT THIS FILE BY HAND,
# UNLESS FOR REMOVING ENTRIES.
# IF YOU WANT TO CHANGE THE ROS ENVIRONMENT VARIABLES
# USE THE rosinstall TOOL INSTEAD.
# IF YOU CHANGE IT, USE rosinstall FOR THE CHANGES TO TAKE EFFECT
- tar: {local-name: household_objects_database_msgs, uri: 'https://github.com/ros-gbp/household_objects_database_msgs-release/archive/release/groovy/household_objects_database_msgs/0.1.1-0.tar.gz',
version: household_objects_database_msgs-release-release-groovy-household_objects_database_msgs-0.1.1-0}
- tar: {local-name: rosconsole, uri: 'https://github.com/ros-gbp/ros_comm-release/archive/release/groovy/rosconsole/1.9.44-0.tar.gz',
version: ros_comm-release-release-groovy-rosconsole-1.9.44-0}
- tar: {local-name: nodelet_topic_tools, uri: 'https://github.com/ros-gbp/nodelet_core-release/archive/release/nodelet_topic_tools/1.7.14.tar.gz',
@walchko
walchko / keybase.md
Created October 28, 2014 23:32
keybase.md

Keybase proof

I hereby claim:

  • I am walchko on github.
  • I am kevin_walchko (https://keybase.io/kevin_walchko) on keybase.
  • I have a public key whose fingerprint is B0BC EE8B 9E70 634D 8B5E 0B66 5893 C566 5BE9 47AF

To claim this, I am signing this object:

.. header::
Examples - page ###Page###
.. footer::
Footer .. yeah! page ###Page### of ###Total###
h1
=========
Probably don't need ``landscape``
@walchko
walchko / mjpeg.py
Last active January 17, 2023 05:37
simple mjpeg server using opencv 3.2 and basichttpserver
#!/usr/bin/env python
# License: MIT
# (c) 2017 Kevin J. Walchko
import cv2
from BaseHTTPServer import BaseHTTPRequestHandler
from BaseHTTPServer import HTTPServer
import time
import argparse
@walchko
walchko / mjpeg2.py
Last active August 21, 2022 23:31
a better mjpeg streamer in python using opencv 3.x
#!/usr/bin/env python3
# MIT License
# (c) 2017 Kevin J. Walchko
#
# Updated 16 Mar 2020: Python 3.7.5 Ubuntu 19.10
# Desktop, wired interface is enp2s0
# Raspberry Pi: wlan0
# Ideally, this should be fixed, it is hard coded right now
@walchko
walchko / setup-access-point.sh
Last active May 20, 2018 03:04 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
#!/bin/bash
#
# This version uses September 2016 rpi jessie image, please use this image
# Modified to:
# setup access point on wlan1
# network is 10.10.10.x
# SSID is hostname
# password is robotsarecool
#
@walchko
walchko / test.py
Created August 10, 2017 02:31
compare pickle, gzip, and json
#!/usr/bin/env python
from __future__ import print_function
try:
import cPickle as pickle
except:
import pickle
import gzip
import os
@walchko
walchko / git-pull.sh
Last active August 23, 2017 04:23
Update git repos
#!/bin/bash
#
# Update a bunch of git repos on command
#
set -e
# get a list of non-hidden directories
shopt -u dotglob