Skip to content

Instantly share code, notes, and snippets.

View geraintwhite's full-sized avatar
:octocat:

Geraint White geraintwhite

:octocat:
View GitHub Profile
@geraintwhite
geraintwhite / _notepad.html
Last active April 26, 2017 12:14 — forked from olls/notepad.html
HTML Notepad with save, open, local storage and markdown preview. Improved, live version http://dvbris.com/projects/notepad.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Notepad</title>
@geraintwhite
geraintwhite / twitter_api_proxy.js
Created April 7, 2014 00:23 — forked from olls/twitter_api_proxy.js
A Node.js app that allows the use of the Twitter API by client-side JavaScript.
/*
A simple Node.js proxy for Twitter's OAuth API.
*/
var http = require('http');
var url = require('url');
var t = require('twitter-js-client');
var twitter = new t.Twitter({
"consumerKey": "###",
@geraintwhite
geraintwhite / drawarc.c
Last active September 7, 2015 09:24 — forked from distantcam/drawarc.c
Pebble helper functions
/*
Copyright 2013 Cameron MacFarland
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software