#Base Docker Development VM
Provisions an Ubuntu server with Docker Compose.
- Creates an Ubuntu VM running Docker
- Allows for configuration using a docker-compose.yml file
##How do i use it?
Step 1. Install vagrant
// This SQL file is for the Hands On Lab Guide for the 30-day free Snowflake trial account | |
// The numbers below correspond to the sections of the Lab Guide in which SQL is to be run in a Snowflake worksheet | |
// Modules 1 and 2 of the Lab Guide have no SQL to be run | |
// See the lab guide here - https://s3.amazonaws.com/snowflake-workshop-lab/InpersonZTS_LabGuide.pdf | |
//===================================== | |
// MODULE 3 | |
//===================================== | |
// 3.1.1 | Done in UI |
#Base Docker Development VM
Provisions an Ubuntu server with Docker Compose.
##How do i use it?
Step 1. Install vagrant
These are my rough notes when preparing for a Haskell livestream that I
thought would be worth sharing. Some things are general comments on
contributing to the open source ecosystem whereas other notes are specific
to the stream (e.g. Haskell and the streamly
package)
How things look from a maintainer's point of view (for highly active projects):
As projects become more active the maintainer's "inbox" gets pretty large. A
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
The following describes how you can publish artifacts for any sbt project using the GitHub Package Registry and the sbt-github-packages plugin.
In your GitHub account, go to Settings > Developer settings > Personal access tokens, then click on Generate new token (or click here). Fill in some sort of meaningful name (I chose Dev) and click on the write:packages
checkbox:
object test { | |
import scalaz.zio._ | |
type UserID = String | |
case class UserProfile(name: String) | |
// The database module: | |
trait Database { | |
val database: Database.Service |
Firefox Add-on: https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/
For getting rid of the horizontal tab bar to save vertical space and reduce confusion, edit userChrome.css
to add this:
/* Hide tab bar in FF Quantum */
@-moz-document url("chrome://browser/content/browser.xul") {
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |
'use strict'; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
const path = require("path"); | |
const url = require("url"); | |
let net = require('net'), fs = require('fs'), os = require('os'), stdin = process.stdin, stdout = process.stdout; | |
let u = discoverUrl(); | |
let socket = net.Socket(); | |
socket.on('data', (chunk) => { | |
// send it back to stdout | |
stdout.write(chunk); |
#!/bin/bash | |
# Copyright 2017 Théo Chamley | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in the Software | |
# without restriction, including without limitation the rights to use, copy, modify, merge, | |
# publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons | |
# to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or |