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/awk -f | |
# ▌ ▜ ▌ | |
# ▛▌▐ ▀▌▌▌▌▙▘ | |
# ▙▌▐▖█▌▚▚▘▛▖ - Draw an image using block characters and ImageMagick | |
#=============================================================================== | |
# USAGE: | |
# blawk [columns lines] file [imagemagick_arguments] | |
BEGIN { |
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
#define _XOPEN_SOURCE 700 | |
#include <signal.h> | |
#include <unistd.h> | |
int main() | |
{ | |
sigset_t set; | |
int status; | |
if (getpid() != 1) return 1; |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile for verifying Fedora 27-based documentation upodates for | |
# keepalived issue #761: | |
# | |
# https://github.com/acassen/keepalived/issues/761 | |
# | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile for verifying CentOS 7-based documentation updates for | |
# keepalived issue #761: | |
# | |
# https://github.com/acassen/keepalived/issues/761 | |
# | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile for verifying Debian "stretch"-based documentation upodates for | |
# keepalived issue #761: | |
# | |
# https://github.com/acassen/keepalived/issues/761 | |
# | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure |
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
# coding: utf-8 | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile for verifying Ubuntu 17.10 "Artful Aardvark"-based documentation | |
# updates for keepalived issue #761: | |
# | |
# https://github.com/acassen/keepalived/issues/761 | |
# |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile for verifying Alpine Linux-based documentation updates for | |
# keepalived issue #761: | |
# | |
# https://github.com/acassen/keepalived/issues/761 | |
# | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile for verifying archlinux-based documentation updates for | |
# keepalived issue #761: | |
# | |
# https://github.com/acassen/keepalived/issues/761 | |
# | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure |
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
! -------------------------------------------------------------------------------- | |
! This example configuration shows what WE did to get Amazon VPC working with our | |
! ASAs. We use version 8.3(1). This config has not been reviewed or otherwise | |
! blessed in any way by anyone at Amazon. YMMV. | |
! | |
! It differs from Amazon's supplied config by using two different sets of | |
! crypto maps and ACLs, so it brings both tunnels up simultaneously. | |
! | |
! For the purposes of the example, the physical datacenter network is 172.16.1.0/24 | |
! and the VPC is 10.0.0.0/16. |
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
aws ec2 register-image --ena-support --sriov-net-support simple --virtualization-type hvm --name ami-base-centos --block-device-mappings '[{"DeviceName":"/dev/sda1","Ebs":{"SnapshotId":"snap-05168016823a3fc9f"}}]' --root-device-name /dev/sda1 --architecture x86_64 --profile rdc-com-production | |
aws ec2 create-tags --tags Key=OS,Value=CentOS Key=Application,Value=base --resources ami-423a593d --profile rdc-com-production |
OlderNewer