-
MEI
- Não precisa de contador [source][1]
- até 60k / ano
- $49 / mês ($44 INSS + $5 ISS)
- [Cartilha com Cuidados do MEI][6]
-
Microempresa (ME)
-
<= R$ 360 K / ano
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numsites=3 | |
all: invoices | |
search-results.json: | |
googler --count ${numsites} --exact --noprompt 'intitle:”index of” nfe xml' --json > $@ | |
sites.txt: search-results.json | |
< search-results.json jq ".[]|.url" | sed 's/"//g' > $@ | |
invoices: sites.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
import datetime | |
import hashlib | |
import random | |
import string | |
import sys | |
from contextlib import suppress | |
random.seed(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
import sys | |
def pprint_specfile(path, filters): | |
record_fmt = '{r[name]}: {r[label]}' | |
field_fmt = ' {f[order]}-{f[name]}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zipfile | |
from io import BytesIO | |
def zipwalk(current_file, curr_path=''): | |
"""Recursively walks into a zipped file tree while yielding non-zipped | |
files content. | |
""" | |
data = BytesIO(current_file.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psycopg2 | |
from itertools import chain, permutations | |
from graphviz import Digraph | |
DB_SETTINGS = dict( | |
host='localhost', | |
database='database_name', | |
user='user', | |
password='*****', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rows | |
from collections import Counter | |
base_svg = '/path/to/drawing.svg' | |
base_name = 'Fulano de Tal e Coisa' | |
participants_table = rows.import_from_csv('/path/to/pyse-participantes.csv') | |
with open(base_svg) as f: | |
svg = f.read() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import sys | |
import yaml | |
from bs4 import BeautifulSoup | |
field_types = { | |
'Branco(s)': None, | |
'Zero(s)': None, | |
'R$': 'decimal', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype plugin indent on | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
syntax on | |
set t_Co=256 | |
colorscheme badwolf | |
map <F7> :tabp<CR> |