Skip to content

Instantly share code, notes, and snippets.

View kinlane's full-sized avatar

Kin Lane kinlane

View GitHub Profile
@kinlane
kinlane / platformops-artifacts-circleci
Created February 14, 2022 21:01
platformops-artifacts-circleci
<div class="postman-run-button"
data-postman-action="collection/fork"
data-postman-var-1="13059338-2b59d7a1-7a44-496a-9d2e-806e931a24b2"
data-postman-collection-url="entityId=13059338-2b59d7a1-7a44-496a-9d2e-806e931a24b2&entityType=collection&workspaceId=eb47c1a7-edea-4b83-9966-333ddcf61a06"></div>
<script type="text/javascript">
(function (p,o,s,t,m,a,n) {
!p[s] && (p[s] = function () { (p[t] || (p[t] = [])).push(arguments); });
!o.getElementById(s+t) && o.getElementsByTagName("head")[0].appendChild((
(n = o.createElement("script")),
(n.id = s+t), (n.async = 1), (n.src = m), n
@gboudreau
gboudreau / install-ffmpeg-amazon-linux.sh
Last active November 21, 2023 19:48
How to compile ffmpeg on Amazon Linux (EC2)
#!/bin/sh
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
cat > /etc/yum.repos.d/centos.repo<<EOF
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 30 columns, instead of 13. in line 3.
domain,uri,government,live,ssl,enforce_https,non_www,redirect,ip,hostname,ipv6,dnssec,cdn,google_apps,could_provider,server,cms,analytics,javascript,advertising,slash_data,slash_developer,data_dot_json,click_jacking_protection,content_security_policy,xss_protection,secure_cookies,strict_transport_security,agency,last_checked
acus.gov,http://acus.gov,true,true,false,false,true,,184.94.216.66,ip-184-94-216-66.name-host.com,false,false,false,false,false,Apache/2.2.27 (Unix) PHP/5.3.28,drupal,google_analytics,jquery,"",false,false,false,false,false,false,,false,Administrative Conference of the United States,2014-07-06 10:44:17 -0400
achp.gov,http://achp.gov,true,true,false,false,true,,69.164.158.8,parked.peakcolo.com,false,false,false,false,false,Apache/2.2.10 (Linux/SUSE),"","","","",false,false,false,false,false,false,,false,Advisory Council on Historic Preservation,2014-07-06 10:44:18 -0400
preserveamerica.gov,http://preserveamerica.gov,true,true,false,false,true,,69.164.158.9,parked.peakcolo.com,false,false,f