Skip to content

Instantly share code, notes, and snippets.

svg {
border: 1px solid;
background: white;
}
about = """
Titel: pyYASDI
Autor: Sebastian Schulte
Version: 1.0.0
Datum: 18.3.07 / 18.3.07 / 18.3.07
Datei: pyYASDI.py
+ SMA YASDI Library Wrapper fuer Python Scripting Language v1"""
import yasdiwrapper
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This tool can draw the path of the sun for a given
position on earth. It will draw two lines:
One for June 21 and another for December 21.
You need to have PyEphem and gnuplot installed
for this script to work properly.
#! /bin/bash
# certificates are valids during 365 days
VALID=365
TMPPASS="test"
while [[ -z "$password" ]]
do
read -s -p "Enter password for the Certificate Authority (CA) key: " password
echo
@bbinet
bbinet / influxdb stack trace
Created October 2, 2014 13:22
influxdb stack trace
root@influxdb:/var/log/circus# /usr/bin/influxdb -config=/etc/influxdb/config.toml
[10/02/14 13:12:53] [INFO] Loading configuration file /etc/influxdb/config.toml
[10/02/14 13:12:53] [INFO] Redirectoring logging to /opt/influxdb/shared/log.txt
[10/02/14 13:12:53] [INFO] Starting Influx Server bound to 0.0.0.0 ...
[10/02/14 13:12:53] [INFO]
+---------------------------------------------+
| _____ __ _ _____ ____ |
| |_ _| / _| | | __ \| _ \ |
| | | _ __ | |_| |_ ___ _| | | | |_) | |
| | | | '_ \| _| | | | \ \/ / | | | _ < |
@bbinet
bbinet / PlatformDevs.toml
Last active August 29, 2015 14:16
Heka v0.9.0 - Dynamic sandboxes
ip_address = ":5565"
[signer]
name = "PlatformDevs"
hmac_hash = "md5"
hmac_key = "Platform devs signing key"
version = 1
@bbinet
bbinet / normalize-import.lua
Last active August 29, 2015 14:20
Darktable plugin to normalize directory path of imported images
--[[
Normalize Import
A simple plugin to normalize directory path (film) of imported images.
When a new image is imported, the plugin immediately moves the new image to the
following normalized directory path:
<photos_path>/YYYY/MM/DD/<image.jpg>
AUTHOR
Bruno Binet <[email protected]>
@bbinet
bbinet / heka-report-ok.txt
Created May 18, 2015 16:42
Heka report before idle packs
root@test-mc-9-dev:/home/helioslite/tracker# HEKA_HL_DIR="/usr/share/heka-hl-sandboxes" CARBON_OUT_DIR="/var/local/stats" hekad -config /etc/heka/toml
2015/05/18 15:18:06 Pre-loading: [DashboardOutput]
2015/05/18 15:18:06 Pre-loading: [TrserverInput]
2015/05/18 15:18:06 Pre-loading: [TrserverDecoder]
2015/05/18 15:18:06 Pre-loading: [CarbonEncoder]
2015/05/18 15:18:06 Pre-loading: [CarbonFileOutput]
2015/05/18 15:18:06 Pre-loading: [Trwebclient1sLastAggregateMetricFilter]
2015/05/18 15:18:06 Pre-loading: [TrwebclientOutput]
2015/05/18 15:18:06 Pre-loading: [TrwebclientEncoder]
2015/05/18 15:18:06 Pre-loading: [NoAggregateMetricFilter]
@bbinet
bbinet / heka-report-fail.txt
Created May 18, 2015 16:43
Heka report after idle packs
2015/05/18 16:20:07 Diagnostics: 38 packs have been idle more than 120 seconds.
2015/05/18 16:20:07 Diagnostics: (input) Plugin names and quantities found on idle packs:
2015/05/18 16:20:07 Diagnostics: Trwebclient1sLastAggregateMetricFilter: 38
2015/05/18 16:20:07 Diagnostics: MainRegexDispatchFilter: 32
2015/05/18 16:20:07
2015/05/18 16:20:07 Diagnostics: 25 packs have been idle more than 120 seconds.
2015/05/18 16:20:07 Diagnostics: (inject) Plugin names and quantities found on idle packs:
2015/05/18 16:20:07 Diagnostics: 3sLastAggregateMetricFilter: 23
2015/05/18 16:20:07 Diagnostics: 60sMinAggregateMetricFilter: 1
2015/05/18 16:20:07 Diagnostics: 60sLastAggregateMetricFilter: 24
hindsight_hl_test