I hereby claim:
- I am rshipp on github.
- I am rshipp (https://keybase.io/rshipp) on keybase.
- I have a public key whose fingerprint is C1E4 46BF AC0D 6882 8EDD 98D1 9985 DAD9 D417 608D
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
# dependencies: pip install requests bs4 iocextract | |
# usage: python wwwextract.py URL | |
import sys | |
import requests | |
import bs4 | |
import iocextract | |
response = requests.get(sys.argv[1]) |
import sys | |
import time | |
import pprint | |
from sandboxapi import vmray | |
# connect to the sandbox | |
sandbox = vmray.VMRayAPI('MY_KEY') | |
# verify connectivity |
#!/bin/bash | |
name=$1 | |
version=$(wget http://hackage.haskell.org/package/$name -qO- | grep Change\ log | sed 's,^.*<strong>\([0-9\.]*\)</strong></td></tr><tr><th>Change.*$,\1,') | |
echo Building $name-$version | |
cp -R haskell-conduit haskell-$name | |
cd haskell-$name | |
sed -i s/conduit/$name/g PKGBUILD |
FROM tomcat | |
RUN apt-get update && apt-get install -y openssh-server | |
RUN mkdir /var/run/sshd | |
RUN echo 'root:password' | chpasswd | |
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config | |
# SSH login fix. Otherwise user is kicked off after login | |
RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd |
#!/bin/bash | |
# take notes | |
IDENT= # put your gpg key id (email) here | |
NOTES_DIR=~/.n | |
TMP_DIR=/dev/shm/.n | |
GPG=gpg | |
mkdir -p "$NOTES_DIR" || exit $? |
#!/bin/bash | |
# Forvo scraper | |
language=${FORVO_LANG:-fr} | |
BASEURL="http://forvo.com/search/" | |
AUDIOURL="http://audio.forvo.com/mp3/" | |
word=$1 | |
if [[ -z $word ]]; then | |
echo "usage: " | |
echo "FORVO_LANG=languagecode ./forvo_scraper.sh myword" |
#!/bin/bash | |
# interactive betty shell | |
BETTYSH_PS1=${BETTYSH_PS1:-betty$ } | |
install_betty() { | |
echo "==> Installing betty..." | |
git clone https://github.com/pickhardt/betty ~/.betty || return $? | |
echo "==> Done." | |
} |
#!/bin/bash | |
# unit4 autograder helper script | |
# usage: | |
# ./gradehelper-u04 username | |
[[ -z $1 ]] && exit 1 | |
cd $1 | |
main() { | |
# Link and update the git repo |
#!/bin/bash | |
# unit3 autograder helper script | |
# usage: | |
# ./gradehelper-u03 username | |
[[ -z $1 ]] && exit 1 | |
cd $1 | |
main() { | |
# Clone the git repo |
I hereby claim:
To claim this, I am signing this object: