I hereby claim:
- I am mhvelplund on github.
- I am mhvelplund (https://keybase.io/mhvelplund) on keybase.
- I have a public key ASDgxOPHeh-Al6Lu6gbgF800-aXUuJK8YsEIRhz7GBaqUwo
To claim this, I am signing this object:
<?xml version="1.0" ?> | |
<project default="main"> | |
<property name="maven_install_dir" value="maven_install" /> | |
<property name="maven_version" value="apache-maven-3.3.9" /> | |
<target name="get-maven" if="get.maven" description="Download Maven if needed"> | |
<mkdir dir="${maven_install_dir}" /> | |
<get src="http://ftp.download-by.net/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip" dest="${maven_install_dir}/apache-maven-3.3.9-bin.zip" /> | |
<unzip src="${maven_install_dir}/apache-maven-3.3.9-bin.zip" dest="${maven_install_dir}" /> | |
</target> |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
set -eu | |
######## Usage ################################################################# | |
# | |
# #1 Install the AWS CLI | |
# https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html | |
# | |
# #2 Install the Session Manager Plugin for the AWS CLI | |
# https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html |
#!/bin/bash | |
# If you're unfamiliar with this syntax, | |
# $1, $2 ... are the position arguments | |
# to this script. The ${1:-DEFAULT} means | |
# that if there is no argument given, | |
# DEFAULT is used. | |
# So you could either fill in the defaults | |
# and only type your password, or you could | |
# call |
(def memory-db "A blank database" (atom {})) | |
(defn read-db "Return the entire database" [] @memory-db) | |
(defn write-db "Update the database" [new-db] (reset! memory-db new-db)) | |
(defn create-table "Create a new table" [table] | |
(write-db (assoc-in (read-db) [table] {:data [], :indexes {}}))) | |
(defn drop-table "Destroy a table" [table] | |
(write-db (dissoc (read-db) table))) |
%.o : %.asm | |
nasm -felf64 -F dwarf $< -o $@ | |
hello: greet.o write.o readline.o termio.o | |
ld $^ -o $@ | |
clean: | |
rm -f *.o hello |
#!/usr/bin/env bash | |
set -euo pipefail | |
modules=($(grep -r --exclude-dir={examples,.terraform} --include '*.tf' '\"git@github.com:' | cut -d ":" -f3 | cut -d "\"" -f1 | sort -u)) | |
declare -A latest_versions needs_upgrade | |
for module in ${modules[@]}; do | |
if [[ $module =~ ([^\/]+)\/([^\.]+)[^?]+\?ref=(.+) ]]; then |
import sys | |
from awsglue.context import GlueContext | |
from awsglue.job import Job | |
from awsglue.utils import getResolvedOptions | |
from pyspark.context import SparkContext | |
args = getResolvedOptions(sys.argv, ["JOB_NAME", "TYPE", "DELAY"]) | |
sc = SparkContext() |