Skip to content

Instantly share code, notes, and snippets.

View andrew's full-sized avatar

Andrew Nesbitt andrew

View GitHub Profile
@andrew
andrew / README.md
Created June 15, 2017 08:36 — forked from BenJam/README.md

What is in this release?

In this release you will find data about software distributed and/or crafted publicly on the Internet. You will find information about its development, its distribution and its relationship with other software included as a dependency. You will not find any information about the individuals who create and maintain these projects.

Further information and documentation on this data set can be found at https://libraries.io/data

For enquiries please contact data@libraries.io

This dataset contains seven files:

Projects

@andrew
andrew / table.md
Last active August 29, 2015 14:08 — forked from RZRZR/table.md

6 day Timetable

Research (Part C) to be done as homework and presented to the group as part of the introductions.

Monday Tuesday Wednesday Thursday Friday Saturday
Morning Intro to Raspberry Pi. Staff Personal Intros (10mins x 3) Coach to London - Meet at RasPi HQ Make (A) Make (A) Plan Workshops (D) Deliver Workshops (D)
@andrew
andrew / map.geojson
Last active August 29, 2015 14:02 — forked from afeld/map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
curl -XDELETE http://localhost:19200/twitter
curl -XPUT http://localhost:19200/twitter -d '{
"settings" : {
"index" : {
"number_of_shards" : 1,
"number_of_replicas" : 1
}
},
"mappings" : {
"tweet" : {
@andrew
andrew / prerequisites.md
Created December 4, 2012 09:31
Installing Ruby 1.9.3 with rbenv on OS X 10.8 Mountain Lion
  • Install Xcode (App Store)
  • Install developer tools (Xcode preferences > Additional downloads)
  • Install Homebrew
@andrew
andrew / gist:1170599
Created August 25, 2011 13:04 — forked from netpro2k/gist:709570
libfreenect homebrew formula
# install homebrew (details here: https://github.com/mxcl/homebrew/wiki/installation or just run the following command)
ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"
# install xcode: http://developer.apple.com/technologies/xcode.html
# install homebrew formulas (this should eventually be in official homebrew repo)
cd /usr/local/Library/Formula
curl --insecure -O "https://raw.github.com/OpenKinect/libfreenect/master/platform/osx/homebrew/libfreenect.rb"
curl --insecure -O "https://raw.github.com/OpenKinect/libfreenect/master/platform/osx/homebrew/libusb-freenect.rb"
@andrew
andrew / about.md
Created August 21, 2011 08:03 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
// Provides a device_scale class on iOS devices for scaling user
// interface elements relative to the current zoom factor.
//
// http://37signals.com/svn/posts/2407-device-scale-user-interface-elements-in-ios-mobile-safari
// Copyright (c) 2010 37signals.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

If one was inclined to use the acts_as_yaffle pattern, they would probably use the second one, rather than the heavily cargo-culted first one.

// Attempt to make a drop-and-forget bunch of scripts that mimick some missing html5 goodies automatically
// Example:
// $(document).ready(function() {
// ProvideHtml5.autofocus()
// ProvideHtml5.datepicker()
// ProvideHtml5.forcenumber()
// })
var ProvideHtml5 = {
autofocus = function() {