Skip to content

Instantly share code, notes, and snippets.

View markusstraub's full-sized avatar

Markus Straub markusstraub

  • AIT
  • Vienna, Austria
View GitHub Profile
@markusstraub
markusstraub / cloudsend.sh
Last active December 16, 2019 13:57 — forked from MG2R/cloudsend.sh
Send files to Nextcloud/Owncloud shared folder using curl
#!/usr/bin/env bash
############################################################
#
# cloudsend.sh
#
# Uses curl to send files to a shared
# Nextcloud/Owncloud folder
#
# Usage: ./cloudsend.sh <file> <folderLink>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"></script>
<style>
html, body, #map {
height: 100%;
width: 100%;