Skip to content

Instantly share code, notes, and snippets.

View rowanmanning's full-sized avatar
📢
honk

Rowan Manning rowanmanning

📢
honk
View GitHub Profile
@mudge
mudge / codenames.coffee
Last active December 17, 2015 12:49
A Hubot script to suggest names from Clive Murray's project namer.
# Description:
# Suggesting solid gold, business appropriate business names since 2013. Using Clive Murray's excellent
# http://codenames.clivemurray.com/
#
# Dependencies:
# "rsvp": "1.2.0"
#
# Configuration:
# None
#
@ghalusa
ghalusa / gist:5485982
Last active February 25, 2020 21:48
Install node.js on a raspberry pi
wget http://nodejs.org/dist/v0.10.5/node-v0.10.5-linux-arm-pi.tar.gz
cd /usr/local
sudo tar xzvf ~/node-v0.10.5-linux-arm-pi.tar.gz --strip=1
vi ~/.bash_aliases
export PATH=$PATH:/usr/local/bin/node
bash
node -v
@lox
lox / phark_proposal.md
Created November 23, 2010 04:03
A proposal for a sane php package manager

Proposal for Phark, a sane php package manager

As it stands PEAR sucks. It's complicated, clumsy and is full of utter garbage (sorry).

PHP is rapidly dying because we don't have any decent way of writing code that can easily build on the work of others. What we need is a simple, open package management system like rubygems.

We now have decent support for namespaces, class autoloading and archives. I propose we abandon

@rowanmanning
rowanmanning / jquery.caret.js
Created June 28, 2010 11:40
Cross-browser caret position
/*
* jQuery caret Plugin 0.2
*
* Tested in jQuery 1.4.2
*
* Copyright 2010, Rowan Manning (http://www.rowanmanning.co.uk/)
* Dual licensed under the MIT or GPL Version 2 licenses
*/
(function($){
//============================================================
@paulirish
paulirish / gist:366184
Created April 14, 2010 18:59
html5 geolocation with fallback.
// geo-location shim
// currentely only serves lat/long
// depends on jQuery
// doublecheck the ClientLocation results because it may returning null results
;(function(geolocation){
if (geolocation) return;