Skip to content

Instantly share code, notes, and snippets.


Marvin Pinto marvinpinto

View GitHub Profile
marvinpinto /
Created Jul 31, 2018 — forked from michaellihs/
Upload tracks to Strava from the Command Line

Upload GPS Tracks to Strava from your Command Line

This short tutorial describes how to upload GPS tracks to Strava using your command line interface / shell. It requires no special tools or any 3rd party code.

Run all following steps with your user logged in to Strava in your browser!

1. Generate an API Key

marvinpinto /
Last active Oct 10, 2017
Demo for Displaying a loading message while initializing a React component

Keybase proof

I hereby claim:

  • I am marvinpinto on github.
  • I am marvinpinto ( on keybase.
  • I have a public key whose fingerprint is 00CD BD49 D9B8 767D B8A4 3EED 5265 4E6E B0BB 564B

To claim this, I am signing this object:

# Imagemagick script used to generate the logo for the 'marvinpinto-archive'
# Github Organization:
# Github gravatar url from:
curl -s -o avatar.jpg
# Using the Pencil Sketch examples from:
marvinpinto /
Last active Jan 31, 2016
Query to return the 5 newest released Ubuntu AMI IDs
sstream-query --output-format "%(version_name)s %(region)s %(id)s %(pubname)s" \ \ \
virt=hvm \
version=14.04 \
label=release \
region=us-east-1 \
root_store=ebs | \
sort -n | \
tail -5
marvinpinto / Dockerfile
Last active Oct 4, 2015
Testing for Ansible RPM downgrading
View Dockerfile
FROM centos:6
COPY ./ /
COPY ./test_playbook.yml /
RUN yum install -y \ \ \
marvinpinto /
Last active Sep 9, 2015
Possible API pagination bug

Here is a tiny example:

[mp-x1: 22:03:29] ~
$ curl -s -X GET -H "Content-Type: application/json"\&page=1 | python -m json.tool
    "has_additional": true,
    "page": 1,
    "tags": [
            "docker_image_id": "aefa3995f41e2d6896530d512fa8415e5d2346058b9a55da28194cc4aa4624dd",
marvinpinto /
Created Jul 6, 2015
Python script to clean up and update the Jenkins AMIs after a successful Packer run
import requests
import os
import boto.ec2
import sys
import re
build_url = os.environ['BUILD_URL']
jenkins_base_url = os.environ['JENKINS_URL']
You can’t perform that action at this time.