Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🤔🍴📝🍴 💬

Vasyl Zuzyak ZuBB

💭
🤔🍴📝🍴 💬
  • Star (formerly Cogniance)
  • Ukraine
View GitHub Profile
@btroncone
btroncone / ngrxintro.md
Last active Aug 23, 2021
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series
View ngrxintro.md

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@bagage
bagage / pre-receive
Last active Aug 25, 2021
Submodule commit checker pre-receive server-side git hook
View pre-receive
#!/bin/bash
# Service side git pre-receive hook
# Written by Gautier Pelloux-Prayer <gautier+git@damsy.net>, 2014
#
# Public domain
#
# Simply put this script in server git bare repository <your-git-folder>/hooks and
# apply 'chmod +x pre-receive'.
#
View constitution-test.yml
card:
dates:
- 28.06.1996
id: 254к/96-вр
issuers:
- name: Верховна Рада України
numbers:
- 254к/96-ВР
state:
- Чинний
@branneman
branneman / better-nodejs-require-paths.md
Last active Sep 25, 2021
Better local require() paths for Node.js
View better-nodejs-require-paths.md

Better local require() paths for Node.js

Problem

When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:

const Article = require('../../../../app/models/article');

Those suck for maintenance and they're ugly.

Possible solutions

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active Sep 3, 2021
A badass list of frontend development resources I collected over time.
View frontendDevlopmentBookmarks.md
@magnetikonline
magnetikonline / README.md
Last active Jun 27, 2021
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
View README.md
@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 — forked from jboner/latency.txt
Latency numbers every programmer should know
View latency.markdown

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns  = 250 µs
@lancejpollard
lancejpollard / node-folder-structure-options.md
Created Nov 28, 2011
What is your folder-structure preference for a large-scale Node.js project?
View node-folder-structure-options.md

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin