In a pot bring salt, sugar, water, and vinegar to a boil. Make sure the salt and sugar are completely dissolved.
Poke a small slit in the stem part of each pepper. Divide the garlic, peppercorns, chili flake, and peppers between two jars.
Pour the hot liquid over the peppers and allow to cool before refrigerating. Pickles will be ready in 5-7 days.