Skip to content

Instantly share code, notes, and snippets.

View cogumm's full-sized avatar
:electron:
CTO | Tech Leader | Senior Systems Analyst | Hybrid Remote

Gabriel Vilar cogumm

:electron:
CTO | Tech Leader | Senior Systems Analyst | Hybrid Remote
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*

Aliases for ProtonVPN!

How to use the official Linux beta app

Command Desciption
protonvpn-cli login [ProtonVPN username] Log in
protonvpn-cli connect (or protonvpn-cli c) Connect to VPN
protonvpn-cli disconnect (or protonvpn-cli d) Disconnect from VPN.
protonvpn-cli status (or protonvpn-cli s) See the connection status.
@cogumm
cogumm / .zshrc
Created June 11, 2020 22:36
My personal config from Oh My ZSH.
### Spaceship config
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
@cogumm
cogumm / AliasesNordVPN.md
Last active April 23, 2020 14:54
NordVPN Aliases

Aliases for NordVPN

Command Desciption
nordvpn login Log in
nordvpn c _%target%_ Connect to VPN, (_%target%_) to connect to specific servers
nordvpn d Disconnect from VPN.
nordvpn status See the connection status.
nordvpn set _%option%_ _%value%_

Padronização dos commits

➡️ Os commits seguirão um padrão adaptado para nós.

Todos os commits devem seguir de um prefixo.

Commit type Emoji
Initial commit 🎉 :tada:
Version tag 🔖 :bookmark:

Create a new repository on the command line:

echo "# exemple" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:USERNAME/yourrepository.git
git push -u origin main
@cogumm
cogumm / limparImpressaoUindolus.bat
Created March 29, 2019 13:11
Script limpador de spooler de impressão Uindolus
echo ################################################################
echo Script limpador de spooler de impressão
echo LEMBRE-SE DE EXECUTAR COMO ADMINISTRADOR
echo NÃO ME RESPONSABILIZO POR MAUS DANOS À MÁQUINA COM ESTE SCRIPT,
echo FAVOR UTILIZÁ-LO SE APENAS TIVER CERTEZA DO QUE ESTEJA FAZENDO.
echo ################################################################
echo Este script tem como objetivo limpar a fila de impressão do Uindolus
net stop spooler
echo spooler finalizado
cd %systemroot%\system32\spool\printers
@cogumm
cogumm / markdown-text-discord.md
Last active November 5, 2024 13:06 — forked from matthewzring/markdown-text-101.md
Guia de Markdown para o nosso amado Discord.

Markdown Text 101

Quer deixar o seu seu bate-papo de texto do Discord com um sabor diferente? Você está com sorte, pois este é um Guia de Markdown para o nosso amado Discord!. O Discord usa o Markdown, um sistema simples de formatação de texto simples que ajudará você a destacar suas frases. Veja como fazer isso! Apenas adicione alguns caráteres antes e depois de texto desejado para mudar o estilo! Vou te mostrar alguns exemplos ...

Menu:

import feedparser
def showRSS(bot, update):
rss_url = feedparser.parse("http://distrowatch.com/news/dwd.xml")
for i in range(1):
sendMessage(bot, update,
rss_url.entries[i].title + ": \n" +
rss_url.entries[i].link)
return rss_url