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
@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
)
@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)
@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.

@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',
@stephensanwo
stephensanwo / Python Cheatsheet.md
Last active May 25, 2022 15:51
Python Comprehensive Cheatsheet
@anmolsukki
anmolsukki / Badges.md
Last active March 7, 2023 09:42
[ Badges ] Badges File
@illuzian
illuzian / quick_reference.pq
Last active February 11, 2022 17:54
Power BI M/Power Query Reference
/*
Copyright 2020 Anthony Hawkes
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@eduardo-mior
eduardo-mior / Lista de Órgãos Emissores
Last active November 11, 2024 20:04
Lista completa de órgãos emissores de documentos de identificação.
ABNC - Academia Brasileira de Neurocirurgia
AGU - Advocacia-Geral da União
ANAC - Agência Nacional de Aviação Civil
CAER - Clube de Aeronáutica
CAU - Conselho de Arquitetura e Urbanismo
CBM - Corpo de Bombeiro Militar
CFA - Conselho Federal Administração
CFB - Conselho Federal de Biblioteconomia
CFBIO - Conselho Federal de Biologia
CFBM - Conselho Federal de Biomedicina
@idleberg
idleberg / scoop.md
Last active August 28, 2024 17:09
Scoop Aliases

Common aliases for the scoop package manager

# Install app
scoop alias add i 'scoop install $args[0]' 'Install app'
scoop alias add add 'scoop install $args[0]' 'Install app'

# Uninstall app
scoop alias add rm 'scoop uninstall $args[0]' 'Uninstall an app'
scoop alias add remove 'scoop uninstall $args[0]' 'Uninstall an app'
@rsperl
rsperl / nmap_examples.md
Last active August 28, 2024 07:35
nmap examples #snippet