Skip to content

Instantly share code, notes, and snippets.

View dpriskorn's full-sized avatar
💭
Looking for work as a developer 🚀

Nizo Priskorn dpriskorn

💭
Looking for work as a developer 🚀
View GitHub Profile
@dpriskorn
dpriskorn / badplatser_2024-08-13.gpx
Last active August 13, 2024 13:12
badplatser_2024-08-13.gpx från OSM
<?xml version="1.0" encoding="UTF-8"?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OpenStreetMap GPX exporter"><metadata><desc>Filtered OSM data converted to GPX</desc><copyright author="Data under ODbL by OpenStreetMap Contributors"/><time>2024-08-13T13:07:32.670Z</time></metadata><wpt lat="65.5781199" lon="22.2109541"><name>relation/4128347</name><desc>highway=pedestrian
leisure=bathing_place
type=multipolygon
id=relation/4128347</desc><link href="http://osm.org/browse/relation/4128347"/></wpt><wpt lat="60.7963151" lon="17.2970393"><name>relation/7265663</name><desc>leisure=bathing_place
name=Esköbadet
type=multipolygon
id=relation/7265663</desc><link href="http://osm.org/browse/relation/7265663"/></wpt><wpt lat="59.2888187" lon="18.7057767"><name>relation/8623914</name><desc>leisure=swimming_area
name=Helgarsviken
natural=bay
@dpriskorn
dpriskorn / article.json
Created July 13, 2023 12:46
dehydrated article
{
"wari_id": "en.wikipedia.org.999263.1078434942",
"lang": "en",
"page_id": 999263,
"dehydrated_references": [
{
"id": "cfa8b438",
"template_names": [],
"wikitext": "<ref name = \"Hartmann1\" />",
"type": "footnote",
@dpriskorn
dpriskorn / article.json
Created July 13, 2023 12:22
article including full references
{
"wari_id": "en.wikipedia.org.999263.1078434942",
"lang": "en",
"page_id": 999263,
"dehydrated_references": [],
"references": [
{
"id": "cfa8b438",
"template_names": [],
"wikitext": "<ref name = \"Hartmann1\" />",
@dpriskorn
dpriskorn / epost
Created May 26, 2023 21:15
epost til dsl i dag
Hej!
Jeg ønsker mig DanNet frigivet under licensen CC0. Se https://repository.clarin.dk/repository/xmlui/handle/20.500.12115/25
Hvem kan jeg tale med for at få det til at blive virkelighed?
Endvidere vil jeg også gerne have alle ord og betydelser i DDO frigivet under samme licens. Er det muligt? Om jeg har forstået korrekt så er i finansieret af fonde og skattemidler, så ligger det ikke lige til højrebenet at frigive informationen for hvem som helst at anvende for almenhedens bedste?
Det her skulle kunne bidrage til at give den avancerede maskinlæring (på dansk) et ordentligt løft for Wikidata og koblingen mellem sprogene bruges flittigt til at træne algoritmer med. :)
@dpriskorn
dpriskorn / visualization.py
Created May 22, 2023 20:56
wcd-prototype visualization by [[Usuário:Danilo.mac]]
#!/usr/bin/env python3
"""
@ Autor: [[Usuário:Danilo.mac]]
@ Licença: GNU General Public License 3.0 (GPL V3) e Creative Commons Attribution/Share-Alike (CC-BY-SA)
Descrição: Busca de referencias no dump dos históricos da Wikipédia lusófona, gera um gráfico da evolução
das referências e atualiza o gráfico no Commons.
@dpriskorn
dpriskorn / reference_graph.py
Last active May 22, 2023 20:55
wcd-prototype reference graph by pt [[Usuário:Danilo.mac]]
#!/usr/bin/env python3
"""
@ Autor: [[Usuário:Danilo.mac]]
@ Licença: GNU General Public License 3.0 (GPL V3) e Creative Commons Attribution/Share-Alike (CC-BY-SA)
Descrição: Busca de referencias no dump dos históricos da Wikipédia lusófona e gera um ranking dos usuários
que mais referenciaram artigos.
@dpriskorn
dpriskorn / data.json
Created March 11, 2023 18:37
check-doi example json
{
"wikidata": {
"details": {
"labels": {
"en": {
"language": "en",
"value": "Comparison of cyclooxygenase 2 expression in adenocarcinomas of the gastric cardia and distal oesophagus"
},
"ast": {
"language": "ast",
@dpriskorn
dpriskorn / data.json
Created March 3, 2023 10:45
v2 references output
{
"total": 123,
"references": [
{
"id": "2b1132ee",
"template_names": [],
"type": "footnote",
"footnote_subtype": "named",
"flds": [],
"urls": [],
@dpriskorn
dpriskorn / data.json
Created March 2, 2023 11:55
v2 article response json
{
"wari_id": "en.wikipedia.org.3973",
"lang": "en",
"page_id": 3973,
"references": [
"2b1132ee",
"dc4844ad",
"fed93121",
"fe1d5fdd",
"e6a39675",
@dpriskorn
dpriskorn / easter_island_including_general_references.json
Created January 8, 2023 16:47
Analysis of the Easter Island article with both citation and general references.
{
"number_of_bare_url_references": 0,
"number_of_citation_references": 134,
"number_of_citation_template_references": 6,
"number_of_citeq_references": 0,
"number_of_content_reference_with_at_least_one_template": 145,
"number_of_content_reference_with_no_templates": 11,
"number_of_content_references": 156,
"number_of_cs1_references": 105,
"number_of_general_references": 22,