Skip to content

Instantly share code, notes, and snippets.

@cancerimex
cancerimex / angular-cli-node-js-typescript-rxjs-compatiblity-matrix.csv
Created November 28, 2024 01:05 — forked from LayZeeDK/angular-cli-node-js-typescript-rxjs-compatiblity-matrix.csv
Angular CLI, Angular, Node.js, TypeScript, and RxJS version compatibility matrix. Officially part of the Angular documentation as of 2023-04-19 https://angular.io/guide/versions
Angular CLI version Angular version Node.js version TypeScript version RxJS version
~16.0.0 ~16.0.0 ^16.13.0 || ^18.10.0 >=4.9.5 <5.1.0 ^6.5.5 || ^7.4.0
~15.2.0 ~15.2.0 ^14.20.0 || ^16.13.0 || ^18.10.0 >=4.8.4 <5.0.0 ^6.5.5 || ^7.4.0
~15.1.0 ~15.1.0 ^14.20.0 || ^16.13.0 || ^18.10.0 >=4.8.4 <5.0.0 ^6.5.5 || ^7.4.0
~15.0.5 ~15.0.4 ^14.20.0 || ^16.13.0 || ^18.10.0 ~4.8.4 ^6.5.5 || ^7.4.0
~14.3.0 ~14.3.0 ^14.15.0 || ^16.10.0 >=4.6.4 <4.9.0 ^6.5.5 || ^7.4.0
~14.2.0 ~14.2.0 ^14.15.0 || ^16.10.0 >=4.6.4 <4.9.0 ^6.5.5 || ^7.4.0
~14.1.3 ~14.1.3 ^14.15.0 || ^16.10.0 >=4.6.4 <4.8.0 ^6.5.5 || ^7.4.0
~14.0.7 ~14.0.7 ^14.15.0 || ^16.10.0 >=4.6.4 <4.8.0 ^6.5.5 || ^7.4.0
~13.3.0 ~13.3.0 ^12.20.2 || ^14.15.0 || ^16.10.0 >=4.4.4 <4.7.0 ^6.5.5 || ^7.4.0
@cancerimex
cancerimex / conventional-commits-cheatsheet.md
Created November 28, 2024 01:05 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@cancerimex
cancerimex / conventional-commits-cheatsheet.md
Created November 28, 2024 01:05 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@cancerimex
cancerimex / README.md
Created November 28, 2024 00:57 — forked from zenorocha/README.md
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage

@cancerimex
cancerimex / states_hash.json
Created April 7, 2020 21:39 — forked from mshafrir/states_hash.json
US states in JSON form
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",
@cancerimex
cancerimex / countryArray.js
Created April 7, 2020 21:31
Country list as javascript array (alphabetical)
// Lists of countries with ISO 3166 codes, presented in various formats.
// Last Updated: Nov 15, 2019
// If you're using PHP, I suggest checking out:
// https://github.com/thephpleague/iso3166
//
// JS developers can check out:
// https://www.npmjs.com/package/iso3166-2-db
// List of all countries in a simple list / array.
@cancerimex
cancerimex / 0-startup-overview.md
Created February 27, 2019 22:49 — forked from dideler/0-startup-overview.md
Startup Engineering notes
@cancerimex
cancerimex / toggle.md
Created February 27, 2019 16:02
Toggle with HTML, CSS, JavaScript

Toggle with HTML+CSS+JavaScript

HTML

<div class="container">
  <div class="toggle-btn" 
      onclick="this.classList.toggle('active')">
    <div class="inner-circle"></div>
  </div>
@cancerimex
cancerimex / sessions.php
Created February 16, 2018 15:49
rough example of sessions
<?php
// To use sessions you have to use session_start first
session_start();
// example of a user, we can normally get this from a mysql select query
$myUser = array(
'email_address' => 'test@test.com',
'name' => 'Test User',
'user_id' => 1,
'created_date' => 1518795752,