Skip to content

Instantly share code, notes, and snippets.

{
"speech": "As you command, Playing Batman Begins (2005).",
"contextOut": [{
"name": "yes",
"lifespan": 2,
"parameters": []
}],
"data": {
"google": {
"expectUserResponse": false,
{
"conversationToken": "[]",
"finalResponse": {
"richResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "Today is Quintidi, the 5th of Fructidor in the year 225. Fructidor is the Fruit month and the 5th is the day of Saumon or Salmon"
}
},
@creade
creade / README.md
Last active June 2, 2016 01:07 — forked from veltman/README.md
Strip map with labels

A version of this strip map with some labeled features.

Labels are a bit trickier than background features because you don't want to clip them to the zones, but you can't just create one copy per zone of each, or you'll get a bunch of identical labels approximately on top of each other and it will look weird. This uses a point-in-polygon test to assign each labeled point to its proper zone at the start. Once that assignment is done, you could put the labels in their own top layer if you had to worry about other features overlapping (not really an issue in this case).

Keybase proof

I hereby claim:

  • I am creade on github.
  • I am creade (https://keybase.io/creade) on keybase.
  • I have a public key whose fingerprint is 6026 0880 961F 08CA BED8 4984 96CE 72F2 EF6C 07CF

To claim this, I am signing this object:

#!/bin/sh
IFS=$'\n'
TAB=$'\t'
#LASTCHECKED=`date +"%s"`
LASTCHECKED=1357845445
while true
@creade
creade / gist:4122834
Created November 21, 2012 03:31
selfDoc
#!/bin/sh
cat <<EOT >doced
#!/bin/sh
printCut() {
while IFS= read -t 1 piped
do
my_array=("\${my_array[@]}" "\$piped")
@creade
creade / gist:4122745
Created November 21, 2012 02:58
Object-diff withEqualsOnlyProperty and sets
import de.danielbechler.diff.Configuration;
import de.danielbechler.diff.ObjectDifferFactory;
import de.danielbechler.diff.node.Node;
import de.danielbechler.diff.path.PropertyPath;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.junit.Test;
import java.util.List;
import java.util.Set;