Skip to content

Instantly share code, notes, and snippets.

Avatar

Anil Bhanushali anilbhanushali

View GitHub Profile
@anilbhanushali
anilbhanushali / webdev.yaml
Created Jun 1, 2020 — forked from ankitsinghaniyaz/webdev.yaml
Ansible file to setup a web develoipment environment in an Ubuntu(ish) OS
View webdev.yaml
# Set up a development environment on an Ubuntu flavored linux distribution
# install and sets up:
# rbenv, nvm, mysql, postgres, redis
# vscode, slack, docker, chormium, tilix, heroku, postman, beekeeper, skype, kazam, peek and more
# setup an rsa key
# Usage:
# install ansible 2.7+ - latest
## sudo apt-add-repository ppa:ansible/ansible && sudo apt update && sudo apt install ansible
# run the playbook:
## ansible-playbook webdev.yaml -K -e "email=<your@email.com>"
@anilbhanushali
anilbhanushali / upload.sh
Created Oct 22, 2018
upload file to S3 via curl on public bucket
View upload.sh
bucket=my-test-bucket
dateValue=`date -R`
file=file.tar.bz2
curl -L -vv -X PUT -T "${file}" \
-H "Host: ${bucket}.s3.amazonaws.com" \
-H "Date: ${dateValue}" \
https://${bucket}.s3.ap-south-1.amazonaws.com/${file}
@anilbhanushali
anilbhanushali / install_couchdb.sh
Created Aug 21, 2018 — forked from muzfuz/install_couchdb.sh
Bash script that installs CouchDB on Amazon Linux EC2 (2015.09)
View install_couchdb.sh
#!/bin/bash
#This script is tuned to install CouchDB on an Amazon Linux (2015.09) EC2 Instance
#Documented here:
#https://cwiki.apache.org/confluence/display/COUCHDB/Amazon+Linux
#Install tools
sudo yum -y --enablerepo=epel groupinstall "Development Tools"
sudo yum -y --enablerepo=epel install perl-Test-Harness erlang-erts erlang-os_mon erlang-eunit libicu-devel autoconf-archive curl-devel erlang-etap erlang-asn1 erlang-xmerl js-devel
View vpnin10seconds.md