Skip to content

Instantly share code, notes, and snippets.

{
"meta": {
"theme": "kendall"
},
"basics": {
"name": "Alan Ivey",
"label": "Senior DevOps Engineer",
"image": "https://avatars.githubusercontent.com/u/715868",
"email": "alanivey@gmail.com",
"phone": "(717) 723-8631",
@alanivey
alanivey / 00_README.md
Last active July 14, 2023 22:34
CentOS 8 AMIs for ARM64 and x86_64

Keybase proof

I hereby claim:

  • I am alanivey on github.
  • I am alanivey (https://keybase.io/alanivey) on keybase.
  • I have a public key ASAo6_451r0u-Bsv1FsEJXBeHnr2EwVhYF1cYi5Y8F0O6Ao

To claim this, I am signing this object:

@alanivey
alanivey / install.sh
Created October 29, 2018 21:15
aws_assume_role with brew-gem
# Background: aws_assume_role 1.2.1 fails to install in brew-gem by default with an error about being unable to
# find `rake`. The following is a crude hack/workaround:
brew install brew-gem ruby
AAR_BREWGEM_TMPDIR="$( mktemp -d 2>/dev/null || mktemp -d -t 'AAR_brewgem_tmpdir' )"
brew gem formula aws_assume_role 1.2.1 --homebrew-ruby | sed -e 's/\(cached_download\)/"rake", \1/' > "${AAR_BREWGEM_TMPDIR%/}/gem-aws_assume_role.rb"
HOMEBREW_NO_AUTO_UPDATE=1 brew install "${AAR_BREWGEM_TMPDIR%/}/gem-aws_assume_role.rb"
@alanivey
alanivey / kernel-devel-repos.sh
Last active March 7, 2017 15:28
kernel-devel from CentOS 7 Vault
#!/usr/bin/env bash
# /etc/yum.repos.d/CentOS-Vault.repo on a fully-updated 7.3 system contains repositories for 7.0.1406, 7.1.1503, 7.2.1511:
rpm -q kernel --queryformat '%{VERSION}-%{RELEASE}\n' \
| xargs -I{} yum --enablerepo="C7.?.????-base" --enablerepo="C7.?.????-updates" -y install "kernel-devel-{}"
@alanivey
alanivey / NOTES.md
Last active November 30, 2016 23:12
Docker on Raspbian
@alanivey
alanivey / CentOS-7-GenericCloud-to-AMI.sh
Last active December 5, 2018 23:11
CentOS-7-GenericCloud-to-AMI.sh
#!/bin/bash
# Exit immediately upon a non-zero status
set -e
###############################################################################
# Pre-reqs:
# - Create service role 'vimport':
@alanivey
alanivey / libxml-ruby-1.1.3-libxml2-2.9.patch
Last active August 29, 2015 14:19
libxml-ruby-1.1.3 for libxml2-2.9
diff --git a/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c b/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c
index ed058d2..7c48017 100644
--- a/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c
+++ b/vendor/gems/libxml-ruby-1.1.3/ext/libxml/ruby_xml_node.c
@@ -571,10 +571,17 @@ static VALUE rxml_node_to_s(int argc, VALUE *argv, VALUE self)
xmlNodeDumpOutput(output, xnode->doc, xnode, level, indent, xencoding);
xmlOutputBufferFlush(output);
+#ifdef LIBXML2_NEW_BUFFER
+ if (output->conv)
@alanivey
alanivey / ruby-1.8.7-p374-openssl.patch
Last active August 29, 2015 14:19
Ruby 1.8.7-p374 and 1.8.7-p375, ruby-build, CentOS 7
diff --git a/ChangeLog b/ChangeLog
index 6a36633..614eb99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Sat Jul 6 07:37:43 2013 Martin Bosslet <Martin.Bosslet@gmail.com>
+
+ * ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
+ OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
+ defined.
This file has been truncated, but you can view the full file.
diff --git a/Makefile.global b/Makefile.global
index 3a5b1c2..7450162 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -13,6 +13,8 @@ all: $(all_targets)
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
+build-binaries: $(PHP_BINARIES)
+