Skip to content

Instantly share code, notes, and snippets.

View bryankennedy's full-sized avatar
💭
work, work, work

bryan kennedy bryankennedy

💭
work, work, work
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bryankennedy on github.
  • I am bkennedy (https://keybase.io/bkennedy) on keybase.
  • I have a public key whose fingerprint is AFEB 48D0 55DA C85C 4509 55BE B582 B789 077B 62C7

To claim this, I am signing this object:

@bryankennedy
bryankennedy / README.md
Created September 30, 2015 00:38
Scatterplot
@bryankennedy
bryankennedy / guacamole-0.8.3-instructions.md
Last active August 29, 2015 14:26 — forked from jeffersonmartin/guacamole-0.8.3-instructions.md
Guacamole 0.8.3 Step-by-Step Instructions (Ubuntu 12.04 LTS)

Guacamole 0.8.3 Instructions

These instructions were written for Ubuntu 12.04 LTS, herein referred to as guac-server.

Install Tomcat Server and Pre-Requisite Packages

Once your Ubuntu 12.04 LTS VM has been installed and the network has been configured, you will need to install the tomcat server and the latest guacamole release. As of this writing, we are using the binary (.war) of Guacamole 0.8.3.

  1. Install the tomcat6 server
    # apt-get update
    # apt-get install tomcat6
@bryankennedy
bryankennedy / gist:267a2e097db14dde0162
Created October 10, 2014 19:45
Global git ignore
# Compiled source
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages
#
@bryankennedy
bryankennedy / gist:9273374
Last active April 6, 2023 14:38
OS X Command line tools to get Mac hardware information
# Use the command line to get Mac hardware info, like the serial number.
# Returns a paragraph of basic hardware information
system_profiler SPHardwareDataType
# Returns a sentence on the serial number:
# Serial Number (system): <number>
system_profiler SPHardwareDataType | grep "Serial Number"
# Returns just the serial number
@bryankennedy
bryankennedy / gist:4488766
Created January 8, 2013 22:50
Play a <video> at half speed.
<!DOCTYPE html>
<video id="my-video" src="video.mp4" ...></video>
<script type="text/javascript">
/* play video twice as fast */
document.getElementById("my-video").defaultPlaybackRate = 1;
document.getElementById("my-video").play();
/* now play three times as fast just for the heck of it */