This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Copyright (c) 2015 Davide Gironi | |
// | |
// Please refer to LICENSE file for licensing information. | |
// Xively trigger service for sending alert mail | |
// | |
// Installation and usage: | |
// Upload this script to your website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region License | |
// Copyright (c) 2014 Davide Gironi | |
// | |
// Please refer to LICENSE file for licensing information. | |
#endregion | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# An R script to estimate MQ gas sensors correlation curve and compute Ro, min and max Rs/Ro | |
# | |
# Copyright (c) Davide Gironi, 2016 | |
# | |
# Released under GPLv3. | |
# Please refer to LICENSE file for licensing information. | |
# How to use this script: | |
# 1) set limits as datasheet curve ("xlim" and "ylim") | |
# ex. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Arduino Random Rainbow Stop | |
Random Led Strip Selection | |
Copyright (c) Davide Gironi, 2015 | |
References: | |
+ https://github.com/technobly/NeoPixel-KnightRider | |
+ https://github.com/adafruit/Adafruit_NeoPixel | |
Released under GPLv3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#run this script at machine startup with option S | |
#if the machine is startup at selected day of week, hour and between minute interval then a shutdown is triggered | |
#the shutdown trigger can be disabled by deleting the shutdown trigger file | |
RUN_DAYOFWEEK=6 | |
RUN_HOUR=2 | |
RUN_MINUTEMIN=0 | |
RUN_MINUTEMAX=20 | |
BACKUP_CRONTABCMD="30 2 * * 6 /opt/ghettovcb/bin/ghettoVCB.sh -a -g /vmfs/volumes/backups01/backuphelper/ghettoVCB.conf > /vmfs/volumes/backups01/backuphelper/ghettoVCB.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bitbucket Git Downloader | |
# Copyright (c) Davide Gironi, 2021 | |
# Released under GPLv3 | |
# Downloads all the repository from a Bitbucket account |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git Stats | |
# Copyright (c) Davide Gironi, 2021 | |
# Released under GPLv3 | |
# Save git stats to mysql |