Skip to content

Instantly share code, notes, and snippets.

View nickcharlton's full-sized avatar

Nick Charlton nickcharlton

View GitHub Profile
Rural data
Rural average temperature 22.14314927
Latitude Longitude Temperature Delta temperature (temperature minus rural average temperature)
50.689423 -3.549081 20.83380248 -1.309346787
50.699427 -3.580324 21.22029034 -0.922858929
50.743985 -3.580324 24.68239512 2.539245853
50.752891 -3.515436 23.58182023 1.438670963
50.762665 -3.521272 21.01284363 -1.130305634
50.761796 -3.60264 20.35362728 -1.789521989
50.715299 -3.430635 21.96305372 -0.180095545
@nickcharlton
nickcharlton / less_converter.rb
Created May 13, 2012 14:57
For Jekyll. Fixed to work with the new Less gem.
#
# Less to CSS converter for Jekyll.
# In your less file, add two lines of --- at the top.
#
module Jekyll
class LessConverter < Converter
safe true
priority :high
def setup
@nickcharlton
nickcharlton / butts.c
Created December 6, 2011 15:19 — forked from anonymous/butts.c
butts
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "mt64.h"
int n,i; //Define n and i as integers
double *array; //Dynamic array as a double
FILE *myfile;
int main()
{