This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS | |
Amazon | |
EC2 | |
S3 | |
RDS | |
DynamoDB | |
Redshift | |
Lambda | |
Sagemaker | |
Athena |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i -r -e 's/(.*)\[(([[:alnum:]]|[[:space:]])+)\]\((http([[:alnum:]]|[[:punct:]])+)\)(.*)/\1<a href="\4" target="_blank">\2<\/a>\6/g' [input-file]... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# enable mod_ext_filter | |
a2enmod ext_filter | |
# create temp config file | |
cat <<EOF > /tmp/haml_sass | |
# For HAML & SASS (http://d.hatena.ne.jp/ursm/20080923/1222195693) | |
LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
#Set up customizeable variables | |
VM='SteamOS' #the name of the vm | |
TRASH="/tmp" #where to dump the zip and decompressed folder | |
ISO="steamos-1.0-uefi-amd64.iso" #what to call the iso | |
PUT="/tmp" #where to put the iso | |
VDI=$(pwd) #where to put the virtual drive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
#Config Vars | |
NODE_URL="http://node-arm.herokuapp.com/node_latest_armhf.deb" | |
NODE_TARGET="/tmp/" | |
GHOST_URL="https://github.com/TryGhost/Ghost.git" | |
GHOST_DIR="/opt/ghost" | |
HOSTNAME=ghost | |
#Check for root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
#use bash, be verbose | |
HOSTNAME=despotify | |
SVN_TARGET="/tmp/spotify" | |
#Check for Root | |
function check_for_root () | |
{ | |
LUID=$(id -u) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#To do: configure install for $1 | |
#To do: move script to acceptable path | |
#To do: generate conf in /etc for variables | |
#To do: SOLVE: last line must be \n or blank. We got something wrong. | |
list="./url-list.txt" #variable called list is a file in the current directory | |
URLS=$(cat $list) #creates var called URLS from file | |
i=0 #new variable to iterete and increment | |
#loop | |
printf %s "$URLS" | while IFS= read -r line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# until tomorrow ./stegged must exist & | |
# ./cover must exist & have images & | |
# ./hide must exist and have images | |
#TO DO: argument for verbose output | |
#TO DO: make hide/ and /cover variables that can be configured | |
#TO DO: license and README.md | |
#install argument to: | |
#apt-get update && apt-get install steghide | |
#move script to /usr/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
#Check for root | |
LUID=$(id -u) | |
if [[ $LUID -ne 0 ]]; then | |
echo "$0 must be run as root" | |
exit 1 | |
fi | |