Skip to content

Instantly share code, notes, and snippets.

View ProgrammerNomad's full-sized avatar
:atom:
I may be slow to respond.

Shiv Singh ProgrammerNomad

:atom:
I may be slow to respond.
View GitHub Profile
@ProgrammerNomad
ProgrammerNomad / snaps-rocket.sh
Created January 19, 2021 08:52
Enable snaps on CentOS and install Rocket.Chat Server
sudo yum install epel-release
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install rocketchat-server
@ProgrammerNomad
ProgrammerNomad / jekyll_liquid_collection_sort.html
Last active July 9, 2021 05:15
jekyll liquid collection sort by published date
<ul>
{% assign sorted = site.collection_name | sort: 'date' | reverse %}
{% for item in sorted %}
<li>{{ item.title }}</li>
{% endfor %}
</ul>
@ProgrammerNomad
ProgrammerNomad / us_all_zip_lon_ati.csv
Created January 19, 2022 05:28
All US zip codes with their corresponding latitude and longitude coordinates. Comma delimited for your database goodness. Source: http://www.census.gov/geo/maps-data/data/gazetteer.html
We can't make this file beautiful and searchable because it's too large.
ID, ZIP, LAT, LON
1,35004,33.557327,-86.534508
2,35005,33.604744,-87.042442
3,35006,33.429344,-87.202103
4,35007,33.228821,-86.791901
5,35010,32.944641,-85.910011
6,35011,32.939999,-85.949997
7,35013,33.913639,-86.509087
8,35014,33.405113,-86.276802
9,35015,33.579323,-86.637695