Skip to content

Instantly share code, notes, and snippets.

View gabocze's full-sized avatar
🍃
leaves whirling on the wind, they go away and, somtimes they can return

Gabriel Czernikier gabocze

🍃
leaves whirling on the wind, they go away and, somtimes they can return
  • Buenos Aires
  • 14:23 (UTC -03:00)
View GitHub Profile
@gabocze
gabocze / sinon-fake.ts
Created February 7, 2023 10:56
Microscopic cheatsheet on Sinon fakes
import sinon from 'sinon'
class Palabra {
contarLetras(palabra: string) {
return palabra.length
}
}
const p = new Palabra()
console.log(p.contarLetras('ja'))
@gabocze
gabocze / Supermercado.md
Last active August 30, 2022 00:43
Lista de compras del supermercado
@gabocze
gabocze / keepass-entertext.pl
Last active October 4, 2019 04:25
Reads a txt file and taking its contents as a list of data, uses it to fill a Keepass database.
#!/usr/bin/env perl
# keepass-entertext.pl - Reads a txt file and taking its contents as a list of data, uses it to fill a Keepass database.
# Copyright 2019 Gabriel Czernikier
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,