Skip to content

Instantly share code, notes, and snippets.

View stephenburrows's full-sized avatar

Stephen Burrows stephenburrows

  • Albion Software
  • U.K
View GitHub Profile
@stephenburrows
stephenburrows / .editorconfig
Last active February 14, 2025 08:50
C# editorconfig
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
# C# files
[*.cs]
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
@stephenburrows
stephenburrows / Angular.md
Last active September 20, 2025 12:53
My Cheat Sheets #Cheat-Sheets

Angular Cheat Sheet

Update Angular CLI

npm uninstall -g @angular/cli
npm install -g @angular/cli@latest
  1. Common Table Expressions (CTEs) CTEs are temporary result sets that exist only within the execution scope of a single SELECT, INSERT, UPDATE, or DELETE statement. They are useful for simplifying complex queries and improving readability.
WITH CTE AS (
    SELECT id, name, age
    FROM original_table
    WHERE condition
)
SELECT * FROM CTE;
@stephenburrows
stephenburrows / husky in dotnet.md
Last active November 1, 2023 08:47
husky dotnet

Chemical reaction rendering meant to convey the concept of reactivity

“Reactivity” is how systems react to changes in data. There are many types of reactivity, but for this article, reactivity is when data changes, you do things.

Reactivity Patterns are Core to Web Development

We handle a lot with JavaScript in websites and web apps since the browser is an entirely asynchronous environment. We must respond to user inputs, communicate with servers, log, perform, etc. All these tasks involve updates to the UI, Ajax requests, browser URLs, and navigation changes, making cascading data changes a core aspect of web development.

As an industry, we associate reactivity with frameworks, but you can learn a lot by implementing reactivity in pure JavaScript. We can mix and match these patterns to wire behavior to data changes.

@stephenburrows
stephenburrows / .eslintrc.json
Last active October 13, 2023 10:20
Angular Format Lint
{
"root": true,
"ignorePatterns": ["projects/**/*"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"overrides": [
{
"files": ["*.ts"],
@stephenburrows
stephenburrows / .eslint.json
Last active July 28, 2025 07:35
Angular Notes
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"overrides": [
@stephenburrows
stephenburrows / Fancy CSS.md
Last active August 7, 2023 07:43
CSS & SVG Generator Examples