Skip to content

Instantly share code, notes, and snippets.

View spockz's full-sized avatar

Alessandro Vermeulen spockz

View GitHub Profile
@spockz
spockz / install.rb
Created February 24, 2012 17:09
Installing the JCU-app
#! /usr/bin/ruby
require 'readline'
def command?(command)
system("which #{ command} > /dev/null 2>&1")
end
def library?(lib)
system("ghc-pkg list | grep #{lib} > /dev/null 2>&1")
end
---------------------------
Debugger Exception Notification
---------------------------
Project WSDLtest.exe raised exception class ESOAPDomConvertError with message 'SOAP Response Packet: element matching function return not found, received "<value xmlns="http://schemas.xmlsoap.org/soap/envelope/">Hello world</value>"'.
---------------------------
Break Continue Help
---------------------------
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvwLdglcCqf/f+j+B8dZTVfRUPyhKCxDMEI8bnIbPRFsdCsEM1RlHV2D4bXuLctKgIey95oFvnZyrF9v4PoNSEgfyOiYjNbxmxL2g8LnskbRRM+vv4yH1ed/yENszE9563PSRcvp6NtvD3qTC5hNaYNMP2OO/SzFvS3gFeibolhJZy8AW/6Uv5tLsv4i1GakdKtepGEMTejlT6GrICAowEAjhFeaDDwuY9FCa1O1kednQZ/H+UTw+e9H5kTETc6ewaozT17lCDbcLqL1KdJrR0nMV7LO2OwG39zYDfmUVRd4HPTRX+C0nOETYHBS6ht4G8TQX2iQOSBrRC8KA1U1vlw== alessandrovermeulen@Orthesaurus.local
\definecolor{syntax}{RGB}{116, 139, 0}
\definecolor{datatype}{RGB}{181, 137, 0}
\definecolor{constructor}{RGB}{181, 137, 0}
\definecolor{class}{RGB}{181, 137, 0}
\definecolor{fieldname}{RGB}{0, 0, 162}
\definecolor{numeral}{RGB}{0, 0, 205}
\definecolor{infixoperator}{RGB}{42, 161, 152}
\definecolor{function}{RGB}{38, 139, 210}
\definecolor{constant}{RGB}{38, 139, 210}
\definecolor{keyword}{RGB}{42, 161, 152}
%% ----------------------------------------------------------------------------
%% required packages
%% ----------------------------------------------------------------------------
\RequirePackage{calc}
\RequirePackage{graphicx}
\RequirePackage{tikz}
\RequirePackage{hyperref} %% should be included last
USE [UUSurvey]
GO
DECLARE @return_value int
EXEC @return_value = [dbo].[Search_AlleCursussenActief_Opleiding]
@Q = N'INFO'
SELECT 'Return Value' = @return_value
@spockz
spockz / start.applescript
Created July 1, 2011 18:08
Applescript script to emulate the behaviour of the `start' command in the windows CMD prompt
# /usr/bin/env /bin/sh
start.applescript "`pwd`" $@
\documentclass{minimal}
\usepackage{minted}
\usepackage[LGR]{fontenc}
\usepackage{fontspec}
\begin{document}
Problem: β is not recognized. UTF8 characters have a red box surrounding them.
This is not really ruby, but hey.
example3 a b | a > b = a
example3 a b = b
> example 1 3
3
#! /bin/sh
LATEXFile="`basename "$1" .lhs`.tex"
#echo $LATEXFile
lhs2tex -o $LATEXFile $1
pdflatex $LATEXFile