Skip to content

Instantly share code, notes, and snippets.

View glauber-md's full-sized avatar

Glauber M. Dantas glauber-md

View GitHub Profile
#!/usr/bin/env python
# Allocates space on disk by creating a dull file for testing purposes
f = open("/tmp/testfile.bin", "wb")
size = 10 * 1024 * 1024
f.write("\0" * size)
f.close()
# Crédito, Débito e Pré-pago
^(431274|506717|506718|506733|506739|506741|506742|506743|506774|506776|506778|509004|509005|509006|509007|509008|509009|509013|509020|509021|509022|509023|509024|509025|509026|509027|509028|509029|509031|509033|509035|509036|509037|509038|509039|509040|509041|509042|509043|509044|509045|509046|509047|509048|509049|509050|509051|509052|509053|509064|509077|509078|509079|509080|636297|451416|506722|506734|506735|506736|509003|509010|509011|509030|509065|509073|627780|401178|401179|438935|457393|457631|457632|504175|506720|506721|506724|506725|506726|506727|506728|506729|506730|506731|506732|506740|506744|506745|506746|506747|506748|506753|506775|506777|509000|509001|509002|509066|509067|509068|509069|509072|509074|509076|509081|509082|509083|636368|506707|506708|506715|506719|506750|506751|506752|509012|509014|509015|509016|509017|509018|509019|509032|509034|509054|509055|509056|509057|509058|509059|509060|509061|509062|509063|509070|509071|509075|509084|509[0-8][0-9][0-9]|6500[0-