Skip to content

Instantly share code, notes, and snippets.

View apappas1129's full-sized avatar

Alexandros Pappas apappas1129

View GitHub Profile
@apappas1129
apappas1129 / fate of empires 1977.csv
Created January 29, 2023 11:01
Sir John Glubb's "The Fate of Empires" (1977)
Empire Start Date End Date Duration (years)
Assyria 859 B.C. 612 B.C. 247
Persia (Cyrus) 538 B.C. 330 B.C. 208
Greece (Alexander) 331 B.C. 100 B.C. 231
Roman Republic 260 B.C. 27 B.C. 233
Roman Empire 27 B.C. 180 A.D. 207
Arab Empire 634 A.D. 880 A.D. 246
Mameluke Empire 1250 A.D. 1517 A.D. 267
Ottoman Empire 1320 A.D. 1570 A.D. 250
Spain 1500 A.D. 1750 A.D. 250
@apappas1129
apappas1129 / empires.csv
Created January 29, 2023 10:43
An incomplete list of empires and their duration.
Empire Start Date End Date Duration Books of the Bible
Sumerian Empire 2334 BC - 2154 BC 2154 BC 180 years
Akkadian Empire 2334 BC - 2154 BC 224 BC 438 years Isaiah, Jonah
Minoan Empire 2000 BC - 1450 BC 1450 BC 550 years
Indus Valley Civilization 3300 BC - 1700 BC 1700 BC 1600 years
Egyptian Empire 3100 BC - 30 BC 30 BC 3,130 years Exodus, Isaiah, Jeremiah, Ezekiel
Assyrian Empire 1365 BC - 609 BC 609 BC 776 years 2 Kings, Isaiah, Jonah, Nahum
Babylonian Empire 1894 BC - 539 BC 539 BC 1355 years Genesis, Isaiah, Jeremiah, Ezekiel, Daniel
Persian Empire 550 BC - 330 BC 330 BC 220 years Ezra, Isaiah, Jeremiah, Ezekiel, Daniel
Greek Empire 323 BC - 30 BC 30 BC 293 years All the New Testament books
@apappas1129
apappas1129 / w10-wsl2-tortoisegit-ssh.md
Last active June 16, 2023 04:56
My experience in setting up SSH Git & TortoiseGit on Windows 10 WSL2

My experience in setting up SSH Git & TortoiseGit on Windows 10 WSL 2

My current projects were using GitLab but you can easily translate equivalent steps for GitHub. Here are the steps I took and the mistakes along the way:

  1. I went to Gitlab Account Settings > SSH Keys
  2. I clicked Learn more and followed through the steps:

(in Ubuntu WSL Terminal)

@apappas1129
apappas1129 / angular-cli-node-js-typescript-rxjs-compatiblity-matrix.csv
Created December 6, 2021 00:34 — forked from LayZeeDK/angular-cli-node-js-typescript-rxjs-compatiblity-matrix.csv
Angular CLI, Angular, Node.js, TypeScript, and RxJS compatibility matrix. Based on changelogs, metadata, and hands-on experience. Major Node.js and RxJS versions above officially supported versions are not listed. Note that minor TypeScript versions also contain breaking changes.
Angular CLI version Angular version Node.js version TypeScript version RxJS version
1.0.0-beta.17 (package name: angular-cli) 2.0.x 6.9.x or later minor version 2.0.x 5.0.x or later minor version
1.0.0-beta.20-1 (package name: angular-cli) 2.1.x 6.9.x or later minor version 2.0.x 5.0.x or later minor version
1.0.0-beta.22-1 (package name: angular-cli) 2.2.x 6.9.x or later minor version 2.0.x 5.0.x or later minor version
1.0.0-beta.30 2.3.x 6.9.x or later minor version 2.0.x 5.0.x or later minor version
1.0.0-rc.4 2.4.x 6.9.x or later minor version 2.0.x 5.0.x or later minor version
1.0.6 4.0.x/4.1.x 6.9.x or later minor version 2.2.x 5.0.x or later minor version
1.1.3 4.0.x/4.1.x 6.9.x or later minor version 2.3.x 5.0.x or later minor version
1.2.7 4.0.x/4.1.x 6.9.x or later minor version 2.3.x 5.0.x or later minor version
1.3.2 4.2.x/4.3.x/4.4.x 6.9.x or later minor version 2.4.x 5.0.x or later minor version
@apappas1129
apappas1129 / deep-translate-str-values.ts
Created August 12, 2021 03:36
deep-translate-str-values
var data: { [k: string]: unknown } = {
"count": 82,
"next": "https://swapi.dev/api/people/?page=2",
"previous": null,
"results": [
{
"name": "Luke Skywalker",
"height": "172",
"mass": "77",
"hair_color": "blond",
@apappas1129
apappas1129 / wk-flag.svg
Created August 10, 2021 05:31
Wookie Flag SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@apappas1129
apappas1129 / cs-sprint-interview-guide.md
Last active May 3, 2021 05:45
My C# .NET Sprint Interview Guide

C# .NET Sprint Interview Guide

The following is my personal interview questionaire I used on medium-to-fast-paced-interviews which usually happens on job fairs or speed hiring (at least from where I am). I believe I had 15-20 mins interviews using this, iirc (Or maybe +10 mins if your introductions take time 🤔).

Note This is mostly (if not "only") for experienced developers who wish to apply as Jr/Mid/Senior C# dev.

The Guide
I. Introduce your selves
  1. Introduce yourself and your company
  2. Interviewee's turn ("Briefly, tell me about yourself?" Check CV/Resume.)
  • Years xp
export default function debounce(func) {
var wait =
arguments.length <= 1 || arguments[1] === undefined ? 100 : arguments[1]
var timeout = void 0
return function () {
var _this = this
for (
var _len = arguments.length, args = Array(_len), _key = 0;
@apappas1129
apappas1129 / apple-music-gradient-value.md
Last active March 12, 2024 00:18
Apple Music's gradient value for your 𝓒𝓼𝓼

Apple Music's Gradient Value

background-image: linear-gradient(-45deg, #35C3F3 0%, #8b9fe8 20%, #e681d8 39%, #ffa9a4 76%, #FED2CE 100%);
@apappas1129
apappas1129 / How to fix network connection problem in Windows 10.md
Last active June 30, 2020 03:01
How to fix network connection problem in Windows 10

How to Fix Network Connection Problem in Windows 10

forthebadge forthebadge forthebadge

Scenario:

  1. Your browsers can't reach any web page including any running project in localhost
  2. Your ping shows you have internet connection when you try something like ping www.google.com -t

How to fix it:

  1. Run Command Prompt as Admninistrator
  2. Enter netsh winsock reset catalog