Skip to content

Instantly share code, notes, and snippets.

View BluePositive's full-sized avatar
💭
🦇🔊

BluePositive

💭
🦇🔊
View GitHub Profile
@abatko
abatko / 2022-US-zip-codes-abatko.csv
Last active September 17, 2024 13:53
All US zip codes from 2022 Government Data, with geolocations (latitude and longitude coordinates), comma delimited. Source: https://www.census.gov/geographies/reference-files/time-series/geo/gazetteer-files.html > ZIP Code Tabulation Areas > Download the ZIP Code Tabulation Areas Gazetteer File. Based on https://gist.github.com/abatko/ee7b24db8…
We can't make this file beautiful and searchable because it's too large.
ZIP,LAT,LNG
00601,18.180555, -66.749961
00602,18.361945, -67.175597
00603,18.457399, -67.124867
00606,18.158327, -66.932928
00610,18.293960, -67.127182
00611,18.276316, -66.807165
00612,18.416727, -66.700090
00616,18.420412, -66.671979
@sarimarton
sarimarton / fix_github_copilot.sh
Last active November 29, 2024 12:45
Fix Github Copilot in dealing with self-signed certificates
# [2023-05-25] Added Copilot Chat, and VSCode Insiders
# [2023-05-20] Add VSCode Insiders variant
# [2023-02-22] Added Copilot Labs
# Fix Github Co-pilot self-signed cert problem
# See: https://github.com/orgs/community/discussions/8866#discussioncomment-3517831
# Note
#
# To make Github Copilot/Nightly/Labs/Chat work, you might need additional
@JamesSkemp
JamesSkemp / information.md
Last active June 10, 2024 17:54
US Zip Code Geolocations from 2021 Gazetteer
@abatko
abatko / US Zip Code Geolocations from 2018 Government Data
Last active September 27, 2024 00:20
All US zip codes with their corresponding geolocations (latitude and longitude coordinates). Comma delimited for your database goodness. Source: https://www.census.gov/geographies/reference-files/time-series/geo/gazetteer-files.html > ZIP Code Tabulation Areas > Download the ZIP Code Tabulation Areas Gazetteer File
This file has been truncated, but you can view the full file.
ZIP,LAT,LNG
00601,18.180555, -66.749961
00602,18.361945, -67.175597
00603,18.455183, -67.119887
00606,18.158327, -66.932928
00610,18.295366, -67.125135
00612,18.402253, -66.711397
00616,18.420412, -66.671979
00617,18.447538, -66.557681
@lfalck
lfalck / RemoveCurlAlias.ps1
Last active January 25, 2025 14:38
Remove the PowerShell alias curl -> Invoke-WebRequest
# This script will add the Remove-Item alias:curl command to an existing PowerShell profile or create one if it does not exist
# If it is run from PowerShell ISE an ISE profile will be created: Microsoft.PowerShellISE_profile.ps1
# Otherwise a regular profile will be created: Microsoft.PowerShell_profile.ps1
$removeCurlAlias = @"
# Remove Alias curl -> Invoke-WebRequest
Remove-Item alias:curl
"@
if (-Not (Test-Path $Profile))
@bryanbarnard
bryanbarnard / SimpleHttpClient.cs
Created December 23, 2013 19:15
Simple C# .NET 4.5 HTTPClient Request Using Basic Auth and Proxy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net;
namespace HTTP_Test