Skip to content

Instantly share code, notes, and snippets.

View daviguima's full-sized avatar
🌎
Learning

David Guimaraes daviguima

🌎
Learning
View GitHub Profile
@daviguima
daviguima / s3_img_list
Created April 28, 2021 11:13
Complete list of Sentinel-3 images used in the experiment
S3A_OL_2_WFR____20160425T134227_20160425T134427_20171030T154612_0119_003_238______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160428T140436_20160428T140636_20171030T201052_0119_003_281______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160429T133846_20160429T134046_20171030T212723_0119_003_295______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160502T140055_20160502T140255_20171031T025227_0119_003_338______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160503T133505_20160503T133705_20171031T043213_0119_003_352______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160506T135714_20160506T135914_20171031T100025_0119_004_010______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160507T133124_20160507T133324_20171031T114647_0119_004_024______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160510T135333_20160510T135533_20171031T145056_0119_004_067______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160511T132743_20160511T132943_20171031T152001_0119_004_081______MR1_R_NT_002.SEN3
S3A_OL_2_WFR____20160514T134952_20160514T135152_20171031T165811_0119_004_124______MR1_R_NT_002.SEN3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@daviguima
daviguima / listppas.sh
Created March 10, 2020 12:40
list ppa & repositories ubuntu
egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*
@daviguima
daviguima / gist-oneliner
Created March 9, 2020 14:06
upload file to gist.github.com using curl
curl -X POST -d '{"public":true,"files":{"test.txt":{"content":"String file contents"}}}' -u mgarciaisaia:mypassword https://api.github.com/gists
# https://stackoverflow.com/questions/34048241/how-to-create-a-gist-on-command-line
@daviguima
daviguima / docker-snappy-setup-history.txt
Created March 9, 2020 14:03
command history from docker
1 java -version
2 python3 -V
3 python3
4 echo $JAVA_HOME
5 echo $PATH
6 echo $JAVA
7 java -version
8 python3
9 echo $JAVA_HOME
10 cd usr/lib/jvm/
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ sudo apt install xclip
$ xclip -sel clip < ~/.ssh/id_rsa.pub
@daviguima
daviguima / chad_lake.json
Created January 7, 2020 08:06
Chad lake
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[
{
"satellite": "FS706",
"station": "CUIABA",
"status": "Scheduled",
"startDay": "07/26/08",
"startDoy": "208",
"startTime": "00:48:28",
"finishDay": "07/26/08",
"finishDoy": "208",
@daviguima
daviguima / equator_anomaly.json
Last active June 11, 2019 19:42
testing geojson data import in qgis3
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[180.0000, 2.5812],
[179.5000, 2.6754],
[179.0000, 2.7704],
[178.5000, 2.8661],
[178.0000, 2.9627],
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.