Skip to content

Instantly share code, notes, and snippets.

@marciojg
marciojg / Guia rápido de instalação do WSL2 + Docker.md
Last active May 1, 2024 20:03 — forked from argentinaluiz/Guia rápido de instalação do WSL2 + Docker.md
Startup DEV WINDOWS/LINUX - Guia rápido de instalação do WSL2 + Docker

Startup DEV WINDOWS/LINUX - Guia rápido de instalação do WSL2 + Docker

INSTRUCÃO OFICIAL: https://docs.microsoft.com/pt-br/windows/wsl/install-win10

Em 2016, a Microsoft anunciou a possibilidade de rodar o Linux dentro do Windows 10 como um subsistema e o nome a isto foi dado de WSL ou Windows Subsystem for Linux.

O acesso ao sistema de arquivos no Windows 10 pelo Linux era simples e rápido, porém não tinhamos uma execução completa do kernel do Linux e outros artefatos nativos e isto impossibilitava a execução de várias tarefas no Linux, uma delas é o Docker.

Em 2019, a Microsoft anunciou o WSL2, com uma dinâmica aprimorada em relação a 1ª versão:

@Kris-CDA
Kris-CDA / moment-js-to-native.md
Last active May 1, 2024 20:03
You don't (may not) need Moment.js

You don't (may not) need Lodash/Underscore

Avoid use lodash functions if native ES6 alternative exists

Quick Links

Array

  1. _.chunk
  2. _.compact
  3. _.concat
@miiGit
miiGit / background.js
Created January 30, 2017 20:42
Chrome Web App Window State
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('window.html', {
id: "mainwin",
innerBounds: {
width: 700,
height: 600
}
});
});
@meganetaaan
meganetaaan / gist:d76d1dbf35ed5ca27a9f
Created March 4, 2016 07:57
20160304_PtlSampleTest.log
2016-03-04 15:19:46,530 [main] DEBUG com.htmlhifive.pitalium.core.config.PtlTestConfig - System startup arguments: {}
2016-03-04 15:19:46,596 [main] DEBUG com.htmlhifive.pitalium.core.config.PtlTestConfig - [Load config] (EnvironmentConfig):
{"execMode":"TAKE_SCREENSHOT","hubHost":"localhost","hubPort":4444,"maxThreadCount":16,"maxThreadExecuteTime":3600,"maxDriverWait":30,"capabilitiesFilePath":"201
50915_capabilities.json","persister":"com.htmlhifive.pitalium.core.io.FilePersister","webDriverSessionLevel":"TEST_CASE","debug":false}
2016-03-04 15:19:46,613 [main] DEBUG com.htmlhifive.pitalium.core.selenium.PtlCapabilities - Capabilities loaded. (size: 3)
2016-03-04 15:19:46,636 [main] INFO com.htmlhifive.pitalium.core.rules.ResultCollector - [TestClass start] (class: com.htmlhifive.pitalium.sample.PtlSampleTest)
2016-03-04 15:19:46,645 [main] DEBUG com.htmlhifive.pitalium.core.config.PtlTestConfig - [Load config] (PersisterConfig): {"file":
@Pulimet
Pulimet / AdbCommands
Last active May 1, 2024 20:00
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@OlivierKobialka
OlivierKobialka / regex.md
Created December 25, 2023 12:44
Private and Public Key Regex
@trusktr
trusktr / image-grid.md
Last active May 1, 2024 19:59
Image grid in Markdown
screen shot 2017-08-07 at 12 18 15 pm blah screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm