Skip to content

Instantly share code, notes, and snippets.

Kondrashov Ilia caseycs

Block or report user

Report or block caseycs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pdf2png
/usr/local/bin/gs -sDEVICE=pngalpha -o logo_%03d.png -dUseCropBox -sDEVICE=pngalpha -r600 logo.pdf
@caseycs
caseycs / gist:e407f2e05e2de092397c
Last active Aug 29, 2015
DigitalOcean Debian 7.0 x64 bootstrap script, inspired by Linode StackScripts
View gist:e407f2e05e2de092397c
#!/bin/sh
# usage: wget -O - httpshttps://gist.githubusercontent.com/caseycs/e407f2e05e2de092397c/raw/gistfile1.sh | sh
function user_add_sudo {
# Installs sudo if needed and creates a user in the sudo group.
#
# $1 - Required - username
# $2 - Required - password
USERNAME="$1"
USERPASS="$2"
You can’t perform that action at this time.