Skip to content

Instantly share code, notes, and snippets.

Avatar

Anders Nawroth nawroth

View GitHub Profile
@gAmUssA
gAmUssA / asciidoctor_js_nashorn.groovy
Created Feb 5, 2014
quick and dirty nashorn experiment with asciidoctor.js
View asciidoctor_js_nashorn.groovy
package scratchpad
import javax.script.*
/**
* TODO
*
* @since 7/16/13
* @author Viktor Gamov (viktor.gamov@faratasystems.com)
*/
@brenolf
brenolf / Copy - Ubuntu
Last active Dec 21, 2015
Bash script to install Copy on Ubuntu-like OS globally. It accepts one single optional parameter "-nd" which tells the script to not download the file.
View Copy - Ubuntu
#!/bin/bash
# Created by Breno Lima de Freitas - 2013
# based on <http://forums.linuxmint.com/viewtopic.php?f=47&t=130343>
# The script accepts one single optional parameter (-nd). This pa-
# rameter tells the script to not download the file.
if [ "$1" != "-nd" ]; then
wget https://copy.com/install/linux/Copy.tgz -O /tmp/copy.tgz
fi
You can’t perform that action at this time.