I hereby claim:
- I am scottj on github.
- I am ssjx (https://keybase.io/ssjx) on keybase.
- I have a public key ASBVMMgdcp7t8oByKF5zz7IIpCrXmTP6QbHnnsAAlakbxAo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
URL=https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip | |
AWS=/usr/local/aws-cli | |
BIN=/usr/local/bin | |
TMP=$(mktemp -d /tmp/update-awscli.XXXXXX) | |
ZIP=$TMP/awscli.zip | |
echo [+] Downloading $URL | |
curl -so $ZIP $URL |
#!/usr/bin/env bash | |
if [[ $# -lt 2 ]]; then printf "Usage:\n$0 <src> <dst>\n"; exit; fi | |
function abspath { # https://stackoverflow.com/a/23002317/226502 | |
if [[ -d $1 ]]; then (cd "$1"; pwd) | |
else | |
if [[ $1 = /* ]]; then echo "$1" | |
elif [[ $1 == */* ]]; then echo "$(cd "${1%/*}"; pwd)/${1##*/}" | |
else echo "$(pwd)/$1" |
#!/bin/bash | |
QUERY=$1 | |
# https://stackoverflow.com/a/246128/226502 | |
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
/usr/bin/osascript ${SCRIPT_DIR}/music-search.scpt "${QUERY}" |
curl -sx 127.0.0.1:8080 http://burp/cert \ | |
| openssl x509 -inform DER \ | |
| sudo tee /usr/local/share/certificates/burp.crt \ | |
&& sudo update-ca-certificates |
#!/bin/sh | |
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers \ | |
-array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.barebones.bbedit;}' |
#!/usr/bin/env python3 | |
import http.server | |
import socketserver | |
HOST = "localhost" | |
PORT = 8000 | |
class HttpRequestHandler(http.server.SimpleHTTPRequestHandler): |
I hereby claim:
To claim this, I am signing this object:
<project name="dex2jar" basedir="." default="build.jar"> | |
<property name="lib.dir" value="lib"/> | |
<property name="build.dir" value="build"/> | |
<property name="dist.dir" value="dist"/> | |
<property name="dist.jar" value="${dist.dir}/dex2jar.jar"/> | |
<target name="init" description="Create Directories"> | |
<mkdir dir="${build.dir}"/> | |
<mkdir dir="${dist.dir}"/> | |
<mkdir dir="${lib.dir}"/> |