Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrea Borruso aborruso

  • Palermo, Italy
View GitHub Profile
View toto.sh
#!/bin/bash
### requisiti ###
# miller https://github.com/johnkerl/miller
# scrape https://github.com/aborruso/scrape-cli
# yq https://github.com/kislyuk/yq
### requisiti ###
set -x
View alberi.sh
#!/bin/bash
### requisiti ###
# miller https://github.com/johnkerl/miller
# scrape https://github.com/aborruso/scrape-cli
# pyexcel-cli https://github.com/pyexcel/pyexcel-cli
# pyexcel-xls https://github.com/pyexcel/pyexcel-xls
# yq https://github.com/kislyuk/yq
# parallel https://www.gnu.org/software/parallel/
### requisiti ###
View cs2cs_dms2dd.md

Come convertire coordinate da gradi minuti e secondi in gradi decimali

Qui come farlo con cs2cs.

A partire da un file di input fatto così, longitudine, latitudine e quota (che si può impostare a zero, se è una info assente)

13d25'18" 38d5'25" 0
6d5'8" 35d58'47" 0
View index.html
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
/* From extension bierner.markdown-preview-github-styles */
body {
background: white;
View htmlwidget-0971c37dd630e105e8c2.json
{
"x": {
"data": [
{
"x": [
1582286400,
1582286400,
1582372800,
1582372800,
1582286400,
View out.csv
n id x y classe code
1 0 1582718400 0.5 1 0
2 1 1582718400 1.5 1 0
3 2 1582804800 1.5 1 0
4 3 1582804800 0.5 1 0
5 4 1582718400 0.5 1 0
6 5 1 0
1 6 1582804800 0.5 1 6
2 7 1582804800 1.5 1 6
3 8 1582891200 1.5 1 6
View esempio.csv
id x y classe
0 1582718400 0.5 1
1 1582718400 1.5 1
2 1582804800 1.5 1
3 1582804800 0.5 1
4 1582718400 0.5 1
5 1
6 1582804800 0.5 1
7 1582804800 1.5 1
8 1582891200 1.5 1
View index.html
<blockquote class="quoteback" darkmode="" data-title="Universal%20Declaration%20of%20Human%20Rights" data-author="" cite="https://www.un.org/en/universal-declaration-human-rights/">
<h4>Article 27.<br>
&nbsp;</h4>
<p>(1) Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.<br>
(2) Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author.</p>
<footer><cite> <a href="https://www.un.org/en/universal-declaration-human-rights/">https://www.un.org/en/universal-declaration-human-rights/</a></cite></footer>
</blockquote><script note="" src="https://cdn.jsdelivr.net/gh/Blogger-Peer-Review/quotebacks@1/quoteback.js"></script>
View index.html
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:title" content="CIG explorer" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://bl.ocks.org/aborruso/raw/fb42531e3acd24d5dec5676781a04cc9/" />
You can’t perform that action at this time.