Skip to content

Instantly share code, notes, and snippets.

Setting my goals for 2019

Daniel Hollands LimeBlast

Setting my goals for 2019
Block or report user

Report or block LimeBlast

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View twinkle.ino
/* Include the HCWS2812 library */
#include "HCWS2812.h"
/* Create an instance of the library */
HCWS2812 HCWS2812;
void setup()
/* Set the R,G,B background colours to zero */
HCWS2812.SetBG(55, 55, 55);
LimeBlast /
Last active Apr 2, 2016
Steps to set-up a fresh Raspberry Pi
View cat.rb
#!/usr/bin/env ruby
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'ws2812'
def display(array, colours)
$hat.clear false
array.each_with_index do |row, x|
row.each_with_index do |value, y|
$hat[x, y] = colours[value]
View mrskull.rb
#!/usr/bin/env ruby
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'ws2812'
# Init
$hat =
$hat.rotation = 90
l =, 220, 220)
LimeBlast /
Last active Feb 6, 2016
Configuring the TV Service on Raspberry Pi

Taken from Raspberry Pi 2 User Guide by Vilros

If you connect your Pi to a television using an HDMI cable, Raspbian automatically selects a screen size that it decides will be the best for your setup. However, this is not always the highest resolution.

The configuration setting that controls how Raspbian selects the screen size is in the file /boot/config.txt and you can adjust this setting with a text editor:

  1. On the Application Launcher, click LXTerminal.

  2. Type the following command and then press Enter:

LimeBlast /
Created Feb 5, 2016 — forked from blacktm/
A Bash script to install Ruby 2.3 on the Raspberry Pi (Raspbian)
# -----------------------------------------------------------------------
# Installs Ruby 2.3 using rbenv/ruby-build on the Raspberry Pi (Raspbian)
# Run from the web:
# bash <(curl -s raw_script_url_here)
# -----------------------------------------------------------------------
# Set up variables
LimeBlast /
Last active Nov 5, 2015
How to rebase a branch into master
  • git checkout master
  • git pull
  • git checkout <branch>
  • git rebase master
  • git push --force
  • git checkout master
  • git merge <branch> --no-ff
LimeBlast / spec_helper.rb
Last active Dec 4, 2015
change the config on the rspec backtrace display to ignore the /gems/ folder
View spec_helper.rb
RSpec.configure do |config|
# changes the config on the backtrace display to ignore the /gems/ folder

Keybase proof

I hereby claim:

  • I am limeblast on github.
  • I am limeblast ( on keybase.
  • I have a public key whose fingerprint is C50A 94E2 29FC 7919 E7DA A631 0CEC E5EC BC74 0642

To claim this, I am signing this object:

LimeBlast / activation_email_spec.rb
Last active Aug 29, 2015 — forked from tuomasj/activation_email_spec.rb
`have_link_ends_with` matcher
View activation_email_spec.rb
require 'spec_helper'
describe "Activation Email" do
it "confirms the email when user clicks the confirmation link on activation email" do
register_new_user("", "adobe password", "adobe password")
activation_token = User.last.activation_code
expect( open_last_email.default_part_body ).to have_link_with_ends_with(activation_token)
visit activation_path(activation_token)
expect(page).to have_content( "Your email has been confirmed.")
You can’t perform that action at this time.