Chop the vegetables into small pieces; you can cut them into different shapes but try to keep them of a similar size and thin. Place vegetables in a sterilized glass jar. Place smashed garlic, water, vinegar, sugar, spices, and salt in a pot. Stir with a spoon and bring to a boil. Pour the boiled liquid over the vegetables inside the glass jar. Allow to cool at room temperature, then pour the olive oil on top. Close the lid and turn the jar upside down to disperse the oil. Keep in the fridge for a minimum of 1 hour. This is a quick pickle, but the longer the vegetables are refrigerated, the more flavor they develop. Ideally, prep 1-2 days before serving.