This file contains 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
module Main where | |
import Network.HTTP.Enumerator | |
import Network.HTTP.Types | |
import qualified Data.ByteString.Lazy.UTF8 as BSLU | |
page = "http://www.invest-in-thuringia.de/service/firmendatenbank/?searchScope=firmen-detail&adrid=2660" | |
main = do | |
req0 <- parseUrl page |
This file contains 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/bash | |
echo "Connecting to the VPN" | |
vpnc | |
echo "Modifying the routing table" | |
echo "nameserver 127.0.0.1" > /etc/resolv.conf | |
echo "nameserver 192.168.178.1" >> /etc/resolv.conf | |
route add default gw 192.168.178.1 | |
route add -net 212.201.64.0 netmask 255.255.254.0 dev tun0 |
This file contains 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/bash | |
source /lib64/rc/sh/functions.sh | |
ebegin "Connecting to the VPN" | |
vpnc | |
eend | |
ebegin "Modifying the routing table" | |
echo "nameserver 127.0.0.1" > /etc/resolv.conf |
This file contains 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
IPSec gateway 194.94.31.250 | |
IPSec ID FHS | |
IPSec secret <sharedsecret> | |
Xauth username <yourfhsid> | |
Xauth password <yourpassword> |
This file contains 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
note that these directions probably can use some cleanup, but i'm choosing these steps so that rebuilding any haskell library doesn't require remembering ANYTHING :-) | |
(tested on ghc 7.2.2, assumes you have standard developer things installed on mac, like x11 and stuff) | |
1) cabal install gtk2hs-buildtools #(this should work with any haskell platform install) | |
2) brew install cairo gtk gettext fontconfig | |
3) brew link cairo gettext fontconfig # brew will complain, who cares, this makes your life easier (at least if you're living in a haskell world :p ) | |
4) download libfreetype, heres a URL you can use http://sourceforge.net/projects/freetype/files/freetype2/2.4.8/freetype-2.4.8.tar.bz2/download?use_mirror=iweb |
This file contains 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
module Main where | |
import Control.Concurrent | |
import Control.Monad | |
import Data.List | |
import Network.Socket | |
import System.Environment | |
-- a username is a string | |
type Username = String |
This file contains 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
name: md2html | |
version: 0.1.0.0 | |
synopsis: A Markdown-To-HTML-Compiler | |
description: A Markdown-To-HTML-Compiler | |
homepage: http://ob.cs.hm.edu/lectures/compiler | |
license: BSD3 | |
license-file: LICENSE | |
author: ... | |
maintainer: ... | |
-- copyright: |
This file contains 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 hudson.model.ListView | |
import jenkins.model.* | |
// Begin Parameters | |
view_name = "braun-sweng"; | |
// End Parameters | |
vc = Jenkins.instance.getView(view_name).getOwner(); | |
v = vc.getView(view_name); |
This file contains 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 hudson.model.* | |
// Begin Parameters | |
template = "md2html" | |
newname = template // | |
repoprefix = "ssh://[email protected]:8022/braun/14WS/compiler/md2html" | |
view = new ListView("braun-compiler") | |
noOfGroups = 12 | |
// End Parameters |
This file contains 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
<scalastyle> | |
<name>Scalastyle standard configuration</name> | |
<check level="warning" class="org.scalastyle.file.FileTabChecker" enabled="true"></check> | |
<check level="warning" class="org.scalastyle.file.FileLengthChecker" enabled="true"> | |
<parameters> | |
<parameter name="maxFileLength"><![CDATA[800]]></parameter> | |
</parameters> | |
</check> | |
<check level="warning" class="org.scalastyle.scalariform.SpacesAfterPlusChecker" enabled="true"></check> | |
<check level="warning" class="org.scalastyle.file.WhitespaceEndOfLineChecker" enabled="true"></check> |
OlderNewer