$git clone https://github.com/MateVM/hs-java
$cd hs-java
$cabal sandbox init
$cabal install --only-dependencies
$export GHC_PACKAGE_PATH=$(pwd)/.cabal-sandbox/x86_64-osx-ghc-7.6.3-packages.conf.d:/Library/Frameworks/GHC.framework/Versions/7.6.3-x86_64/usr/lib/ghc-7.6.3/package.conf.d
$make all
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.*; | |
| import java.util.*; | |
| import java.security.cert.CertificateException; | |
| import java.security.KeyStoreException; | |
| import java.security.cert.X509Certificate; | |
| import java.security.KeyStore; | |
| import java.security.Provider; | |
| import java.security.Security; | |
| public class SmartCard { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| import Network.Connection (TLSSettings (..)) | |
| import Network.HTTP.Conduit | |
| import Network.HTTP.Types.Status | |
| import qualified Data.ByteString.Char8 as B | |
| import qualified Data.Text as T | |
| import Data.Time.Clock | |
| import Data.Time.Calendar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone git://github.com/php/php-src.git | |
| cd php-src | |
| ./buildconf --force | |
| ./configure --enable-dtrace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # switch ghc-7.6.3 or ghc-7.8.2 | |
| echo "Enter a ghcversion 7.6 or 7.8" | |
| read VER | |
| function changeGhc() { | |
| # delete linked files | |
| find $HOME/Library/Haskell -type l -exec rm {} \; | |
| find $HOME/Library/Haskell/$ver -type f ! -name "*.*" -regex ".*/bin/.*" -exec ln -s {} $HOME/Library/Haskell/bin \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- | |
| -- .xmobarrc | |
| -- | |
| Config { font = "xft:Fixed-8" | |
| , bgColor = "black" | |
| , fgColor = "green" | |
| , position = Top | |
| , lowerOnStart = False | |
| , commands = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Marat Akhin <Marat.Akhin@gmail.com> | |
| pkgname=z3-codeplex | |
| pkgver=4.3.1 | |
| pkgrel=4 | |
| pkgdesc="Z3 is a high-performance theorem prover being developed at Microsoft Research (built from Codeplex sources, libraries, and z3 bin)" | |
| arch=('i686' 'x86_64') | |
| url="http://z3.codeplex.com/" | |
| license=('custom') | |
| makedepends=('python2') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Marcin Mikolajczyk <marcinmikolajcz at gmail dot com> | |
| # Contributor: Gary Wright <wriggary at g mail dot com> $ | |
| # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> | |
| # Contributor: Jon Kristian Nilsen <jokr.nilsen@gmail.com> | |
| # Contributor: Alan Orth <alan.orth at gmail dot com> | |
| pkgname=mt-daapd | |
| pkgver=0.2.4.2 | |
| pkgrel=9 | |
| pkgdesc="A multi-threaded DAAP server compatible with iTunes music sharing" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $xar -xf your.pkg | |
| $cd your_tmp1.pkg | |
| $ls | |
| Bom Contents PackageInfo Payload | |
| $cat Payload | gzip -d - | cpio -id |