Saber em que projeto você irá trabalhar e como será sua rotina de trabalho é essencial.
Quantos devs tem no time? Quantos líderes?
| #!/usr/bin/env bash | |
| SG="super-giggle" | |
| $SG --diff-cached | |
| RESULT=$? | |
| if [ $RESULT -eq 0 ]; then | |
| echo 'Meus parabéns, meu filho. Seu código está limpinho. Meus parabéns!!!' | |
| else | |
| # Permite capturar a resposta Y|N do usuário. | |
| exec < /dev/tty | |
| MSG=$(cat << "EOF" |
| <?php | |
| class HttpGrabThreaded { | |
| private array $urls; | |
| private array $runtimes; | |
| private array $futures; | |
| public function __construct(array $urls) | |
| { |
| #!/bin/bash | |
| # | |
| # ** Need install system dependencies | |
| rm -rf php-src/ | |
| mkdir -p /etc/php7 | |
| mkdir -p /etc/php7/cli | |
| git clone https://github.com/php/php-src.git -b PHP-7.4.1 --depth=1 |
| # Use an official Elixir runtime as a parent image | |
| FROM elixir:latest | |
| RUN apt-get update && \ | |
| apt-get install -y postgresql-client | |
| # Create app directory and copy the Elixir projects into it | |
| RUN mkdir /app | |
| COPY . /app | |
| WORKDIR /app |
| # --trusted-cert value is prompted in the first on debug output while connection try | |
| sudo /usr/bin/openfortivpn ip:port -u user --trusted-cert 9f069d6b9e248de3a7521981ef06377b296574fa5825cde10b7349da62939c80 --otp-prompt=1 --no-dns |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "net/http" | |
| "sync" | |
| "threadsync/httpclient" | |
| "time" | |
| ) |
| <?php | |
| interface Entity { | |
| } | |
| class Book implements Entity { | |
| } | |
| // REPO | |
| interface Repository { |
| defmodule Solution do | |
| def remove_duplicate_chars(string) do | |
| string | |
| |> String.codepoints() | |
| |> Enum.reduce(fn char, acc -> | |
| acc = if String.contains?(acc, char) do | |
| acc | |
| else | |
| acc <> char | |
| end |
| defmodule ImapExample do | |
| def mark_unread_emails_as_read(server, username, password) do | |
| {:ok, conn} = ExImap.connect(server: server, ssl: true) | |
| {:ok, _} = ExImap.authenticate(conn, username: username, password: password) | |
| {:ok, _} = ExImap.select(conn, "INBOX") | |
| {:ok, messages} = ExImap.search(conn, "UNSEEN") | |
| Enum.each(messages, fn msg_id -> | |
| {:ok, _} = ExImap.store(conn, msg_id, "+FLAGS", "\\Seen") | |
| end) |