Skip to content

Instantly share code, notes, and snippets.

View matagus's full-sized avatar
🐿️

Matías Agustín Méndez matagus

🐿️
View GitHub Profile
@matagus
matagus / GPLv3.md
Created February 23, 2024 00:24 — forked from kn9ts/GPLv3.md
GPLv3 explained

GPL3 LICENSE SYNOPSIS

TL;DR* Here's what the license entails:

1. Anyone can copy, modify and distribute this software.
2. You have to include the license and copyright notice with each and every distribution.
3. You can use this software privately.
4. You can use this software for commercial purposes.
5. If you dare build your business solely from this code, you risk open-sourcing the whole code base.
@matagus
matagus / make_dmg.sh
Created February 11, 2024 19:05 — forked from Kvnbbg/make_dmg.sh
Two steps to turn a Python file to a macOS installer
#!/bin/sh
# References
# https://www.pythonguis.com/tutorials/packaging-pyqt5-applications-pyinstaller-macos-dmg/
# https://medium.com/@jackhuang.wz/in-just-two-steps-you-can-turn-a-python-script-into-a-macos-application-installer-6e21bce2ee71
# ---------------------------------------
# Clean up previous builds
# ---------------------------------------
@matagus
matagus / 📚 Currently reading books (5/11)
Last active October 29, 2020 12:10
Books I'm currently reading
La conciencia uncida a la carne: ... ██████▌░░░░░░ 50%
La Peste ██▍░░░░░░░░░░ 19%
Diarios de bicicleta ░░░░░░░░░░░░░ 0%
Capital in the Twenty-First Century ▋░░░░░░░░░░░░ 5%
Mas brillante que el sol. Incursi... ██▍░░░░░░░░░░ 19%

Keybase proof

I hereby claim:

  • I am matagus on github.
  • I am matagus (https://keybase.io/matagus) on keybase.
  • I have a public key ASCXdq8H6Al1ebefA8rQNyr-abqnhkfpxKMDtWJcCDwnkwo

To claim this, I am signing this object:

@matagus
matagus / .gitconfig
Created December 7, 2017 21:34
put it in ~/.gitconfig
[user]
name = Agustin Mendez
email = [email protected]
[core]
editor = vim
[color "status"]
added = cyan
changed = green
@matagus
matagus / deis-multiplexer.py
Created October 9, 2017 18:02
Run a deis command for all your deis apps
import subprocess
import sys
if __name__ == "__main__":
p = subprocess.run(["deis", "apps"], stdout=subprocess.PIPE)
app_list = p.stdout.split()[2:]
cmd = ["deis"] + sys.argv[1:]
@matagus
matagus / 0readme.md
Created July 7, 2017 15:12 — forked from mdamien/0readme.md
404 link detector with scrapy

List all the broken links on your website

Requirements:

python3 and scrapy (pip install scrapy)

Usage

  • scrapy runspider -o items.csv -a site="https://yoursite.org" 1spider.py
  • python3 2format_results.py
@matagus
matagus / app.py
Created May 1, 2017 17:20
Monitoring a Python Falcon Framework application using NewRelic
import newrelic.agent
newrelic.agent.initialize('newrelic.ini')
api = application = newrelic.agent.WSGIApplicationWrapper(falcon.API())
@matagus
matagus / .python-version
Created March 13, 2017 13:17
How to hostand run Spotify's Luigi scheduler on Heroku or Deis
3.5.2

Keybase proof

I hereby claim:

  • I am matagus on github.
  • I am matagus (https://keybase.io/matagus) on keybase.
  • I have a public key whose fingerprint is C8EC 3904 FEC9 403D 8139 A9F0 A7EC 2E42 B6E9 2230

To claim this, I am signing this object: