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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>neo4j-spatial</artifactId> | |
<packaging>jar</packaging> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.geotools</groupId> | |
<artifactId>gt-referencing</artifactId> |
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
## | |
## Atlassian Confluence Wiki User Macro | |
## | |
## Example of how to get the space key of the space that this page is being rendered in | |
## ie, not necessarily the same space as the page belongs to | |
## | |
#set($space=$renderContext.getOriginalContext().getSpaceKey()) | |
## This will allow you to do magic based on the space |
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
When trying to make a project created with Mochiweb "make app" I got: | |
Pulling mochiweb from {git,"git://github.com/mochi/mochiweb.git",[]} | |
Cloning into mochiweb... | |
error: pathspec 'origin/' did not match any file(s) known to git. | |
ERROR: git checkout -q origin/ failed with error: 1 | |
make: *** [all] Error 1 | |
The mochiweb dependency in rebar.conf looked like this: | |
{git, "git://github.com/mochi/mochiweb.git", ""}}]}. |
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
final SMTPServer server = new SMTPServer(new SimpleMessageListenerAdapter(new SimpleMessageListener() | |
{ | |
@Override | |
public void deliver(final String from, final String recipient, final InputStream data) throws TooMuchDataException, IOException | |
{ | |
System.err.println(from + " -> " + recipient); | |
} | |
@Override | |
public boolean accept(final String from, final String recipient) |
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
class RandomRange | |
{ | |
private final int max; | |
private final int min; | |
public RandomRange(final int min, final int max) | |
{ | |
this.min = min; | |
this.max = max; | |
} |
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
$ curl -v http://login.homerun.telia.com | |
* About to connect() to login.homerun.telia.com port 80 (#0) | |
* Trying 10.0.0.6... connected | |
* Connected to login.homerun.telia.com (10.0.0.6) port 80 (#0) | |
> GET / HTTP/1.1 | |
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 | |
> Host: login.homerun.telia.com | |
> Accept: */* | |
> | |
< HTTP/1.1 302 Found |
NewerOlder