Skip to content

Instantly share code, notes, and snippets.

View nch3ng's full-sized avatar

Nate C. nch3ng

View GitHub Profile
@wesleybliss
wesleybliss / docker-compose-node-mongo.yml
Created September 9, 2016 21:37
Docker Compose with example App & Mongo
version: '2'
services:
myapp:
build: .
container_name: "myapp"
image: debian/latest
environment:
- NODE_ENV=development
- FOO=bar
volumes:
@btroncone
btroncone / ngrxintro.md
Last active May 18, 2025 04:12
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

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

@nch3ng
nch3ng / Froala and Carrierwave-RoR Demo.html
Last active April 10, 2019 05:16
Image upload with Froala and Rails 4, Carrierwave, Fog AWS
...
...
<textarea froala="froalaOptions"></textarea>
...
...
@ygotthilf
ygotthilf / jwtRS256.sh
Last active June 2, 2025 06:57
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active June 19, 2025 16:14
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@johnbintz
johnbintz / simple-capistrano-docker-deploy.rb
Last active June 6, 2025 20:51
Simple Capistrano deploy for a Docker-managed app
# be sure to comment out the require 'capistrano/deploy' line in your Capfile!
# config valid only for Capistrano 3.1
lock '3.2.1'
set :application, 'my-cool-application'
# the base docker repo reference
set :name, "johns-stuff/#{fetch(:application)}"
@amejiarosario
amejiarosario / rails_migration_cheatsheet.md
Created June 18, 2012 21:40
Rails Migration - Cheatsheet