- 3 eggs
- 1 yolk
- 2 cans of sweetened condensed milk
- One of these ☝️ empty cans full of whole milk
- A pinch of vanilla extract
This file contains 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
{ | |
"agent": { | |
"metrics_collection_interval": 60, | |
"run_as_user": "root" | |
}, | |
"metrics": { | |
"append_dimensions": { | |
"ImageId": "${aws:ImageId}", | |
"InstanceId": "${aws:InstanceId}", | |
"InstanceType": "${aws:InstanceType}" |
This file contains 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
[Unit] | |
Description=O Nome do Service | |
[Service] | |
Type=notify | |
ExecStart=/bin/pra/iniciar/o/service | |
WatchdogSec=30s | |
Restart=always | |
RestartSec=5 |
This file contains 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 -xe | |
yum update -y | |
amazon-linux-extras install nginx1 -y | |
cd /usr/share/nginx/html | |
echo "WebServer on instance-id " > index.html | |
curl http://169.254.169.254/latest/meta-data/instance-id >> index.html | |
systemctl start nginx |
This file contains 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
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Creates an EC2 instance with Nginx installed and running.' | |
Parameters: | |
VPC: | |
Description: VPC for the SecurityGroup | |
Type: AWS::EC2::VPC::Id |
This file contains 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
$(function() { | |
const timer = $('.timer'); | |
timer.startTimer({ allowPause: true }); | |
setTimeout(() => { | |
timer.trigger('click'); | |
timer.data('timeLeft', 30); | |
timer.trigger('click'); | |
}, 3000); | |
}); |
This file contains 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
package main | |
import ( | |
"net/http" | |
"regexp" | |
) | |
type route struct { | |
pattern *regexp.Regexp | |
handler http.Handler |
This file contains 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
[ | |
{ "country": "France", "year": 2018 }, | |
{ "country": "Germany", "year": 2014 }, | |
{ "country": "Spain", "year": 2010 }, | |
{ "country": "Italy", "year": 2006 }, | |
{ "country": "Brazil", "year": 2002 }, | |
{ "country": "France", "year": 1998 }, | |
{ "country": "Brazil", "year": 1994 }, | |
{ "country": "West Germany", "year": 1990 }, | |
{ "country": "Argentina", "year": 1986 }, |
This file contains 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
function App(props){ | |
return `Message ${props.classes.button} ${props.classes.isActive}`; | |
} | |
const styles = { | |
button: "btn-primary", | |
isActive: "is-active" | |
}; | |
const styledProps = withStyles(styles); |
This file contains 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
# Change Ruby version accordingly | |
FROM ruby:2.3-stretch | |
LABEL maintainer="carloshrsouza@gmail.com" | |
RUN apt-get update | |
RUN apt-get install -y git | |
RUN mkdir /myapp | |
WORKDIR /myapp |