Skip to content

Instantly share code, notes, and snippets.

View aragats's full-sized avatar

Aragats aragats

View GitHub Profile
@derhuerst
derhuerst / _.md
Last active May 20, 2025 15:03
List of HAFAS API Endpoints
@lievendoclo
lievendoclo / GeoJsonConverters.java
Created December 5, 2014 13:04
GeoJsonConverters for Spring Data MongoDB
import com.mongodb.BasicDBList;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import org.springframework.core.convert.converter.Converter;
import org.springframework.data.convert.ReadingConverter;
import org.springframework.data.convert.WritingConverter;
import org.springframework.data.geo.Point;
import org.springframework.data.geo.Polygon;
import java.util.ArrayList;
@mlaccetti
mlaccetti / SpringConfiguration.java
Created August 20, 2013 15:00
Bootstrap a Spring 3 annotation-only Java 6/Tomcat 6 app
package laccetti.spring.app;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan(basePackages = "laccetti")
public class SpringConfiguration {
// bean definitions go here
}
@jellybeansoup
jellybeansoup / cltools.sh
Last active March 7, 2024 22:57
Install Autoconf and Automake on OS X Mountain Lion
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build