Skip to content

Instantly share code, notes, and snippets.

View paezha's full-sized avatar

Antonio Paez paezha

View GitHub Profile
@oliviergimenez
oliviergimenez / generative-aRt.R
Created November 2, 2021 14:31
Generative art à la Etienne Jacob with R
# some R code to mimic animated gifs created by Etienne Jacob
# @etiennejcb
# https://bleuje.github.io/tutorials/
## load required packages
library(tidyverse)
theme_set(theme_void(base_size = 14))
library(gganimate)
##-- first tutorial https://bleuje.github.io/tutorial1/
@quandyfactory
quandyfactory / get_sobi_data.py
Last active October 23, 2019 15:34
Fetch SoBi Rides Data
#!/usr/bin/env python
# coding: utf-8
"""
This script downloads your Social Bicycles (SoBi) routes data from the SoBi web
API and saves it as a JSON file. It uses HTTP basic authentication with your SoBi
username (your email address) and password.
The function that requests route data executes recursively, incrementing the page
parameter with each subsequent request, until there are no more results.