Skip to content

Instantly share code, notes, and snippets.

View klaftertief's full-sized avatar

Jonas Coch klaftertief

View GitHub Profile
@klaftertief
klaftertief / master.xml
Created September 30, 2011 14:27
My test snippet
<ssstudent_list>
<student>
<name>George Washington</name>
<major>Politics</major>
<phone>312-123-4567</phone>
<email>gw@example.edu</email>
</student>
<student>
<name>Janet Jones</name>
<major>Undeclared</major>
@klaftertief
klaftertief / AddExtension.sh
Created January 31, 2012 08:49
Use Symphony and Extensions as subtrees in your own project git repository.
#!/usr/bin/env bash
DEFAULT_BRANCH="master"
. .symbuilder
extensions=$webroot"/extensions/"
if [ $# -eq 1 ]
then
# get a name for new project from command line arguments
extension_name="$1"
public function fetchNavigation(){
return array(
array(
'location' => __('System'),
'name' => __('Menu Item Name'),
'link' => '/link/',
'limit' => 'developer'
)
);
}
module Decoder exposing (..)
import Json.Decode as Decode exposing ((:=))
import Json.Decode.Extra as Decode exposing ((|:))
type Foo
= Bar String Int
| Baz String Int
@klaftertief
klaftertief / reactiveconf-2016-lightning-talk.md
Last active April 2, 2024 20:17
An API search engine in Elm for Elm, proposal for a Lightning Talk at ReactiveConf 2016

An API search engine in Elm for Elm

Elm is a statically typed functional language that compiles to JavaScript. It's well-known for its developer experience: the compiler provides nice error messages, the package system enforces semantic versioning for all published packages and makes sure every exposed value or type has some documentation and type annotations.