Skip to content

Instantly share code, notes, and snippets.

View unlight's full-sized avatar
💭
Casting fireball

Roman Vasilev unlight

💭
Casting fireball
View GitHub Profile
1. Overview of NoSQL DB's and MongoDB
a. Originals of NoSQL
a. Came about due to scalability. Relational databases try to be "transactional" and there is great cost to that. Atomic operations across tables, can be rolled back halfway through, everything is generally relatively normalized, etc.
b. Huge number of NoSQL options available.
a. redis, couchbase, mongodb, riak, cassandra, hbase, elasticsearch
b. "MongoDB" "Couchbase" are "document stores", have _some_ more relationship like features.
c. Relational database management systems
a. Oracle, SQL Server, DB2, Postgres
@praveenpuglia
praveenpuglia / shadow-dom.md
Last active August 13, 2025 07:14
Everything you need to know about Shadow DOM

I am moving this gist to a github repo so more people can contribute to it. Also, it makes it easier for me to version control.

Please go to - https://github.com/praveenpuglia/shadow-dom-in-depth for latest version of this document. Also, if you find the document useful, please shower your love, go ⭐️ it. :)

Shadow DOM

Heads Up! It's all about the V1 Spec.

In a nutshell, Shadow DOM enables local scoping for HTML & CSS.

@noygal
noygal / Windows Subsystem for Linux version 1 and 2 (WSL) - node install guide.md
Last active September 27, 2025 02:40
Installing node via windows subsystem for linux

Windows 10 version 2004 - Installing Node.js on Windows Subsystem for Linux (WSL/WSL2)

UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.

Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🤞. NOTE: WSL version 1 is not replace/deprecated, and there ar

@vxhviet
vxhviet / simplifiedGitFlow.md
Last active March 2, 2025 11:36
A simplified version of Git Flow

Simplified Git-flow

                        RELEASE TAG
o----------------------------o-----------------o------------o------> MASTER
 \                          /  \                \----------/ HOTFIX
  \                        /    \                          \
   \----------------------/      \--------------------o-----o------> DEVELOP
                                  \                  /
 \----------------/ FEATURE
image: node:8.9.0
stages:
- setup
- build
- tests
npm-install:
stage: setup
script:
@hassanjuniedi
hassanjuniedi / unwraptag-tag.directive.ts
Created May 10, 2018 15:25
Angular directive to unwrap HTML tag or unwrap component tag.
import { AfterViewInit, Directive, ElementRef } from '@angular/core';
@Directive({
selector: '[appUnwraptag]',
})
export class UnwrapTagDirective implements AfterViewInit {
constructor(private el: ElementRef) {}
ngAfterViewInit() {
// get the element's parent node
@swalkinshaw
swalkinshaw / tutorial.md
Last active October 24, 2025 14:52
Designing a GraphQL API
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active November 19, 2025 14:28
Online Resources For Web Developers (No Downloading)
@hlorand
hlorand / vidstab_ffmpeg.md
Last active November 29, 2025 16:04
Video stabilization using VidStab and FFMPEG

Video stabilization using VidStab and FFMPEG

** Step 1 **

Install ffmpeg with the vidstab plugin.

@hacknug
hacknug / tailwind.config.js
Created February 8, 2019 16:54
TailwindCSS default config
/*
Tailwind - The Utility-First CSS Framework
A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink),
David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger).
Welcome to the Tailwind config file. This is where you can customize
Tailwind specifically for your project. Don't be intimidated by the
length of this file. It's really just a big JavaScript object and