Skip to content

Instantly share code, notes, and snippets.

@igordcard
igordcard / gmail.sh
Last active August 29, 2015 13:57 — forked from anonymous/gmail.sh
#!/bin/bash
function gmail() {
from=$1
user=$1
to=$2
stty -echo </dev/tty;
read -p "Password: " passw < /dev/tty
echo
stty </dev/tty echo
@igordcard
igordcard / pastebin.sh
Last active June 12, 2018 10:50 — forked from yevgenko/pastebin.sh
Updated to the latest Pastebin.com API.
#!/bin/bash
# Paste at Pastebin.com using command line (browsers are slow, right?)
# coder : Anil Dewani
# date : November 7, 2010
# forker : Igor Duarte Cardoso
# date : March 12, 2014
# Don't forget to set your Unique Developer API Key here
# http://pastebin.com/api#1
API_KEY=