This file contains hidden or 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 | |
/** | |
* Part of the Fuel framework. | |
* | |
* @package Fuel | |
* @version 1.0 | |
* @author Fuel Development Team | |
* @license MIT License | |
* @copyright 2010 - 2012 Fuel Development Team |
This file contains hidden or 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 | |
/** | |
* Amazon Web Services S3 Driver. | |
* Use Composer "require": {"aws/aws-sdk-php": "2.*"} | |
* | |
* @package Cloud_Storage | |
* @author Juan Manuel Torres <juan.torres@alleluu.com> | |
* @license MIT License | |
* @copyright 2013-2014 Alleluu Development team | |
* @link https://github.com/alleluu/fuel-cloud-storage |
This file contains hidden or 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/bash# @parseArger-begin | |
# @parseArger-help "I send an SOS to the world" --option "help" --short-option "h" | |
# @parseArger-verbose --option "verbose" --level "0" --quiet-option "quiet" | |
# @parseArger-declarations | |
# @parseArger pos vid "video id" | |
# @parseArger opt base-url "service url" --default-value "https://www.youtube.com/watch?v=" | |
# @parseArger opt next "play next" --short n --repeat --alias playlist | |
# @parseArger opt player-command "player command" --short p --default-value "mpv" --repeat --alias player | |
# @parseArger opt set-display "set display id" --default-value "0" | |
# @parseArger opt pulse-out "pulseaudio output sink id" --default-value "2" |
This file contains hidden or 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/bash | |
# @parseArger-begin | |
# @parseArger-help "I send an SOS to the world" --option "help" --short-option "h" | |
# @parseArger-declarations | |
# @parseArger opt shutdown "shutdown after the value" | |
# @parseArger flag dnf "update dnf package" --on | |
# @parseArger flag flathub "update flatpak" --on | |
# @parseArger flag yes "auto yes" --short y | |
# @parseArger-declarations-end |
This file contains hidden or 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/bash | |
# Check if parseArger is installed | |
if ! command -v parseArger &> /dev/null; then | |
read -p "parseArger is not installed. Would you like to install it? (yes/y to confirm): " install_parseArger | |
if [[ "$install_parseArger" =~ ^[Yy](es)?$ ]]; then | |
# Install parseArger | |
echo "Installing parseArger..." | |
# Download the install script | |
curl -s https://raw.githubusercontent.com/DimitriGilbert/parseArger/main/utils/get_parseArger -O | |
# Make it executable |
This file contains hidden or 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/bash | |
# Check if parseArger is installed | |
if ! command -v parseArger &> /dev/null; then | |
read -p "parseArger is not installed. Would you like to install it? (yes/y to confirm): " install_parseArger | |
if [[ "$install_parseArger" =~ ^[Yy](es)?$ ]]; then | |
# Install parseArger | |
echo "Installing parseArger..." | |
# Download the install script | |
curl -s https://raw.githubusercontent.com/DimitriGilbert/parseArger/main/utils/get_parseArger -O | |
# Make it executable |
This file contains hidden or 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
#include <Arduino.h> | |
#include <LibTeleinfo.h> | |
#include "./Station.h" | |
#include "./sensors/linky.h" | |
// use this file as main.cpp in a clone of https://github.com/DimitriGilbert/StationIO-Station | |
// libTeleinfo https://github.com/hallard/LibTeleinfo | |
// there is some hardware but everything is explained on the lib page |
This file contains hidden or 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/bash | |
# @parseArger-begin | |
# @parseArger-help "I send an SOS to the world" --option "help" --short-option "h" | |
# @parseArger-verbose --option "verbose" --level "0" --quiet-option "quiet" | |
_has_colors=0 | |
if [ -t 1 ]; then # Check if stdout is a terminal | |
ncolors=$(tput colors 2>/dev/null) | |
if [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then | |
_has_colors=1 | |
fi |
This file contains hidden or 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/bash | |
# @parseArger-begin | |
# @parseArger-help "Display file contents with separators" --option "help" --short-option "h" | |
# @parseArger-verbose --option "verbose" --level "0" --quiet-option "quiet" | |
# @parseArger-leftovers leftovers | |
_has_colors=0 | |
if [ -t 1 ]; then # Check if stdout is a terminal | |
ncolors=$(tput colors 2>/dev/null) | |
if [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then | |
_has_colors=1 |