- OPen youtube, change language to English
- Go to your watch later playlist
- OPen the inspect -> console
- Paste the script and execute it
# nginx configuration snippet for running Uptime Kuma on a URL prefix | |
# set up for yourdomain.com/kuma, with traffic forwarded to a docker | |
# container with the hostname 'uptime-kuma' | |
# Use docker's DNS | |
resolver 127.0.0.11; | |
# uptime kuma | |
location /uptime { |
VERSION = \"1.0.0\" | |
PREFIX ?= out | |
INCDIR = inc | |
SRCDIR = src | |
LANG = c | |
OBJDIR = .obj | |
MODULE = binary_name | |
CC = gcc |
import os | |
import sys | |
import PTN | |
import requests | |
from dotenv import load_dotenv | |
from sanitize_filename import sanitize | |
load_dotenv() |
AWSTemplateFormatVersion: 2010-09-09 | |
Resources: | |
OrdersTable: | |
Type: "AWS::DynamoDB::Table" | |
Properties: | |
TableName: AuthorsTable | |
AttributeDefinitions: | |
- AttributeName: AuthorName | |
AttributeType: S | |
- AttributeName: BookTitle |
Acesse todos os códigos em: https://github.com/turicas/eleicoes-brasil/tree/master/apuracao
Caso queira os JSONs históricos, baixe o arquivo data.zip desse gist.
Gist for https://www.youtube.com/watch?v=38di3_iVDIA
kopia repository create s3 --bucket=<<bucketId>>
kopia repository validate-provider
kopia repository status
kopia snapshot create /var/lib/jenkins
kopia snapshot list
kopia diff <a> <b>
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228
This command searches for exploitation attempts in uncompressed files in folder /var/log
and all sub folders
sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log
Terraform by default provision concurrently 10 resources, to change use -parallelism=n
on plan, apply and destroy commands.
Terraform is an immutable, declarative, Infraestructure as Code provisioning tool.
IaC provides benefits:
- Can be versioned