Skip to content

Instantly share code, notes, and snippets.

wall:local nedunk$ brew install -v ghostscript
==> Build Environment
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
PATH: /Users/nedunk/bin:/usr/local/bin:/usr/local/sbin:/usr/local/Cellar/python/2.6.5/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
==> Downloading http://downloads.sourceforge.net/project/ghostscript/GPL%20Ghostscript/8.71/ghostscript-8.71.tar.gz
wall:express $ git submodule update
Initialized empty Git repository in /Projects/realie/vendor/express/lib/support/class/.git/
fatal: The remote end hung up unexpectedly
Clone of 'git://github.com/visionmedia/class.js.git' into submodule path 'lib/support/class' failed
wall:realie wall$ node app.js
node.js:275
@alexwall
alexwall / mkd2pdf
Created February 25, 2011 17:46
takes template with -t option and searches in a custom templates dir
#!/bin/bash
# Autor: Alex Wall
# Licence: GPLv3
# pandoc (markdown2pdf) needs an path to a template
# this script searches for a template in a custom folder (TEMPLATE_DIR)
# you can pass any other option (e.g. xetex), it will be passed to markdown2pdf
# the default custom pandoc template (latex.template) in ~/.pandoc/templates
TEMPLATE="latex.template"
@alexwall
alexwall / crash_report_gitxL
Created March 15, 2011 15:06
crashes on start
Process: GitX [23574]
Path: /Applications/GitX.app/Contents/MacOS/GitX
Identifier: nl.frim.GitX
Version: 0.8.1 (0.8.1)
Code Type: X86-64 (Native)
Parent Process: launchd [260]
Date/Time: 2011-03-15 15:57:14.083 +0100
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
% Pandoc User's Guide
% John MacFarlane
% January 27, 2012
Synopsis
========
pandoc [*options*] [*input-file*]...
Description
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Example brunch application</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="styles/app.css">
<script src="scripts/app.js"></script>
@alexwall
alexwall / highlighting-kate-copile-error-verbose3.log
Created June 4, 2012 17:03
verbose compile error of highlighting-kate
cabal install --verbose=3 highlighting-kate
searching for ghc in path.
found ghc at /usr/local/bin/ghc
("/usr/local/bin/ghc",["--numeric-version"])
/usr/local/bin/ghc is version 7.0.4
looking for tool "ghc-pkg" near compiler in /usr/local/bin
found ghc-pkg in /usr/local/bin/ghc-pkg
("/usr/local/bin/ghc-pkg",["--version"])
/usr/local/bin/ghc-pkg is version 7.0.4
("/usr/local/bin/ghc",["--supported-languages"])
brew install justniffer --verbose --cc=llvm-gcc
==> Downloading http://downloads.sourceforge.net/project/justniffer/justniffer/justniffer%200.5.11/justniffer_0.5.11.tar.gz
Already downloaded: /Library/Caches/Homebrew/justniffer-0.5.11.tar.gz
==> Verifying justniffer-0.5.11.tar.gz checksum
tar xf /Library/Caches/Homebrew/justniffer-0.5.11.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file lib/libnids-1.21_patched/configure.gnu
==> ./configure --prefix=/usr/local/Cellar/justniffer/0.5.11
checking for a BSD-compatible install... /usr/bin/install -c