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
- name: Setup of aws-cli | |
if: github.ref == 'refs/heads/master' | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-region: us-east-1 | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
- name: deploy to PRODUCTION | |
if: github.ref == 'refs/heads/master' |
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
pecl install xdebug | |
docker-php-ext-enable xdebug | |
;php.ini | |
xdebug.mode=profile | |
xdebug.output_dir=/tmp/profiles | |
xdebug.profiler_output_name = cachegrind.out.%p.%R.%u |
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
FROM php:7.4.21-fpm-alpine3.13 | |
USER root | |
RUN cd /tmp \ | |
&& curl -o ioncube.tar.gz http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \ | |
&& tar -xvvzf ioncube.tar.gz \ | |
&& mv ioncube/ioncube_loader_lin_7.4.so /usr/local/lib/php/extensions/* \ | |
&& rm -Rf ioncube.tar.gz ioncube \ | |
&& echo "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/ioncube_loader_lin_7.4.so" > /usr/local/etc/php/conf.d/00_docker-php-ext-ioncube_loader_lin_7.4.ini |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLRIuof/Gx0WTNltxw6dunBJtXJdo7hNJikmMwBhAtB0YqsGfRHdDMx5qX07sr1kcFOvZ1W2cowQDIc+m5Qy+1ziaOr4S5/W1CNQnPBV/PIy0V67LZ64DxUNSAEIxW/2jY7V9dOE5x6Ju8wqj6OMmlisH7/DpahVoeBst67LRwl4nUKS3p9ilop/ZNzAi5GzCuS27u6H+d61qKLJ1oEY9KRlCe4aR7kY0YQEDp30lq0T2PUx9S3Zlx7nOGlPJX7pipF598DQah74zge1BRLSDT9SASURMae9PlKkDDG/06qrWsHMEZ9ATHpdqjxxOqH+43YCvskJmnAFWB6b2rkp5Z [email protected] |
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
FROM php:7.4.21-fpm-alpine3.13 | |
MAINTAINER [email protected] | |
USER root | |
ENV NEW_RELIC_VERSION php5-9.18.1.303-linux-musl | |
ENV NR_INSTALL_SILENT 1 | |
ENV NR_INSTALL_KEY YOUR-KEY-HERE | |
ENV NR_APP_NAME 'You Name' |
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
server { | |
listen 80; | |
server_name wordpress.localhost.com *.wordpress.localhost.com; | |
set $skip_cache 0; | |
if ($request_method = POST) { | |
set $skip_cache 1; | |
} | |
if ($query_string != "") { |
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
server { | |
listen 80; | |
server_name localhost; | |
add_header X-Backend-Server $hostname; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
} |
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
#include <stdio.h> | |
#include <conio.h> | |
#define TAM 20 | |
struct tad_pilha | |
{ | |
char nome[TAM]; | |
}; |
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
using System; | |
namespace Fael | |
{ | |
class Employee | |
{ | |
float salarioMensal; | |
public Employee(float salarioMensal) |
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
/* | |
author:mesaque | |
date: 08/2018 | |
*/ | |
//Exercise 1: | |
#include <cstdio> /* printf, scanf */ | |
#include <cstdlib> /* srand, rand */ |
NewerOlder