Skip to content

Instantly share code, notes, and snippets.

View MM-coder's full-sized avatar
:shipit:
Hunting them bugs

Mauro M. MM-coder

:shipit:
Hunting them bugs
View GitHub Profile
@MM-coder
MM-coder / test_classes.py
Created December 16, 2023 21:00
Unit tests for the FeiraVirtual project
import os
import random
import re
from pathlib import Path
import pytest
import string
from classes import Utilizador, Avaliacao, Artigo, FeiraVirtual, Mercado
@MM-coder
MM-coder / codes.txt
Last active July 6, 2023 00:31
List of Airport ICAO codes scraped from old mate Wikipedia
List of Airport ICAO codes scraped from old mate Wikipedia
12FM
16LP
25LY
AGAF
AGAR
AGAT
AGBA
AGBT
AGEV
# Program to test time taken to return a user's password
import requests
from datetime import timedelta
import csv
base_url = ''
endpoint = ''
[ActionPlugins][1]
RightButton;NoModifier=org.kde.latte.contextmenu
[Containments][1]
activityId=
byPassWM=false
dockWindowBehavior=true
enableKWinEdges=true
formfactor=2
immutability=1
@MM-coder
MM-coder / map.go
Created August 12, 2020 17:02
Most efficent way I could find to iterate through a map in GO
package main
import (
"bytes"
"fmt"
)
func main() {
testMap := map[string]string {"Hello":"World", "World":"Hello"}
@MM-coder
MM-coder / stats.md
Last active July 31, 2020 18:44
My Github Stats

Mauro's Github Stats

@MM-coder
MM-coder / πŸ“Š Weekly development breakdown
Last active December 10, 2022 00:35
πŸ“Š Weekly development breakdown
Python 9 hrs 38 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 60.8%
HTML 3 hrs 27 mins β–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 21.8%
TypeScript 58 mins β–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 6.1%
JSON 30 mins β–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 3.2%
CSS 28 mins β–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 3.0%
@MM-coder
MM-coder / mcversions.md
Last active May 16, 2022 15:55
Temporary API documentation for MCversions

Get All Types

This endpoint retrieves all the different versions of a desired type, or if t is paper the build numbers.

HTTP Request GET https://mcversions.io/api/v1/versions/<t>

Query Parameters

Parameter Description
@MM-coder
MM-coder / keybase.md
Created March 30, 2020 21:41
Verification for keybase

Keybase proof

I hereby claim:

  • I am mm-coder on github.
  • I am maurom (https://keybase.io/maurom) on keybase.
  • I have a public key ASDXdK3MAGGLYWzR6V_igO5h7Prp2JymzdPXTGFOcDFO4Qo

To claim this, I am signing this object:

@MM-coder
MM-coder / email_signature.html
Last active February 23, 2020 17:46
My email signature, generated using mailspring
<table cellPadding="0" cellSpacing="0"><tbody><tr><td style="vertical-align:top"><img alt="" src="https://user-generated.getmailspring.com/asset/NTA1NWI2MzEtN2RlYi00OThhLWJlMTctNTM0MWE1ZGFlNzIzL3NpZy1sb2NhbC1jNjVjYzZlYy1kYTdkLnBuZw.png?t=1582479868320&amp;msw=249&amp;msh=249" width="130" height="130" style="max-width:200px;max-height:130px;margin-right:20px"/></td><td><div><strong>Mauro M.</strong><span style="color:gray;padding-left:15px">Head of software development</span></div><div style="font-size:0.9em;min-width:200px;max-width:400px;margin-top:4px;padding-top:4px"><div><div><a href="mailto:[email protected]">[email protected]</a></div><div></div><div><a href="https://maurom.dev/">https://maurom.dev/</a></div><div></div></div></div></td></tr></tbody></table>