This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
#!/bin/sh | |
# Enhanced backup script | |
# Sends messages to Zabbix based on exit code of borg executable | |
# | |
# anthonyclark AT G MAIL | |
# Shellcheck will still kvetch at you if notices are enabled | |
# | |
# This script will not work AS-IS but is only provided as such | |
# NO WARRANTIES | |
# This work is licensed under a Creative Commons Attribution 4.0 International License. |
////oAuth related code | |
//hardcoded here for easily tweaking this. should move this to ScriptProperties or better parameterize them | |
//step 1. we can actually start directly here if that is necessary | |
var AUTHORIZE_URL = '/services/oauth2/authorize'; | |
//step 2. after we get the callback, go get token |
require 'rubygems' | |
require 'mechanize' | |
FIRST_NAME = 'FIRST_NAME' | |
LAST_NAME = 'LAST_NAME' | |
PHONE = 'PHONE' | |
EMAIL = '[email protected]' | |
PARTY_SIZE = 2 | |
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |