Problem:
The following commands fail on OSX:
gem install nokogiri
gem install nokogiri -- --use-system-libraries
gem install nokogiri -- --use-system-libraries --with-xslt-dir=/usr/local/opt/libxslt --with-xml2-dir=/usr/local/opt/libxml2
Version:
| {-# LANGUAGE AllowAmbiguousTypes #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE RecordWildCards #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| module AWSViaHaskell.AWSService |
Problem:
The following commands fail on OSX:
gem install nokogiri
gem install nokogiri -- --use-system-libraries
gem install nokogiri -- --use-system-libraries --with-xslt-dir=/usr/local/opt/libxslt --with-xml2-dir=/usr/local/opt/libxml2
Version:
| curl -fsSL https://gist.github.com/LeonB/10503374/raw | rbenv install --patch 2.0.0-p451 |
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |
| (ns project-name.handler | |
| (:require [compojure.handler :as handler] | |
| [compojure.route :as route] | |
| [ring.middleware.params :as params] | |
| [sandbar.stateful-session :as session] | |
| [project-name.controllers.private :as private])) | |
| (defn- stateful-route | |
| "Calls the routeFn adding stateful session." | |
| [routeFn] |
| require "prawn" | |
| Prawn::Document.generate("report.pdf") do | |
| 10.times do | |
| start_new_page | |
| end | |
| repeat :all do | |
| move_down 50 |
| This playbook has been removed as it is now very outdated. |
| /** | |
| * Prepare the App Folder | |
| */ | |
| (function(){ | |
| window.appRootDirName = ".myapp"; | |
| document.addEventListener("deviceready", onDeviceReady, false); | |
| function onDeviceReady() { | |
| console.log("device is ready"); | |
| window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem; |
| # WORKSPACE set to job workspace by jenkins/hudson | |
| VENV="$WORKSPACE/.env" | |
| if [ ! -e "$VENV" ]; then | |
| virtualenv --python python2.6 --no-site-packages $VENV | |
| elif [ ! -d "$VENV" ]; then | |
| echo '$VENV exists but is not a directory' | |
| exit 1 | |
| fi |