Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
$webclient = New-Object System.Net.WebClient $location="Disney" Write-Output "Getting Address for $location" $url="https://maps.googleapis.com/maps/api/geocode/json?address=$location" $json=$webclient.DownloadString($url) [System.Reflection.Assembly]::LoadWithPartialName("System.Web.Extensions") $ser = New-Object System.Web.Script.Serialization.JavaScriptSerializer $obj = $ser.DeserializeObject($json) $item=$obj.Item("results") $line_break="==============================================\n"; $first=$item.Get(0).formatted_address Write-Output "$line_break First Entry $first\n$line_break" Write-Output "$line_break All Entries\n$line_break" foreach($address in $item){ $address.formatted_address }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)