All posts by rmartin

Cabbage Curry

Spice mix:

  • 1 tsp smoked paprika
  • 1 tsp cumin
  • 1 tsp ground coriander
  • 1 tsp tumeric
  • 1 tsp black pepper
  • 1 tsp ground ginger

Cooking:

  • Heat up 2-3 tbsp of oil (e.g coconut oil) on medium heat
  • Fry 2 crushed garlic cloves in oil
  • Add spice mix and stir around for 2 minutes
  • Add 1 diced tomato, stir for 3 minutes
  • Add 1 can of rinsed beans stir for 2 minutes
  • Add vegetables (e.g. brocoli, red pepper, onion, zuchine), stir for 5 minutes
  • Add 1/2 cabbage head (stock removed, sliced)
  • Add 1/4 cup of water or less
  • Add salt to taste, ~3 tsp
  • Cover and simmer for 15minutes
  • Add ~1 cup of yoghurt, stir well and let cook another 5 minutes

Tzatziki

  • 1 cucumber
  • 1  package of Greek yogourt (500g)
  • 3-4 cloves of garlic – minced
  • ~1 tbsp pepper
  • 1/4 cup of fresh chopped dill
  • 1 1/2 tbsp lemon juice
  • salt

Cube the cucumber, sprinkle with some salt, and press it for ~30min to get the water out.

Process the cucumber coarsley. Mix in all the other ingredients and refrigerate overnight.

Ceviche

  • 1-2 pounds of cooked seafood (e.g. shrimps, scallops, squids)
  • 200ml of lime juice
  • 50ml of orange juice
  • 50ml lemon juice
  • handful of chopped cilantro
  • 2 chili pepper chopped finely
  • 1 small red onion cut into thin strip
  • salt

Mix all together, let rest in the fridge for at least 2 hours.

Meteor on Windows with standalone MongoDB

In this post I describe how to run Meteor on Windows with a standalone DB (rather than the one that runs by default from Meteor). This allows us to run an instance of MongoDB that can communicate with other computers.

  • Install Meteor for Windows
  • Install MongoDB Community edition for Windows
  • Open a command prompt, type ‘md /data/db’ (this directory is needed to store the database files)
  • Navigate to the directory where mongod.exe was installed (for me, this was ‘C:\Program Files\MongoDB\Server\3.2\bin’)
  • Type ‘mongod.exe’ to start the MongoDB server; the first time, this will prompt Windows Firewall to ask if you want to allow an exception (choose yes, keeping in mind that you are allowing any incoming connections to write to the db; you can limit this to private networks, and you can turn off the mongod when not using it)
  • Open another command prompt and type ‘setx MONGO_URL mongodb://localhost:27017/meteor’ – You should only need to do this once; it sets the MONGO_URL environment variable in the registry; Meteor will now use the new instance of MongoDB instead of starting its own, and will assume that everything is in a database called ‘meteor’.
  • Navigate to a meteor project, and start meteor – Note that it should not output a line relating to “Started MongoDB”, since mongodb is already running.
  • Meteor should now be using the database ‘meteor’ running on the mongodb that you started
  • You should now be able to connect to the MongoDB from another computer on the local network. For example, in python, the following will work (replace XXX with the correct IP):
  • #! /usr/bin/python
    from pymongo import MongoClient
    #Connect to the database (default for meteor)
    client = MongoClient('192.168.1.XXX',27017)
    dbs = client.database_names()
    print(dbs)
  • When you are done,  quit meteor, then quit the terminal running mongod.

Veggie burgers

  • 1 can chickpeas
  • 1 can beans
  • 1 onion
  • 2 eggs
  • 3 portobello mushrooms
  • ~3/4 cup of bread crumbs
  • 1 tbsp pureed garlic
  • 2 tbsp mustard
  • 1.5 tbsp cumin
  • smoked paprika
  • salt, pepper

Process the onion in a food processor, then add the chickpeas and process (but not too much). Remove from food processor. Process the mushrooms until they are almost a puree, then remove them. Process the beans, and then remove them. Mix everything together, make patties,  and cook in a well oiled frying pan on medium low, about 15-20min total. Makes about 12 burgers.

Bean salad

  • 2 cans of mixed beans
  • 2 tomatoes, diced
  • 2 peppers, diced
  • 1 onion, diced
  • 1 cucumber, diced
  • ~4 tbsp vinegar (e.g. cider vinegar)
  • ~4 tbsp oil
  • ~2 tbsp lime juice
  • sprinkle of smoked paprika
  • salt, pepper

Mix everything together in a bowl and store in the fridge!