Skip to content

Instantly share code, notes, and snippets.

View hellowahab's full-sized avatar
😎
Software Engineer

Wahab Hussain hellowahab

😎
Software Engineer
View GitHub Profile
@hellowahab
hellowahab / falsehoods-programming-time-list.md
Created March 1, 2024 03:57 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).

Find out files to be deployed using branches

git checkout Release_4
git diff --name-only Release_3

Create Deployment Patch

Windows

git archive -o deployment_patch.zip HEAD $(git diff --name-only Release_3)

Linux

@hellowahab
hellowahab / install_mysql_client.sh
Created March 2, 2021 09:03 — forked from sshymko/install_mysql_client.sh
Install MySQL 5.7 client on Amazon Linux 2
#!/bin/sh
sudo yum install -y https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
sudo yum install -y mysql-community-client