- MacOS Sierra 10.12.5
- MacBook Pro (Retina, 13-inch, Late 2012)
- nRF52-DK (PCA10040)
- Install GCC
| #!/bin/bash | |
| PATH=$PATH:/usr/bin:/usr/sbin:/var/log/miners:/home/ubuntu/scripts | |
| SECS=$(date +%s) | |
| ETHMINERLOGFILE=/var/log/miners/ethminer.log | |
| ETHMINERRESTART=/var/log/miners/ethminer-restarts.log | |
| idletime=$(expr $SECS - $(date +%s -r $ETHMINERLOGFILE)) | |
| echo -n "$(date) - Status check running.. " &>> $ETHMINERRESTART | |
| if [ "$idletime" -gt 300 ] |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: ethminer | |
| # Required-Start: $remote_fs $syslog $network $named | |
| # Required-Stop: $remote_fs $syslog $network $named | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: ethminer start-stop-daemon init script | |
| # Description: This allows you to start/stop ethminer as if it | |
| # were a daemon |
Kinesis Freestyle (Terrible key switches. Mushy and un-lovable)
Kinesis Freestyle Edge (Traditional layout with too many keys, mech switches, proably too big to be tented easily/properly)
Matias Ergo Pro (Looks pretty great. Have not tried.)
ErgoDox Kit (Currently, my everyday keyboard. Can buy pre-assembled on eBay.)
ErgoDox EZ (Prolly the best option for most people.)
| package repository | |
| import ( | |
| "bytes" | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "fmt" | |
| "github.com/stretchr/testify/assert" | |
| "golang.org/x/crypto/openpgp/clearsign" | |
| "golang.org/x/crypto/openpgp/packet" |
| package main | |
| import ( | |
| "github.com/jinzhu/gorm" | |
| _ "database/sql" | |
| _ "github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers/mysql" | |
| ) | |
| // You can read more in this post: http://forecastcloudy.net/2016/06/28/using-google-cloud-sql-from-go-with-gorm-in-google-container-engine-and-google-compute-engine/ | |
| func main() { |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "time" | |
| "golang.org/x/net/context" | |
| "github.com/husobee/backdrop" |