Skip to content

Instantly share code, notes, and snippets.

View fommil's full-sized avatar
😽
having a fantastic day not writing any scala

>>= fommil

😽
having a fantastic day not writing any scala
View GitHub Profile
@fommil
fommil / gist:5761e86671f33a615f9b
Created July 6, 2014 17:42
Download Feynman Lectures
#!/bin/sh
#./wkhtmltopdf http://www.feynmanlectures.caltech.edu/I_51.html
OPTS="--proxy localhost:3128 --javascript-delay 20000 --no-stop-slow-scripts"
for PAGE in `seq -w 1 52` ; do
echo ./wkhtmltopdf http://www.feynmanlectures.caltech.edu/I_${PAGE}.html $OPTS i_${PAGE}.pdf
done
#!/bin/bash
# This script is the reference implementation of how to start the
# ENSIME server given an ENSIME config file, bootstrapping via sbt[1].
# It is not intended to be portable across operating systems, or
# efficient at caching the results of previous invocations.
# Typically it is best to take the basic concepts of this script and
# to port it to the natural language of the extensible editor that
# intends to support ENSIME.
@fommil
fommil / gist:91b4097c0130b7ffa13d
Created July 8, 2015 13:18
Example sbt-native-packager RPM
// plugins
import com.typesafe.sbt.packager.archetypes.JavaServerAppPackaging
import com.typesafe.sbt.packager.rpm.RpmPlugin
// the things that are available by magic in .sbt files
import com.typesafe.sbt.SbtNativePackager._
import com.typesafe.sbt.SbtNativePackager.autoImport.NativePackagerKeys._
// additional helpers
import com.typesafe.sbt.packager.linux.Mapper._
@fommil
fommil / cla-ensime-server.md
Last active August 22, 2017 20:29
CLA ensime-server

I, the contributor, agree to license my contributions to the ensime-server project under the terms of the GPL 3.0 (or any later version), except for changes to:

  • the api module which is under the terms of the Apache 2.0, and
  • the s-express module which is under the terms of the LGPL 3.0 (or any later version).

I confirm that my contributions are either my own original creation or I have fullfilled the obligations of the third party source code (i.e. included their GPL-compatible license).

@fommil
fommil / cla-gpl.md
Last active August 22, 2017 20:27
CLA GPL

I, the contributor, agree to licence my contributions to this project under the terms of the GPL 3.0 or any later version.

I, the contributor, agree to licence my contributions to this project under the terms of the Apache 2.0.

I, the contributor, agree to licence my contributions to this project under the terms of the Expat (aka MIT) licence.

@fommil
fommil / etc_init_drone.conf
Created January 15, 2016 22:00
drone upstart config
description "Drone docker container"
start on filesystem and started docker
stop on runlevel [!2345]
kill timeout 20
pre-start script
docker stop drone || true
docker rm drone || true
@fommil
fommil / CC-BY-SA.md
Last active January 17, 2016 09:58
cla-ccsa

I, the contributor, agree to licence my content contributions to this project under the terms of the CC BY-SA 3.0 licence and my theme modifications under the terms of the Apache 2.0 licence.

@fommil
fommil / .bintray.credentials
Created March 5, 2016 16:01
silence bintray during sbt dev
realm = Bintray API Realm
host = api.bintray.com
user =
password =