#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
Note: syncStatus must be the full syncStatus object/json | |
async.series({ | |
totals: function(cb){ | |
domainsTotalsAccurate(pid, syncStatus, req, cb); | |
} | |
}, function(myError, myResult){ | |
var result = myResult.totals; | |
}) |
[ssh_connection] | |
control_path = %(directory)s/%%h-%%p-%%r |
#!/bin/bash | |
# Autor: Nilton OS -- www.linuxpro.com.br | |
echo 'setup-web2py-nginx-uwsgi-centos64.sh' | |
echo 'Support CentOS 6.4' | |
echo 'Installs Nginx 1.4.1 + uWSGI + Web2py' | |
# Get Web2py Admin Password | |
echo -e "Web2py Admin Password: \c " | |
read PW |
#Base Docker Development VM
Provisions an Ubuntu server with Docker Compose.
##How do i use it?
Step 1. Install vagrant
#!/usr/bin/env python | |
import sys | |
import re | |
import requests | |
from requests_oauthlib import OAuth2Session | |
def main(): | |
redirect_uri = 'http://127.0.0.1:5555/callback' |
#!/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 |
'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); |
--- 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> |
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") {
object test { | |
import scalaz.zio._ | |
type UserID = String | |
case class UserProfile(name: String) | |
// The database module: | |
trait Database { | |
val database: Database.Service |