Skip to content

Instantly share code, notes, and snippets.

View stevenengland's full-sized avatar

Steven England stevenengland

View GitHub Profile
@stevenengland
stevenengland / boot-clonezilla-live.sh
Last active January 21, 2024 19:00
Shell script to boot into a live distribution of Clonezilla. Can be used in conjunctoin with LVM, is reachable via SSH, needs no monitor attached.
#!/bin/bash
# See https://steven-england.info/2023/12/24/remote-headless-image-backup-and-restore-of-proxmox-hosts-with-clonezilla/ for more explaination.
###################################################
# Variables
###################################################
# These files will be temporarily written to update grub.cfg accordingly. Normally there is no need to edit these vars.
GRUBFILE_HEADER=/etc/grub.d/01_clonezilla_header
@stevenengland
stevenengland / get_updates_example_1_1.mq4
Last active October 11, 2021 09:09
Telegram4MQL Sample Implementation of TelegramGetUpdates
//+------------------------------------------------------------------+
//| get_updates_example_1_1.mq4 |
//| steven england |
//| https://Telegram4MQL.steven-england.info |
//+------------------------------------------------------------------+
#property copyright "steven england"
#property link "https://Telegram4MQL.steven-england.info"
#property version "1.00"
@stevenengland
stevenengland / Signal2Channel.mq4
Last active February 28, 2024 18:13
Sample implementation: How to send trading signals from Metatrader to Telegram channel/group/private chat with Telegram4MQL
//+------------------------------------------------------------------+
//| Signal2Channel.mq4 |
//| steven england |
//| https://Telegram4MQL.steven-england.info |
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| !!! Please note that there is a successor project. !!! |
//| Visit https://mmm.steven-england.info or |
//| https://github.com/stevenengland/MMM for more information |