Home Blog Page 3
Tennis API Logo

Tennis API

1
I published a tennis API on https://market.mashape.com/f-sm-jorquera/tennis-database. This API has methods to query all tennis matches on the ATP since 1968,  along with players and qualifications. Filtering, sorting and pagination of the results are suported. Example request:  curl --get --include 'https://f-sm-jorquera-tennis-database-v1.p.mashape.com/v1/atp_qualification_challenge' -H 'X-Mashape-Key: {my-api-key}' -H 'Accept: application/json'  

Tablifyme API

0
I created an API that creates a text table from a JSON array. Useful to send tables of data over email, Slack or Markdown. The API is available on Mashape: https://market.mashape.com/f-sm-jorquera/tablifyme Example: curl -X POST --include 'https://tablifyme.p.mashape.com/tablifyme' -H 'X-Mashape-Key: My-Secret-key' -H 'Content-Type: application/json' -H 'Accept: application/json' --data-binary '{"body":,],"header":}' Result: +-----+------+-----+ | Y |...
Building maps is very easy with Folium. I got my hands on some data from the US Census, specifically, the foreign born population and total population per US county. To plot it, first download the CSV from the  2011-2015 American Community Survey 5-Year Estimates. import os import folium import pandas as pd # Load...

Saïgon on iPhone 6 iOS 10.2.1

0
Saigon's Jailbreak is now on beta 2r1, https://iabem97.github.io/saigon_website/ and it promises to jailbreak iPod Touch 6 (10.2.1), iPhone SE (10.2.1), iPhone 6/Plus (10.2.1), iPhone 6s/Plus (10.2.1), iPad Mini 4 (10.2.1) (Not tested), iPad Air 2 (10.2.1). I have an iPhone 6 on 10.2.1 and decided to give it a try. Download Cydia...
Although a heavy Mac Book user and lover, I had been away from Apple phones, I saw them as more restricted and expensive versions of their Android counterparts but that changed recently when my company gave me a corporate iPhone 8 Plus 256Gb. I've used the phone for roughly two...
Matplotlib Basemap

Install matplotlib basemap on virtualenv

6
I am using Python3.6 and MacOS 10.13.2(Beta) but should work with similar setups. First create and activate your virtual environment, by default mine is created on top of Python3.6. ~ ❯❯❯ mkvirtualenv basemap-virtualenv Installing setuptools, pip, wheel...done. (basemap-virtualenv) ~ ❯❯❯ cd Desktop (basemap-virtualenv) ~/Desktop ❯❯❯ curl https://codeload.github.com/matplotlib/basemap/tar.gz/v1.1.0 -o basemap-v1.1.0.tar.gz Note that I am using the...
Web development stack I've built quite a few websites for clients, friends, family and for myself too in the last few years, some examples are: kunstwinder.com, southcitysmile.com or this very blog. Over time, I've polished the tool and techniques, to speed up development, and to increase the quality. At this point,...
I had a problem recently on a website using Wordpress and the Enfold theme. A YouTube video that was initially marked as private, but later updated to public (embeddable) was still only showing the link, and not the actual video player. Other videos however in the same page, where showing...

Python Stripe Signature Verification Error

1
Building a Django + Stripe integration today I kept hitting the SignatureVerificationError. According to their webhook's documentation, they recommend something like this: @csrf_exempt def my_webhook_view(request): payload = request.body sig_header = request.META event = None try: event = stripe.Webhook.construct_event( payload, sig_header,...

Repair experience OnePlus 3t

0
After many months of use without a case, I finally managed to crack the screen of my One Plus 3t. I researched online to try a repair on my own, but eventually, and from my previous experiences in which self-repairs don't end up as nicely as you might think,...