Skip to content

Instantly share code, notes, and snippets.

$ git checkout feature/my-feature
$ git rebase -i master
$ git checkout master
$ git merge --ff-only feature/my-feature
$ git push origin master
$ git branch -d feature/my-feature
$ git checkout feature/my-feature
$ git rebase -i master
$ git checkout master
$ git merge --no-ff feature/my-feature
$ git push origin master
$ git branch -d feature/my-feature
import os
meses = [
'enero','febrero','marzo','abril','mayo', 'junio', 'julio',
'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre',
]
resultados = []
for mes in meses:
read_file = pd.read_excel(os.path.join(path, mes, + ".xlsx"), "Hoja1")
@matiasherranz
matiasherranz / USstates_avg_latLong
Created February 25, 2022 12:20 — forked from meiqimichelle/USstates_avg_latLong
JSON of US states (full names) and their average lat/long
[
{
"state":"Alaska",
"latitude":61.3850,
"longitude":-152.2683
},
{
"state":"Alabama",
"latitude":32.7990,
"longitude":-86.8073
@matiasherranz
matiasherranz / openInNewTab.ts
Created February 9, 2023 15:18
Open in new tabb method for onClick callback.
export const openInNewTab = (url: string) => {
const newWindow = window.open(url, '_blank', 'noopener,noreferrer')
if (newWindow) newWindow.opener = null
}