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
# --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 |
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
# 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 |
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
#!/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 |
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
<?php | |
class HttpGrabThreaded { | |
private array $urls; | |
private array $runtimes; | |
private array $futures; | |
public function __construct(array $urls) | |
{ |
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
#!/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" |
NewerOlder