Skip to content

Instantly share code, notes, and snippets.

View sinanatra's full-sized avatar

Giacomo Nanni sinanatra

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sinanatra on github.
  • I am giacomonanni (https://keybase.io/giacomonanni) on keybase.
  • I have a public key ASByNcB3C2kUkzxzCmywzq-0UCmpZ8iKlGNih3qlJ8aciAo

To claim this, I am signing this object:

@sinanatra
sinanatra / tay.csv
Created November 26, 2023 20:47
tay tweets data
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 6. in line 1.
name place lat lon
@1972matthewmill Natalia Burque Leon, San Luis Rio Colorado, San Luis Río Colorado, Sonora, 83400, México 32.4215 -114.8235
@9tana ประเทศไทย 14.8971921 100.83273
@AaronSteinhorst Baraboo, Sauk County, Wisconsin, 53913, USA 43.4704014 -89.7437844
@aBIGq 内蒙古自治区, 中国 43.2443242 114.3251664
@absinthol USA 39.7837304 -100.4458825
@AbsurdNihilism S. S. A., Jose Angel Leal, Priv. Villa Jardín, Durango Ciudad, Durango, 34220, México 24.0494197 -104.6251771
@adbmalmeida Lisboa, LSB, Lisboa, Grande Lisboa, Área Metropolitana de Lisboa, 1100-148, Portugal 38.7077507 -9.1365919
@aemyn Sydney, NSW, Australia -33.8548157 151.2164539
@afi_tk Toronto, Ontario, Canada 43.653963 -79.387207
@sinanatra
sinanatra / streamlines.ipynb
Last active November 4, 2023 17:53
Streamlines
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sinanatra
sinanatra / WordNet.txt
Created September 5, 2021 07:45
WordNet Categories
[
"military",
"plants",
"fishing",
"computer_science",
"religion",
"folklore",
"environment",
"genetics",
"commerce",
@prefix ecrm: <http://erlangen-crm.org/200717/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
<http://localhost:8080/api/media/5248> a <http://erlangen-crm.org/200717/E36_Visual_Item/>,
<http://omeka.org/s/vocabs/o#Media> ;
ecrm:P1_is_identified_by "M_186_555_recto-cropped-al-sdg-jh-framed-141209.jpg" ;
ecrm:P2_has_type <http://vocab.getty.edu/aat/300215302> ;
ecrm:P65i_is_shown_by <http://localhost:8080/api/items/687> .
<http://localhost:8080/api/media/5249> a <http://erlangen-crm.org/200717/E73_Information_Object/>,
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sinanatra
sinanatra / NestedDataType
Last active October 28, 2021 14:41
NestedDataType
NestedDataType
@sinanatra
sinanatra / spotify raspberry led
Last active October 13, 2020 15:52
spotify raspberry led
import time
import argparse
from luma.led_matrix.device import max7219
from luma.core.interface.serial import spi, noop
from luma.core.legacy import show_message
from luma.core.legacy.font import proportional, CP437_FONT
import spotipy
import spotipy.util as util
import types