Skip to content

Instantly share code, notes, and snippets.

@connerbrooks
connerbrooks / glass.html
Created April 17, 2014 14:57
[wearscript] Wake on Look at Screen
<html style="width:100%; height:100%; overflow:hidden">
<head>
</head>
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<canvas id="canvas" width="640" height="360" style="display:block"></canvas>
<script>
function server() {
WS.log('Welcome to WearScript');
WS.say('Welcome to WearScript');
@connerbrooks
connerbrooks / glass.html
Created June 13, 2014 03:46
[wearscript] pebble spanish
<html style="width:100%; height:100%; overflow:hidden">
<head>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
</head>
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
// Fisher-Yates shuffling algorithm (http://stackoverflow.com/questions/2450954/how-to-randomize-shuffle-a-javascript-array)
@connerbrooks
connerbrooks / plan9_go.md
Last active August 29, 2015 14:02
Using Experimental Go 1.3 Plan9 Support

Using Go 1.3 with Plan9

Installing from source is fairly simple. You should be able to follow the instructions here. Fair warning, I am using 9front so your experience may differ. (mercurial is preinstalled)

My Steps

  • Create $home/go
  • Clone the repo into $home/go (I dropped the -u and release)
@connerbrooks
connerbrooks / intern-games.md
Last active August 29, 2015 14:04
intern games

Intern Game Notes

  • Like puzzle day

  • Full weekend event

    • Early saturday till some time Sunday.

Results

  • Things could go wrong.
@connerbrooks
connerbrooks / eustis.md
Last active August 29, 2015 14:05
VPN to eustis @ UCF

How to vpn to eustis at UCF

  • Install openconnect

  • Enter the following in terminal

# openconnect ucfvpn-1.vpn.ucf.edu
  • Now you can ssh/sftp to eustis
@connerbrooks
connerbrooks / ucf-office.md
Last active August 29, 2015 14:06
UCF Office 365 Subscription

Microsoft Office with Your UCF 365 Account

  • Login to UCF Outlook
  • Go to the gear in the top left and click Office 365 Settings
  • Click on the software tab.
  • Scroll down and click install. Office will start downloading.
  • Login with your UCF Outlook account when the installer asks you to.
  • You can have 5 active installation.
@connerbrooks
connerbrooks / weechat.md
Last active August 29, 2015 14:06
Weechat
/set weechat.bar.status.color_bg 0
/set weechat.bar.title.color_bg 0
/set weechat.color.chat_nick_colors 1,2,3,4,5,6
/set buffers.color.hotlist_message_fg 7
/set weechat.bar.buffers.items buffers

/set weechat.look.buffer_notify_default message
/set irc.look.smart_filter on
/filter add irc_smart * irc_smart_filter *

Keybase proof

I hereby claim:

  • I am connerbrooks on github.
  • I am connerbrooks (https://keybase.io/connerbrooks) on keybase.
  • I have a public key whose fingerprint is 9B74 6C04 5229 147D 7364 698C C20F FD59 72B9 F975

To claim this, I am signing this object:

@connerbrooks
connerbrooks / kinect.md
Last active August 29, 2015 14:07
Kinect
@connerbrooks
connerbrooks / pointcloud_saved.html
Last active August 29, 2015 14:11
PointCloud.js with test data
<html>
<head>
<!-- you can include other scripts here -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/three.js/r69/three.js"></script>
<script src="http://threejs.org/examples/js/controls/OrbitControls.js"></script>
</head>
<body>
<script>
var camera, scene, renderer;
var geometry, material, mesh;