Skip to content

Instantly share code, notes, and snippets.

View rcadecaro's full-sized avatar

RENATO CADECARO rcadecaro

  • Cadecaro
View GitHub Profile
@rcadecaro
rcadecaro / how-to-take-psm-I-scrum-org.md
Created June 23, 2023 18:56 — forked from paulera/how-to-take-psm-I-scrum-org.md
A practical guide to prepare and take the PSM I (Professional Scrum Master 1) certification, from Scrum.org, entirely by yourself (no course required).

How to take the PSM I certification from Scrum.org entirely by yourself

Some people ask me about Scrum.org certifications: what to study, how to apply for the exam and advice for taking it. So I decided to write a guide for those interested in preparing and taking PSM I (Professional Scrum Master) without spending a fortune with training. With discipline, in around a month (or two), you should be ready to take the test.

The advice compiled here came from experienced agile coaches. Worked very well for me and I hope they will also help those who are seeking directions.

Table of Contents

import datetime
import pandas as pd
from ib_insync import *
pd.set_option('display.max_rows', None)
ib = IB()
ib.connect('127.0.0.1', 7496, clientId=15)
contract = Stock('SPY', 'SMART', 'USD')
import datetime
import pandas as pd
from ib_insync import *
pd.set_option('display.max_rows', None)
ib = IB()
ib.connect('127.0.0.1', 7496, clientId=15)
contract = Stock('SPY', 'SMART', 'USD')

How we incorporate next and cloudfront (2018-04-21)

Feel free to contact me at [email protected] or tweet at me @statisticsftw

This is a rough outline of how we utilize next.js and S3/Cloudfront. Hope it helps!

It assumes some knowledge of AWS.

Goals

@rcadecaro
rcadecaro / sendy.conf
Created November 12, 2021 17:05 — forked from saaiful/sendy.conf
Nginx configuration file example for Sendy (http://sendy.co/).
server {
listen ip:port;
server_name domain.name;
root root_folder;
index index.php index.html index.htm;
location / {
location = / {
try_files $uri $uri/ /index.php?$query_string;
}
@rcadecaro
rcadecaro / History|-125b0c02|entries.json
Last active August 5, 2022 16:27 — forked from Iman/clean.sh
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
{"version":1,"resource":"file:///home/cadecaro/Projetos/madeira/nestjs-madeira-api/src/modules/exame/exame.module.ts","entries":[{"id":"346P.ts","timestamp":1658271353262},{"id":"Jrpr.ts","source":"Workspace Edit","timestamp":1658271371290}]}
@rcadecaro
rcadecaro / udpClient.js
Created January 31, 2021 20:35 — forked from enginespot/udpClient.js
send heartbeat message to udp server by nodejs
var dgram = require('dgram');
var message = new Buffer("Hello World");
var server_ip = 'localhost';
var server_port = 3000;
var beat_period = 5;
console.log("Sending heartbeat to IP " + server_ip + " , port " + server_port);
console.log("press Ctrl-C to stop");
setInterval(function () {
var client = dgram.createSocket("udp4");
@rcadecaro
rcadecaro / cloudfront-batch-certificates.sh
Created January 25, 2021 14:15 — forked from bendrucker/cloudfront-batch-certificates.sh
Batch update all CloudFront distributions using a specified certificate ID to a new one
old_certificate="A..."
new_certificate="A..."
distributions=($(aws cloudfront list-distributions | jq --arg certificate $old_certificate -r '.DistributionList.Items[] | select(.ViewerCertificate.IAMCertificateId == $certificate) | .Id'))
echo "Distributions"
echo "============="
printf "%s\n" "${distributions[@]}"
echo "\n"
// Scripts for https://youtu.be/FEI-uEdb2y8
"deploy": "react-scripts build && aws s3 rm s3://wornoffkeys.com/ --recursive && aws s3 cp ./build s3://wornoffkeys.com/ --recursive --acl public-read"
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
@rcadecaro
rcadecaro / aws-linux-2-wordpress.sh
Created January 24, 2020 16:38 — forked from byronfriesen/aws-linux-2-wordpress.sh
Amazon Linux 2 LTS - Wordpress / PHP-FPM / NGINX / MariaDB / WP-CLI Auto Install
#!/bin/bash
##############################################################
# Set Your System and Wordpress Config Preferences
##############################################################
export SYSTEM_USER=username # User PHP-FPM runs under
# Database
export WP_DB_NAME=wordpress