Skip to content

Instantly share code, notes, and snippets.

Avatar
🦁
How persistent it is, this demand that our gods be perfect.

Zeno Popovici zenopopovici

🦁
How persistent it is, this demand that our gods be perfect.
View GitHub Profile
View script.ps1
# STEP 3: Set time zone (if specified)
#if ($config.Config.TimeZone) {
# Write-Host “Setting time zone: $($config.Config.TimeZone)”
# Set-Timezone -Id $config.Config.TimeZone
#}
$BingMapsKey = 'AmI6Xs5u81T1Q8vbk_SXlwty7Mrw_AOb2EDfSdZcHWcR0b5qKV8zgGTDT84XyoX1'
$IPInfo = Invoke-RestMethod -Method 'Get' -Uri 'http://ipinfo.io/json'
$Location = $IPInfo.loc
Write-Host "Country : "$IPInfo.country
Write-Host "Public IP Address : "$IPInfo.ip
View keybase.md

Keybase proof

I hereby claim:

  • I am zenopopovici on github.
  • I am zenopopovici (https://keybase.io/zenopopovici) on keybase.
  • I have a public key whose fingerprint is 85B2 313D CB0D 8FC6 8565 4BA0 A74D 360E 2E20 A61B

To claim this, I am signing this object: