Skip to content

Instantly share code, notes, and snippets.

View brunosan's full-sized avatar

Bruno Sánchez-Andrade Nuño brunosan

View GitHub Profile
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.
@brunosan
brunosan / annotations-sentinel-norway.csv
Last active September 15, 2021 22:05
Aquaculture Tutorial
chip label
0 data/tiles-s14/14-8426-4766.png No
1 data/tiles-s14/14-8685-4316.png No
2 data/tiles-s14/14-8759-4217.png No
3 data/tiles-s14/14-8541-4461.png Yes
4 data/tiles-s14/14-8500-4493.png Yes
5 data/tiles-s14/14-8808-4132.png No
6 data/tiles-s14/14-9209-3647.png No
7 data/tiles-s14/14-8857-3823.png No
8 data/tiles-s14/14-8892-3819.png Yes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can't make this file beautiful and searchable because it's too large.
<Corrupt Image>
664K ./train/bnf_20190624and0815+8f8df182-6c7b-40af-bb59-e3cb4907247c.jpg <Corrupt Image>
1.2M ./train/bnf_20190624and0815+98adc62b-458c-4a45-9a35-f65aa22669e9.jpg <Corrupt Image>
0 ./train/bnf_20190624and0815+a7cf3e23-9120-4a0c-852d-72df57ba45b8.jpg Time:2020-02-01T09:10:05.5366790Z</Message></Error>
4.0K ./train/rspb_gola+89769f80-3f14-11ea-879c-9801a7a664ab.jpg Time:2020-02-01T09:11:18.2446249Z</Message></Error>
4.0K ./train/rspb_gola+8978af6e-3f14-11ea-9935-9801a7a664ab.jpg Time:2020-02-01T09:10:03.7238171Z</Message></Error>
4.0K ./train/rspb_gola+897505b4-3f14-11ea-86da-9801a7a664ab.jpg Time:2020-02-01T09:08:21.1576372Z</Message></Error>
4.0K ./train/rspb_gola+897441d8-3f14-11ea-aeea-9801a7a664ab.jpg Time:2020-02-01T09:09:04.7867198Z</Message></Error>
4.0K ./train/rspb_gola+8977b848-3f14-11ea-b117-9801a7a664ab.jpg Time:2020-02-01T09:08:02.2943692Z</Message></Error>
4.0K ./train/rspb_gola+8978cd28-3f14-11ea-9c3b-9801a7a664ab.jpg Time:2020-02-01T09:10:57.5795114Z</Message></Error>
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
./train/bnf_20190624and0815+8f8df182-6c7b-40af-bb59-e3cb4907247c.jpg
./train/bnf_20190624and0815+98adc62b-458c-4a45-9a35-f65aa22669e9.jpg
./train/bnf_20190624and0815+a7cf3e23-9120-4a0c-852d-72df57ba45b8.jpg
./train/rspb_gola+89769f80-3f14-11ea-879c-9801a7a664ab.jpg
./train/rspb_gola+8978af6e-3f14-11ea-9935-9801a7a664ab.jpg
./train/rspb_gola+897505b4-3f14-11ea-86da-9801a7a664ab.jpg
./train/rspb_gola+897441d8-3f14-11ea-aeea-9801a7a664ab.jpg
./train/rspb_gola+8977b848-3f14-11ea-b117-9801a7a664ab.jpg
./train/rspb_gola+8978cd28-3f14-11ea-9c3b-9801a7a664ab.jpg
./train/rspb_gola+89756ae8-3f14-11ea-b0d9-9801a7a664ab.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brunosan
brunosan / index.html
Created August 4, 2019 10:24
Make pink noise
<!DOCTYPE html>
<html>
<body>
<h2>Make (pink) noise</h2>
<p>To sleep, to quiet crying babies, to concentrate, ...</p>
<button onclick="myFunction()" >Start pink noise</button>
@brunosan
brunosan / dhont.py
Last active September 12, 2023 06:33
Python D'Hont Formula
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the

Keybase proof

I hereby claim:

  • I am brunosan on github.
  • I am brunosan (https://keybase.io/brunosan) on keybase.
  • I have a public key ASCwyr-2pLAAOHfkmt3zMoWDnOHECPT1EdvdiTGPWLenego

To claim this, I am signing this object: