Bubble charts encode data in the area of circles. Although less perceptually-accurate than bar charts, they can pack hundreds of values into a small space. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo '* Installing oauth2 Ruby gem' | |
gem install oauth2 | |
echo '* Done installing oauth2 gem' | |
echo '' | |
echo '* Enter your API ID:' | |
read apiid | |
echo '* Enter your API secret:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILE=$1 | |
BASE=${FILE%.*} | |
EXT=${FILE##*.} | |
cp "$FILE" "${BASE}@2x.${EXT}" | |
WIDTH_RAW=`sips -g pixelWidth "$FILE" | sed -n 2p` | |
WIDTH=${WIDTH_RAW##*:} | |
HEIGHT_RAW=`sips -g pixelHeight "$FILE" | sed -n 2p` | |
HEIGHT=${HEIGHT_RAW##*:} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// IdGenerator.h | |
// | |
// | |
// Created by Noah Santorello on 2/22/12. | |
// Copyright (c) 2012 Noah Santorello. All rights reserved. | |
// | |
@interface IdGenerator : NSObject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LoadingView.h | |
// LoadingView | |
// | |
// Created by Matt Gallagher on 12/04/09. | |
// Copyright Matt Gallagher 2009. All rights reserved. | |
// | |
// Permission is given to use this source code file, free of charge, in any | |
// project, commercial or otherwise, entirely at your risk, with the condition | |
// that any redistribution (in part or whole) of source code must retain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
.lightbox-container { | |
display:none; | |
} | |
#lightbox { | |
display:none; | |
background: #333333; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this to FrameParsingTests.java | |
@Test | |
public void testPeterAddition() { | |
CommandData data; | |
VariantComponentData comp; | |
ArrayList<Byte> byteQueue = new ArrayList<Byte>(); | |
byteQueue.addAll(Arrays.asList(new Byte[] { 0x01, 0x14, 0x00, 0x04, 0x00, 0x02, 0x0E, (byte)0x7A, 0x02, 0x01, 0x13, (byte)0x03, (byte)0x43, 0x00, 0x00, (byte)0xFF, 0x01, 0x00, 0x2C, 0x01, 0x00, 0x1A })); | |
ReceivedFrame frame = Frame.parseFrame(byteQueue); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install git curl | |
# install zsh and mods | |
cd ~ | |
sudo apt-get install git-core highlight zsh perl | |
git clone git://github.com/miohtama/ztanesh.git ~/tools | |
~/tools/zsh-scripts/setup.zsh | |
zsh | |
chsh -s /bin/zsh $USER |
- Build display.cpp
- Set up pipe on Linux VM
- Run display application
- Run proxy/passthrough on Mac
- Start streaming from Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Newtonsoft.Json; | |
using System.Collections.Generic; | |
using Newtonsoft.Json.Linq; | |
using System.Text; | |
namespace Grounded | |
{ | |
public class ContentfulLinkConverter : JsonConverter | |
{ |
OlderNewer