View ngrok.service
[Unit]
Description=Share local port(s) with ngrok
After=syslog.target network.target
[Service]
PrivateTmp=true
Type=simple
Restart=always
RestartSec=1min
StandardOutput=null
View 1-1 BEM (SCSS)
.button {
// Parent styles
// -------------------------------
display: inline-block;
padding: 5px 10px;
background-color: blue;
border-radius: 5px;
vertical-align: middle;
// Child element styles
View cloudSettings
{"lastUpload":"2018-08-16T04:39:30.056Z","extensionVersion":"v3.0.0"}
View .block
license: mit
View xamarin_lek.cs
// Create Pin Title
var lat = e.Point.Latitude.ToString("0.000");
var lng = e.Point.Longitude.ToString("0.000");
MarkerPositions.Add(e.Point);
// Add Pin
var title = string.Format("{0},{1}", lat, lng);
var subtitle = string.Format("Ping No# {0}", DummyCount);
View hashscript
#!/bin/bash
# Usage: ./hashscript <input> <output>
# Open terminal in Mac, type "nano hashscript", paste this in and save. Type "chmod +x hashscript" and make sure your data files are in the same directory
# Data format, rows of: example@domain.com,a,b,c,d,e where the first field is what you want to hash
for i in `cat $1`; do
IDENTIFIERFIELD="`echo $i | cut -d, -f 1`"
RESTOFINFO="`echo $i | cut -d, -f2-`"
IDENTIFIERFIELDHASH="`echo $IDENTIFIERFIELD | md5`"
echo $IDENTIFIERFIELDHASH,$RESTOFINFO >> $2
done
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

View API.js
const express = require('express');
const router = express.Router();
//TODO: put models into own package
class IdentifiableModel {
//TODO: proptypes or typescript
constructor(id) {
this.id = id;
}