Skip to content

Instantly share code, notes, and snippets.

View EvertonSA's full-sized avatar

Everton Seiei Arakaki EvertonSA

View GitHub Profile
@Faq
Faq / gist:8821c5fd18dd01da4f80d7435158096d
Last active May 13, 2024 22:28
Install chrome & chromedriver for Docker image 2022
Source: https://gist.github.com/varyonic/dea40abcf3dd891d204ef235c6e8dd79
Change log:
1. replaced "dl-ssl.google.com" with "dl.google.com" according https://www.google.com/linuxrepositories/
2. replaced "apt-key" as "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))."
3. use https
Oneliner for Dockerfile:
RUN set -ex; \
@marciojg
marciojg / Guia rápido de instalação do WSL2 + Docker.md
Last active May 23, 2024 19:54 — 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:

@rcastill
rcastill / lock2req.py
Created November 26, 2019 16:11
Convert Pipfile.lock into requirements.txt
#!/usr/bin/env python
"""
Convert Pipfile.lock into requirements.txt
It generates an output similar to `pipenv lock -r`
without the need to actually locking the file.
See https://github.com/pypa/pipenv/issues/3493
This script was created to include the definition of sources
@cnDelbert
cnDelbert / How to install tcpping on Linux.md
Last active May 7, 2024 04:31
How to install tcpping on Linux

To install tcptraceroute on Debian/Ubuntu:

$ sudo apt-get install tcptraceroute

To install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:

$ sudo yum install tcptraceroute