- It's a container orchestration
- Many servers act like one
- Released in 2015
- Runs on top of Docker
- Provides CLI/API to manage container across servers
- kubectl
- Services
- Clouds: Google Engine, etc
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
new ArrayList(Jenkins.instance.pluginManager.plugins) | |
.sort { it.getShortName() } | |
.each { | |
plugin -> | |
println ("${plugin.getShortName()}:${plugin.getVersion()}") | |
} |
- Riddle image by Phil Cho from Devian Art: https://www.deviantart.com/phil-cho/art/Riddler-on-the-loose-548585792
- Riddles extracted from: https://github.com/kivson/charadas
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 markdown = raw => { | |
const createBulletList = content => { | |
const regex = /- /gi | |
return content.match(regex).reduce((body, bullet) => body.replace(bullet, `<pre style="display: inline-block">• </pre>`), content) | |
} | |
const createLinks = content => { | |
const regex = /\[(.*?)\]\((https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)(\?hl=[a-z]{2})?)\)/gi | |
let result = content | |
let match = regex.exec(content) | |
while (match !== null) { |
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
(function() { | |
const dialogNode = document.querySelector('.overlay.overlay--lighter') | |
if (dialogNode) { | |
document.body.style.overflow = 'auto' | |
dialogNode.remove() | |
} | |
})() |
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
{ | |
"posts": [ | |
{ "id": 1, "title": "json-server", "author": "typicode" } | |
], | |
"comments": [ | |
{ "id": 1, "body": "some comment", "postId": 1 } | |
], | |
"profile": { "name": "typicode" } | |
} |
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
//Custom configuration | |
atom-text-editor { | |
text-rendering: optimizeLegibility; | |
-webkit-font-smoothing: antialiased; | |
font-family: "Operator Mono"; | |
font-size: 16px; | |
font-weight: 500; | |
line-height: 1.5; | |
} |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Chrome", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceRoot}/src" | |
} |
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
function reaisStrToInteger(reais) { | |
return parseInt(reais | |
.match(/R\$ ([0-9]+(\.[0-9]+)?)$/)[1] | |
.replace('.', '')); | |
} | |
if (window.location.href.match(/https:\/\/www\.zapimoveis\.com\.br\/oferta\/(venda|aluguel)\+apartamento/)) { | |
const aluguel = reaisStrToInteger(document.querySelector('.value-ficha').innerText.replace(/\n/g, '')); | |
let iptu = 0; | |
let condominio = 0; |
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
//[Steps] | |
//1) Go to your course page => for instance: https://www.codeschool.com/courses/try-elixir/videos | |
//2) Execute the code below | |
//3) Check your console | |
//4) Copy the video links and use them in a download tool you like | |
//[Notes] | |
//- You need to be logged in and have access to the videos (some of them are only available for premium users) | |
//- The output (in your console) is a huge stringified JSON. Use it to download your videos with any tool you like (wget, curl, aria2, etc.) | |
//- You can make use of some extensions that can inject JS in a page (like 'cjs') |