Sets:
set := make(map[string]bool)
// add to set
set["a"] = true
See imgur / linked pastebin and github mirror for 1-8 → 1-8 balancers. Creator: raynquist, github mirror linked in Balancers Illustrated: 1 through 8 balancers explained, imgur album linked in Balancer Book Update (Summer 2019)
build app: | |
image: node:6 | |
stage: build | |
artifacts: | |
paths: | |
- public | |
script: | |
- npm install | |
- npm run build | |
# Your next stage won't have access to these files again, so copy it to a public directory |
In a terminal start a server.
$ python -m SimpleHTTPServer 8000
In another terminal set up the cgroups freezer.
.:53 { | |
log | |
errors | |
#bind 127.0.0.1 | |
proxy . /etc/resolv.conf | |
template IN A { | |
match "^(?P<a>[0-9]*)[.](?P<b>[0-9]*)[.](?P<c>[0-9]*)[.](?P<d>[0-9]*)[.](xip.io|nip.io|local|dev)[.]$" |
// NOTE DONT put in an editor folder | |
using UnityEngine; | |
public class MinMaxAttribute : PropertyAttribute | |
{ | |
public float MinLimit = 0; | |
public float MaxLimit = 1; | |
public bool ShowEditRange; | |
public bool ShowDebugValues; |
package main | |
import ( | |
"fmt" | |
"log" | |
"strconv" | |
"github.com/miekg/dns" | |
) |
/* Created by Chris Figueroa - @Kinifi | |
* Create a script called AutoSave.cs | |
*/ | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
public class AutoSave : EditorWindow { |
// A small SSH daemon providing bash sessions | |
// | |
// Server: | |
// cd my/new/dir/ | |
// #generate server keypair | |
// ssh-keygen -t rsa | |
// go get -v . | |
// go run sshd.go | |
// | |
// Client: |
FROM ubuntu:trusty | |
MAINTAINER developers@pythonanywhere.com | |
# Add the PostgreSQL PGP key to verify their Debian packages. | |
# It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 | |
# Add PostgreSQL's repository. It contains the most recent stable release | |
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.4" > /etc/apt/sources.list.d/pgdg.list |