Pastebin

From AMSN
Jump to: navigation, search

Pastebin is a site that we use to help debugging aMSN. It's like a public global clipboard. Please don't post any personal information or logs (unless instructed what to post by a dev), as the site is accessible to anyone, and logs may contain data that could be used to obtain your password. Developers will not ask you to post anything to pastebin if it contains personal information.

Power Users

(bash) pastebin

pastebin() {
	author=`whoami`;
	if [ -z "$1" ]; then
		code=`cat`;
	else
		code=`cat $1`;
	fi
	curl -i --silent --data-urlencode "parent_pid=" --data-urlencode "format=none" --data-urlencode "poster=$author" --data-urlencode "remember=1" --data-urlencode "code2=$code" --data-urlencode "expiry=m" --data-urlencode "email=" --data-urlencode "paste=1" http://amsn.pastebin.com/pastebin.php | grep Location | awk '{print$2}';
}
Personal tools