Skip to content

Instantly share code, notes, and snippets.

View c0psrul3's full-sized avatar

Mike c0psrul3

View GitHub Profile
@c0psrul3
c0psrul3 / Makefile
Created April 20, 2016 21:37 — forked from thomascube/Makefile
Roundcube release scripts
GITREMOTE=git://github.com/roundcube/roundcubemail.git
GITBRANCH=master
VERSION=1.1.0
all: clean dist dependent framework
dist: roundcubemail-git toolchain
cp -r roundcubemail-git roundcubemail-$(VERSION)
(cd roundcubemail-$(VERSION); cp composer.json-dist composer.json)
(cd roundcubemail-$(VERSION); patch -p0 < ../dist.diff)
@c0psrul3
c0psrul3 / bootstrap-server.sh
Created April 15, 2016 19:38 — forked from larrybolt/bootstrap-server.sh
Bootstrap server to use with ansible
#!/usr/bin/env bash
if [ $# -eq 0 ]; then
echo "please supply a servername: bootstrap-server.sh node.example.com"
exit 1
fi
username=`whoami`
# copy public rsa key to server for root user
read -r -p "Transfer ssh public keys to server for root? [y/N] " response
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then
@c0psrul3
c0psrul3 / 0_reuse_code.js
Last active August 30, 2015 11:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console