Skip to content

Instantly share code, notes, and snippets.

View renatocfrancisco's full-sized avatar
:shipit:
still js

Renato C. Francisco renatocfrancisco

:shipit:
still js
View GitHub Profile
@rxaviers
rxaviers / gist:7360908
Last active May 18, 2024 09:55
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@digitaljhelms
digitaljhelms / gist:4287848
Last active May 17, 2024 09:50
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@Kartones
Kartones / postgres-cheatsheet.md
Last active May 16, 2024 12:40
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@vdonoladev
vdonoladev / Padrões de Commits.md
Created February 22, 2021 20:37
Padrões de Commits

📄
Padrões de commits

De acordo com a documentação do Convetional Commits, Commits Semânticos são uma convenção simples para ser utilizada nas mensagens de commit. Essa convenção define um conjunto de regras para criar um histórico de commit explícito, o que facilita a criação de ferramentas automatizadas.

Esses commits auxiliarão você e sua equipe a entenderem de forma facilitada quais alterações foram realizadas no trecho de código que foi commitado.

@rsperl
rsperl / nmap_examples.md
Last active February 16, 2024 02:13
nmap examples #snippet
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
@renatocfrancisco
renatocfrancisco / uninstall_all_pip_packages.bat
Last active August 16, 2023 15:56
listing installed global pip packages in a txt file and uninstalling all - github copilot
@echo off
REM Get a list of all globally installed packages
pip list --format=freeze > packages.txt
REM Uninstall each package one by one
for /f "delims=" %%i in (packages.txt) do (
pip uninstall -y %%i
)
@l-wagner
l-wagner / ecosystem.config.js
Created January 22, 2021 13:04
PM2 Ecosystem config example
// ============== PM2 ECOSYSTEM FILE =================
// /srv/www/pm2/ecosystem.config.js
// shared environment variables
const commonEnv = {
devEnv: {},
prodEnv: {
SHARED_SECRET: '123456',
ANOTHER_SHARED_SECRET: '123456',
NODE_ENV: 'PROD',
@aspose-com-gists
aspose-com-gists / csv-to-excel.py
Last active March 30, 2023 17:11
Convert CSV to Excel and Excel to CSV in Python
import jpype
import asposecells
jpype.startJVM()
from asposecells.api import Workbook, LoadOptions, SaveFormat
# Create CSV LoadOptions object
loadOptions = LoadOptions(FileFormatType.CSV)
# Create a Workbook object with CSV file's path and the loadOptions
workbook = Workbook("data.csv", loadOptions)
@anmolsukki
anmolsukki / Badges.md
Last active March 7, 2023 09:42
[ Badges ] Badges File