Skip to content

Instantly share code, notes, and snippets.

@ChrisHardie
ChrisHardie / twitter-timeline-to-rss-feed.php
Last active April 6, 2021 10:06
Example PHP script to generate an RSS feed from a user's timeline for tweets that match a certain set of criteria
<?php
/**
* Generate an RSS feed from a Twitter user's timeline
* Chris Hardie <chris@chrishardie.com>
*/
require "/path/to/vendor/autoload.php" ;
use Abraham\TwitterOAuth\TwitterOAuth;
@danielecook
danielecook / plot_runkeeper.R
Last active January 16, 2017 17:47
This R Script will plot all of your runkeeper data. It uses cluster analysis to group activities by location as needed, and outputs a graph for each location. For example - I have run in Iowa City, Boston, and Chicago - and this script is able to identify those locations and output separately.
# Special thanks for insights from flowingdata.com regarding this.
library(plotKML)
library(plyr)
library(dplyr)
library(fpc)
num_locations <- 5
# Usage: Place this script in the directory containing your runkeeper data. You can run from terminal using 'Rscript map_runkeeper.R', or
@holgerbrandl
holgerbrandl / analyzeRK.R
Last active December 15, 2017 22:03
Analyze RunKeeper tracks with R
## Inspired by
#http://runkeeper.com/download/activity?activityId=181462294&downloadType=googleEarth
#http://cnr.lwlss.net/GarminR/
#install.packages("lubridate")
library(XML)
library(plyr)
library(lubridate)
library(stringr)
@erikreagan
erikreagan / mac-apps.md
Created August 4, 2012 19:18
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik