Skip to content

Instantly share code, notes, and snippets.

View Assios's full-sized avatar

Asbjørn Ottesen Steinskog Assios

View GitHub Profile
@Assios
Assios / hybrid_players_updated.txt
Last active February 21, 2021 11:58
European Hybrid Cup players
Lapinews;Romain Edoard;2614
Guirepa;Alvar Alonso Rosell;2564
FernandoPeralta;Fernando Peralta;2554
Sitojumi;Marc Narciso Dublan;2520
Brumul;Tiger Hillarp Persson;2543
schackstudion;Axel Smith;2452
BjornAhl;Bjorn Ahlander;2395
canuara;Stellan Brynell;2421
Johanssc;Johan-Sebastian Christiansen;2612
Urkis;Frode Olav Olsen Urkedal;2568
import pandas as pd
import math
from tabulate import tabulate
import requests
ROUND_NUMBER = 8
url = "http://chess-results.com/tnr499129.aspx?lan=1&zeilen=0&art=1&rd=%s&flag=30&prt=4" % ROUND_NUMBER
df = pd.read_excel(url, skiprows=[0, 1, 2, 3])

Keybase proof

I hereby claim:

  • I am assios on github.
  • I am assios (https://keybase.io/assios) on keybase.
  • I have a public key ASBnoA0Z-3lkyZqb_rEbGiCk0FTBQeA0dVKn1BaFVxE3QAo

To claim this, I am signing this object:

@Assios
Assios / get_tweets.py
Last active March 14, 2017 10:26
Twitter streaming API example
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
import json
import re
import datetime
import tweepy
from keys import *
import json
import time
import sys
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)