Install the OpenSSL on Debian based systems
sudo apt-get install openssl
#!/bin/bash | |
usage() { | |
cat << EOF | |
Usage: $0 [OPTION]... COMMAND | |
Execute the given command in a way that works safely with cron. This should | |
typically be used inside of a cron job definition like so: | |
* * * * * $(which "$0") [OPTION]... COMMAND | |
Arguments: |
PHP7 is coming | |
And it's breaking all of our extensions | |
There are currently more changes to the internal apis than there are to things that users will see (and there are enough of those) | |
In fact not even all the extensions in php source proper are all the way PHP7'd - most of PECL and extensions hosted elsewhere haven't even started! Heck half don't have maintainers! | |
Extensions are also notorious for poor api design, poor testing, and non-existent docs | |
But they're also powerful, useful, and fast and more people should use them | |
PHP7 is coming - fast - and we have a chance to "break" things and to get the community interested and involved |
#!/bin/sh | |
# attach_ebs.sh - Attach an EBS volume to an EC2 instance. | |
# Copyright (C) 2020 Peter Willis <[email protected]> | |
# | |
# This script is designed to create and mount a single EBS volume based on its tag:Name | |
# in order to implement persistent storage. If there is more than one EBS volume | |
# with the same tag, this script will fail. | |
# | |
# Order of operations: | |
# 1. Detect EBS volume based on "tag:Name" "$TAG_NAME" |
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)