Skip to content

Instantly share code, notes, and snippets.

View theho's full-sized avatar

James Ho theho

View GitHub Profile
@theho
theho / ngrxintro.md
Created August 27, 2016 17:28 — forked from btroncone/ngrxintro.md
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

@theho
theho / c920_ffmpeg_nginx.md
Last active November 29, 2017 15:57
C920 streaming using nginx-rtmp

Setup Nginx


# /usr/local/nginx/conf/nginx.conf
worker_processes  auto;
events {
    worker_connections  1024;
}

# RTMP configuration
@theho
theho / nginx.conf
Created December 2, 2017 15:38 — forked from duckfullstop/nginx.conf
nginx-rtmp at LAN sample configuration
##################
## LANSTREAM ##
##################
# This is a sample configuration file
# Please don't copy and paste this exactly, read through it and understand what you're doing
# nginx-rtmp can be a little strange when working multithreaded, so we turn it off
worker_processes 1;
@theho
theho / ubuntu_nvidia_ethminer_setup.sh
Last active June 14, 2022 12:11
Scripts to setup headless ubuntu ethminer for nvidia card
# https://askubuntu.com/questions/799184/how-can-i-install-cuda-on-ubuntu-16-04
# https://www.perfacilis.com/blog/crypto-currency/mining-ethereum-on-ubuntu-with-ethminer.html
# https://gist.github.com/johnstcn/add029045db93e0628ad15434203d13c
# https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks
sudo apt update
sudo apt upgrade
sudo apt-get purge nvidia-cuda*