Skip to content

Instantly share code, notes, and snippets.

View GaNiziolek's full-sized avatar
🚀

Gabriel Niziolek GaNiziolek

🚀
View GitHub Profile
@GaNiziolek
GaNiziolek / newrelic_discord_webhook_template.md
Last active September 21, 2023 00:56
With this template you can use the webhook function of NewRelic Alerts to be send Discord messages when something occurred.

Put this on webhook template

{
	"content": "**__{{ state }}__: _{{ issueTitle }}_**\n{{ annotations.description.[0] }}\n\n**Priority**: {{ priority}}\n**Duration**: {{ issueDurationText }}\n**Triggered by**: {{ triggerEvent }}\n**Impacted Entities**:\n{{#each entitiesData.entities}} - {{this.name}}\n{{/each}}",
  "embeds": [{
    "title": "IssueId: {{issueId}}",
    "url": {{json issuePageUrl}}
  }]
}
@GaNiziolek
GaNiziolek / InstalaçãoDocker.md
Created October 17, 2022 23:37
Procedimento Instalação Docker
@GaNiziolek
GaNiziolek / alterarTamanhoParticaoUbuntuServer.md
Created October 17, 2022 16:19
Alterar tamanho da partição do Ubuntu Server 20.04
@GaNiziolek
GaNiziolek / get_columns_info.sql
Last active June 6, 2022 14:55
Postgresql get all columns info
SELECT
cols.table_catalog as database,
cols.table_schema as schema,
cols.table_name,
_table.description,
cols.column_name,
cols.is_nullable,
cols.data_type,
cols.character_maximum_length,
(