Skip to content

Instantly share code, notes, and snippets.

View dts's full-sized avatar

Daniel Staudigel dts

View GitHub Profile
@dts
dts / gist:2823057
Created May 29, 2012 07:11
brew install -v mpfr
==> Downloading http://www.mpfr.org/mpfr-3.1.0/mpfr-3.1.0.tar.bz2
Already downloaded: /Users/dstaudigel/Library/Caches/Homebrew/mpfr-3.1.0.tar.bz2
/usr/bin/tar xf /Users/dstaudigel/Library/Caches/Homebrew/mpfr-3.1.0.tar.bz2
==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.9 (Ruby 1.8.7-357; Mac OS X 10.7.4) http://www.mpfr.org/mpfr-3.1.0/allpatches -o 000-homebrew.diff --silent
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file PATCHES
patching file VERSION
patching file src/mpfr-impl.h
@dts
dts / develop.js
Created February 20, 2015 17:24
Develop.js is a development mode script that allows gulp-angular projects to report errors in JS and SASS to the user via the web browser, instead of the terminal. I have used colons to delimit folders - there are two, /develop and /develop/templates.
var LR_PORT= 35730;
var express = require('express');
var gulp = require('gulp');
var app = express();
var livereload = require('livereload');
var proxy = require('http-proxy').createProxyServer({ target : 'http://localhost:3000/api' , toProxy : true , prependPath : true });
// needs:
// we need to recompile HTML file every time the JS file list changes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... clang