(64, 64)
0.217446804047 total time
217446.804047 ns / op
(128, 128)
0.085732460022 total time
85732.460022 ns / op
Details:
Versions are denoted using a standard triplet of integers: MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are incompatible, large-scale upgrades of the API. MINOR versions retain source and binary compatibility with older minor versions, and changes in the PATCH level are perfectly compatible, forwards and backwards.
- The Ball Of Mud represents the worst case scenario for a Monolith. Also called as Spaghetti Code.
- No clear isolation in the application.
- Complex dependencies where everything depends on every other thing.
- Hard to understand and harder to modify.
- To clean up the ball of mud we introduce isolation into the application by dividing the application along clear domain boundaries.
- We introduce packages and libraries that help isolate related pieces of code. They provide a clean and consistent interface.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "io" | |
| "log" | |
| "net/http" | |
| ) | |
| func main() { |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This file provides common stuff to be used in the pipelines. | |
| * It is important to load it after repo checkout is done: see https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#triggering-manual-loading | |
| * | |
| */ | |
| /** | |
| * Dumps some info about the environment. | |
| * @return | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const vision = require("@google-cloud/vision"); | |
| const puppeteer = require("puppeteer"); | |
| const fs = require("fs-extra"); | |
| const URL = "https://YOUR_EMBASSY_URL_AND_THE_PAGE"; | |
| const browser = await puppeteer.connect({ | |
| browserWSEndpoint: `ws://browserless:3000?token=TOKEN_HERE`, | |
| args: [`--window-size=1024,860`], | |
| defaultViewport: { |
OlderNewer