Skip to content

Instantly share code, notes, and snippets.

View citizenrich's full-sized avatar

Richard Stanley citizenrich

View GitHub Profile
@bketelsen
bketelsen / parts.md
Last active November 8, 2018 15:19
Threadripper 2 2950X Build
@tgamauf
tgamauf / write_tfrecord_with_example.ipynb
Last active October 28, 2019 17:51
Write movie ratings to TFRecord file, then read it back
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ajeetraina
ajeetraina / gist:4c3059396f3615d08d6b6851d37e7e13
Last active September 9, 2018 03:05
A First Look at Kubernetes Integrated Docker for Mac 17.12 Platform
- Install Docker for Mac 17.12 Edge Release on your Mac System
- Kubernetes is only available if you are part of the private beta for Docker for Mac 17.12.
- To access beta builds, you must be signed in within Docker for Mac using your Docker ID.
- If you are participating in the Docker Beta program, you can access the beta for Docker for Mac 17.12 CE. This version includes a standalone Kubernetes server and client, as well as Docker CLI integration.
- To log in with your Docker ID, select whale menu -> Sign in / Create Docker ID from the menu bar.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sam210723
sam210723 / install.sh
Last active April 24, 2025 16:53
GNURadio + gr-iio + gr-osmosdr-gqrx + gqrx + SoapySDR + SoapyRemote + SoapyPlutoSDR install on fresh Ubuntu 16.04.3 LTS
# GNURadio + gr-iio setup (ADALM-PLUTO plugged in)
cd ~/Documents
mkdir PlutoSDR
cd PlutoSDR/
sudo apt-get install git python-pip
pip install --upgrade pip
pip install setuptools
sudo pip install git+https://github.com/gnuradio/pybombs.git
pybombs auto-config
pybombs recipes add-defaults
@arowla
arowla / Dockerfile.testing
Created April 20, 2017 17:56
Docker-Goconvey
FROM golang:1.7.5-alpine
USER root
ARG port
ARG app_path
ENV PORT=$port
ENV APP_NAME=github.com/smartystreets/goconvey
ENV APP_SRC_PATH=${GOPATH}/src/$app_path
@arxdsilva
arxdsilva / working_directory.go
Last active January 6, 2025 19:29
How to get the current working directory in golang
package main
// More info on Getwd()
// https://golang.org/src/os/getwd.go
//
import(
"os"
"fmt"
"log"
)
from keras.models import Sequential
from keras.layers import Dense
x, y = ...
x_val, y_val = ...
# 1-dimensional MSE linear regression in Keras
model = Sequential()
model.add(Dense(1, input_dim=x.shape[1]))
model.compile(optimizer='rmsprop', loss='mse')
@joepie91
joepie91 / .md
Last active October 10, 2025 14:37
Running a Node.js application using nvm as a systemd service

Read this first!

Hi there! Since this post was originally written, nvm has gained some new tools, and some people have suggested alternative (and potentially better) approaches for modern systems. Make sure to have a look at the comments to this article, before following this guide!


The original article

Trickier than it seems.