Skip to content

Instantly share code, notes, and snippets.

@anieriz
anieriz / list_gcp_iprange.sh
Created August 18, 2020 18:42 — forked from n0531m/list_gcp_iprange.sh
Google Cloud Platform : ip address range
#!/bin/bash
# https://cloud.google.com/compute/docs/faq#find_ip_range
# nslookup -q=TXT _cloud-netblocks.googleusercontent.com 8.8.8.8
myarray=()
for LINE in `dig txt _cloud-netblocks.googleusercontent.com +short | tr " " "\n" | grep include | cut -f 2 -d :`
do
myarray+=($LINE)
for LINE2 in `dig txt $LINE +short | tr " " "\n" | grep include | cut -f 2 -d :`
@anieriz
anieriz / extensions.json
Last active February 13, 2020 05:03
VSCode's Settings - Syncing
[
{
"id": "aaron-bond.better-comments",
"name": "better-comments",
"publisher": "aaron-bond",
"version": "2.0.5"
},
{
"id": "akamud.vscode-theme-onedark",
"name": "vscode-theme-onedark",