Skip to content

Instantly share code, notes, and snippets.

View possebon's full-sized avatar

Jose Fernando Possebon Junior possebon

View GitHub Profile
<html lang="pt-Br" data-critters-container=""><head><style data-merge-styles="true"></style><style data-merge-styles="true"></style><style data-merge-styles="true"></style><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<meta charset="utf-8">
<title>Anota AI - Gestor de cardápio</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, maximum-scale=1">
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
<style>@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v47/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3GUBGEe.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v47/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3iUBGEe.woff2) format('wof
<html lang="pt-Br" data-critters-container=""><head><style data-merge-styles="true"></style><style data-merge-styles="true"></style><style data-merge-styles="true"></style><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<meta charset="utf-8">
<title>Anota AI - Gestor de cardápio</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, maximum-scale=1">
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
<style>@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v47/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3GUBGEe.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v47/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3iUBGEe.woff2) format('wof
@possebon
possebon / .traefik-cloudflare-tunnel
Created May 9, 2024 12:11 — forked from mattdy/.traefik-cloudflare-tunnel
Traefik on Docker Swarm accessed via Cloudflare Tunnel
Please see https://mattdyson.org/blog/2024/02/using-traefik-with-cloudflare-tunnels for a detailed write-up of this configuration
USE [msdb]
GO
/****** Object: Job [SQL Audit Logs to S3] Script Date: 9/3/2022 3:33:46 PM ******/
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
/****** Object: JobCategory [Database Maintenance] Script Date: 9/3/2022 3:33:46 PM ******/
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'Database Maintenance' AND category_class=1)
BEGIN
USE [master]
GO
/****** Object: Audit [LetsBank_Audit] Script Date: 9/3/2022 3:34:34 PM ******/
CREATE SERVER AUDIT [LetsBank_Audit]
TO FILE
( FILEPATH = N'F:\SQL Audit\'
,MAXSIZE = 1024 MB
,MAX_ROLLOVER_FILES = 10
,RESERVE_DISK_SPACE = ON
@possebon
possebon / rancher2ha_selfsigned_layer4lb.md
Created January 3, 2019 18:15 — forked from superseb/rancher2ha_selfsigned_layer4lb.md
Install Rancher 2.0 HA by using self signed certificates (+ intermediate) and Layer 4 Loadbalancer (TCP)

Install Rancher 2.0 HA by using self signed certificates (+ intermediate) and Layer 4 Loadbalancer (TCP)

Warning: the RKE install method is only supported up to v2.0.8!

This gist describes how to setup Rancher 2 HA, by using self signed certificates (with intermediate) and a Layer 4 Loadbalancer (TCP)

Requirements

  • Linux OS
  • OS Binaries

Keybase proof

I hereby claim:

  • I am possebon on github.
  • I am possebon (https://keybase.io/possebon) on keybase.
  • I have a public key ASBMk2Vnu8Cq8ZLJexvVRboJrhxXBtv2cOIZ8nts6eCqbwo

To claim this, I am signing this object: