Skip to content

Instantly share code, notes, and snippets.

View cicigee's full-sized avatar

Cecilia Gripenberg cicigee

View GitHub Profile
@cicigee
cicigee / dashboard.json
Created September 22, 2020 12:07
Prediction in Icinga2/InfluxDB
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@cicigee
cicigee / nginx.conf
Last active August 13, 2020 14:24
op5/nginx header authentication configuration
#user www www; ## Default: nobody
worker_processes 5; ## Default: 1
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
worker_rlimit_nofile 8192;
events {
worker_connections 4096; ## Default: 1024
}
@cicigee
cicigee / submit.md
Created September 16, 2019 12:47 — forked from tanaikech/submit.md
Downloading Shared Files on Google Drive Using Curl

Downloading Shared Files on Google Drive Using Curl

When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.

File size < 40MB

CURL

filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&amp;id=${fileid}"