Skip to content

Instantly share code, notes, and snippets.

View a1mzone's full-sized avatar

Zakk a1mzone

  • S.A.
View GitHub Profile
@a1mzone
a1mzone / tech_stack.md
Created January 29, 2024 19:51
Tech Stack

Develop

Java - Spring Framework (1st release was in 2002)
Relational DB - PostgreSQL (Started in 1986, most populat open source DB with several TB deployments, Yahoo in fact had a 2PB deployment in 2008)
Mobile - React / Flutter / Cordova - maybe Xamarin

Big Data

Hadoop (2002, based on Google File System paper, in 2007, Yahoo successfully tests Hadoop on a 1000 node cluster, a year later Apache Software Foundation successfully tested a 4000 node cluster)
Accumullo (Based on Google Bigtable, created in 2008 by US National Security Agency)

@a1mzone
a1mzone / zsh.md
Last active January 26, 2024 09:15
ZSH Setup
@a1mzone
a1mzone / k8s.md
Last active January 23, 2024 11:17
K8S & Helm
@a1mzone
a1mzone / spatial_functions.md
Last active January 9, 2024 13:34
Spatial Queries

GeoMesa Spark

MakePolygon

ST_MakePolygon(ST_ExteriorRing(ST_Collect(
st_makepoint(28.1833495,-26.0544965),
st_makepoint(28.1837932,-26.0604524),
st_makepoint(28.1833495,-26.0544965))))

PolygonFromText

@a1mzone
a1mzone / superset-install.md
Last active December 13, 2022 18:35
Apache Superset - ubuntu 20.04 Install

Apache Superset - Ubuntu 20.04LTS

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev  libpq-dev python3-dev

mkvirtualenv -p python3.8 superset-3.8

pip install --upgrade setuptools pip

pip install apache-superset==2.0.0
@a1mzone
a1mzone / gh.md
Last active January 4, 2024 11:12
GeoHash Sizing

GeoHash Size

1 ≤ 5,000km × 5,000km
2 ≤ 1,250km × 625km
3 ≤ 156km × 156km
4 ≤ 39.1km × 19.5km
5 ≤ 4.89km × 4.89km
6 ≤ 1.22km × 0.61km
7 ≤ 153m × 153m
8 ≤ 38.2m × 19.1m

@a1mzone
a1mzone / bash.md
Last active July 13, 2020 08:32
Cheatsheet - BASH

BASH

Find Terminal

ps | grep $$
which 

!#/bin/terminal

Variables

@a1mzone
a1mzone / python.md
Last active January 5, 2024 08:27
Python
@a1mzone
a1mzone / fdisk - cheatsheet.md
Last active June 12, 2020 07:51 — forked from keithmorris/drive-format-ubuntu.md
Cheatsheet - fdisk

fdisk

List logical disks and partitions

sudo fdisk -l

Partition the disk

sudo fdisk /dev/sdb

  • Press n to create a partition
  • Press p or l to create primary or logical partitions
@a1mzone
a1mzone / ffmpeg.md
Last active June 12, 2020 07:51 — forked from protrolium/ffmpeg.md
Cheatsheet - ffmpeg

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: