Skip to content

Instantly share code, notes, and snippets.

View andrew's full-sized avatar

Andrew Nesbitt andrew

View GitHub Profile
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" : {
  • Logging
  • Clean up responses
  • Rate limiting

Hello Sir/Madam

I'm Charles Freeman, I am interested in ordering some Split Rails from your store. I want to know if you carry 10' Cedar Split Rails ,What is the price ? If you do not have this and have different sizes of Stock Tanks then kindly get back to me with some types as well as the prices.Best Regards,

Charles

@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.
@andrew
andrew / allgems.rb
Created September 9, 2014 07:24
Download the name of every published gem from rubygems.org
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'yaml'
@names = []
def download_page(path)
doc = Nokogiri::HTML(open('http://rubygems.org' + path))
@andrew
andrew / 24pr2014.md
Last active August 29, 2015 14:08
24 Pull Requests 2014 Plan
@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 / 24pr.md
Last active August 29, 2015 14:08

Hi, I’m Andrew Nesbitt, I’m a software developer and this little black ball of fluff is my miniature poodle puppy, felix.

I’m going to talk briefly about a little side project of mine called 24 Pull Requests. The aim of the project is to encourage software developers to contribute to open source code on the run up to christmas.

Now I know what a lot of you in the room are thinking, what is a pull request? It’s a way of suggestion a change, fix or improvement to an open source project.

In the past this was often done over email, nowadays it’s done on websites like GitHub and BitBucket.

24 Pull Requests started life as a single web page back in November 2012, encouraging developers to contribute back to open source software projects they had used throughout the year.