The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the
Cian Johnston, July 2017
A couple of weeks ago, I decided I should put my gaming rig to work crypto mining. I did not expect to make any significant profit on this, it was more of a fun project to set up. However, there were a large number of tutorials and guides already out there, and many were more than a year out of date.
This guide assumes the reader already has a crypto wallet set up, is comfortable with Linux and the command line, and knows how to use Google if they run into problems.
The end result is an Ubuntu 16.04 LTS headless server running CUDA ethminer via systemd.
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
nginx: | |
image: myclient/nginx | |
environment: | |
- HOSTHOST=UBUNTU | |
- PROXY_PORT=8069 | |
links: | |
- myservice:myservice | |
ports: | |
- "80:80" | |
- "443:443" |
sudo openvpn --config *.opvn | |
apt-get update | |
apt-get install vim | |
wget http://d3kbcqa49mib13.cloudfront.net/spark-1.3.0-bin-hadoop2.4.tgz | tar zxf | |
hadoop fs -mkdir /spark | |
hadoop fs -put spark-1.3.0-bin-hadoop2.4.tgz /spark | |
hadoop fs -du -h /spark | |
cp spark-env.sh.template spark-env.sh | |
#!/bin/bash | |
DEV_PATH="~/dev/myapp" | |
SESSION="myapp" | |
tmux -2 new-session -d -s $SESSION | |
# First window (backend dev) | |
tmux rename-window "Backend" | |
tmux send-keys "cd $DEV_PATH; vim" C-m | |
# Frontend window for vim |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy import Integer, Column | |
from postgresql_json import JSON | |
Base = declarative_base() | |
class Document(Base): | |
id = Column(Integer(), primary_key=True) | |
data = Column(JSON) | |
#do whatever other work |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from riak import RiakClient | |
from riak.mapreduce import RiakLink | |
# see http://wiki.basho.com/Links-and-Link-Walking.html | |
HOST = 'example.jp' |