I hereby claim:
- I am duckworth on github.
- I am duckworth (https://keybase.io/duckworth) on keybase.
- I have a public key ASAl1ZkFc8u5PhInGF94hKwe8rj1z6k7kgnoqV1mlrOj0go
To claim this, I am signing this object:
| namespace :icon do | |
| require "net/http" | |
| require "json" | |
| desc "Fetch an iconify icon and save it as partial `bin/rails icon:fetch ICON=heroicons:light-bulb`" | |
| task fetch: :environment do | |
| icon_name = ENV["ICON"] | |
| if icon_name.nil? || icon_name.strip.empty? | |
| puts "ERROR: Please provide an icon name using the ICON environment variable (e.g., bin/rails icon:fetch ICON=heroicons:light-bulb)" |
| ##Dockerfile | |
| FROM centos:7 | |
| RUN yum update -y && yum install -y wget perl openssl-devel dmidecode sed vim | |
| RUN wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash | |
| # Edit /etc/yum.repos.d/dell-system-update.repo to point to last supported centos 7 version | |
| RUN sed -i '/\[dell-system-update_independent\]/a baseurl=https://linux.dell.com/repo/hardware/DSU_22.08.12/os_independent/' /etc/yum.repos.d/dell-system-update.repo | |
| RUN sed -i 's|baseurl=https://linux.dell.com/repo/hardware/dsu/os_independent/|#&|' /etc/yum.repos.d/dell-system-update.repo |
| # Export IP addresses to support vulnerability scanning | |
| # Public IPs | |
| touch /tmp/public-ips.txt | |
| aws ec2 describe-instances \ | |
| --query "Reservations[*].Instances[*].PublicIpAddress" \ | |
| --output=text \ | |
| >>/tmp/public-ips.txt | |
| #!/bin/sh | |
| apt-get -y install socat | |
| curl https://get.acme.sh | sh |
| #!/bin/bash | |
| backupdir="$HOME/dbbackups"; | |
| day=`date -u +"%Y-%m-%d"`; | |
| mkdir -p $backupdir/$day; | |
| echo "PostgreSQL Backup util on $HOSTNAME"; | |
| echo "=================================" | |
| echo `date`; | |
| for database in `/usr/local/bin/psql -lt | awk '{print $1}' | grep -vE '\||^$|template[0-9]'`; |
| CREATE EXTERNAL TABLE IF NOT EXISTS alb_logs ( | |
| type string, | |
| timestamp string, | |
| elb string, | |
| client_ip string, | |
| client_port int, | |
| target_ip string, | |
| target_port int, | |
| request_processing_time double, | |
| target_processing_time double, |
I hereby claim:
To claim this, I am signing this object:
| # Ubuntu 14.04 LTS kickstart for XenServer | |
| # branch: develop | |
| ########################################## | |
| # Install, not upgrade | |
| install | |
| # Install from a friendly mirror and add updates | |
| url --url http://us.archive.ubuntu.com/ubuntu/ |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'net/ssh' | |
| #need to install gem 'parallel' | |
| require 'parallel' | |
| #Path to file with hosts in it, one per line | |
| HOSTFILE = "hosts.txt" | |
| USER = 'root' | |
| #ssh key path | |
| KEYS = [ "~/.ssh/key" ] |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <profiles> | |
| <!-- | |
| This settings.xml file is a sample settings.xml that can be used to | |
| retrieve Odiago (Wibi) artifacts as well as Hadoop, HBase, etc. | |
| artifacts from Cloudera. |