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
@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._

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.

#!/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 / .bintray.credentials
Created March 5, 2016 16:01
silence bintray during sbt dev
realm = Bintray API Realm
host = api.bintray.com
user =
password =
Case COOLERMASTER ELITE 311 BLUE CASE
Processor (CPU) Intel® Core™i7 Quad Core Processor i7-6700k (4.0GHz) 8MB Cache
Motherboard Gigabyte Z170X Gaming 3 ATX, LG1151, USB 3.1, SATA 6GBs
Memory (RAM) 64GB HyperX PREDATOR QUAD-DDR4 3000MHz X.M.P (4 x 16GB)
Graphics Card 8GB AMD RADEON™ R9 390X - DVI, HDMI, DP - DX® 12
1st PCI-E SSD Drive 1.2TB INTEL® 750 SERIES PCIe SSD (upto 2400MB/sR | 1200MB/sW)
Power Supply CORSAIR 650W CS SERIES™ MODULAR 80 PLUS® GOLD, ULTRA QUIET
Processor Cooling Corsair H55 Hydro Cooler w/ PCS Liquid Series Ultra Quiet Fans
Thermal Paste ARCTIC MX-4 EXTREME THERMAL CONDUCTIVITY COMPOUND
Sound Card ONBOARD 6 CHANNEL (5.1) HIGH DEF AUDIO (AS STANDARD)
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 12.0.1
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1