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
| import io.Source | |
| import tools.nsc.io.{Path, File} | |
| import java.text.SimpleDateFormat | |
| import java.util.Date | |
| import java.net.URL | |
| import org.apache.http.impl.client.DefaultHttpClient | |
| import org.apache.http.client.methods.HttpPost | |
| import org.apache.http.entity.BufferedHttpEntity | |
| import org.apache.http.client.entity.UrlEncodedFormEntity |
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
| <script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
| <script type="text/javascript"> | |
| google.load("maps", "3", {other_params: "sensor=false&language=ja®ion=JP"}); | |
| function codeAddress() { | |
| var address = $("#address").val(); | |
| geocoder = new google.maps.Geocoder(); | |
| geocoder.geocode( { 'address': address}, function(results, status) { | |
| if (status == google.maps.GeocoderStatus.OK) { | |
| $("#location").val(results[0].geometry.location); |
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
| import collection.JavaConversions._ | |
| import io.Source | |
| import xml.{NodeSeq, XML, Elem, Node} | |
| import tools.nsc.io.{Path, File, Directory} | |
| import java.io._ | |
| import java.nio.charset.Charset | |
| import java.text.SimpleDateFormat | |
| import java.util.{ArrayList, Calendar} | |
| import org.apache.http.impl.client.DefaultHttpClient |
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
| import collection.JavaConversions._ | |
| import io.Source | |
| import xml.{NodeSeq, XML, Elem, Node} | |
| import org.apache.http.impl.client.DefaultHttpClient | |
| import org.apache.http.client.methods.HttpPost | |
| import org.apache.http.params.BasicHttpParams | |
| import org.apache.http.entity.BufferedHttpEntity | |
| import org.apache.http.entity.StringEntity | |
| import org.apache.http.client.entity.UrlEncodedFormEntity |