Posts

Spicy Mango sauce

· Cuisine

(variation on a theme)

  • 1 tablespoon olive oil
  • 1/4 red onion, diced
  • some jalapeño or other spicy stuff, finely diced
  • 1 mango, ripe, shredded (food processor or very finely diced)
  • some maple syrup for sweetness
  • 4 tablespoons rice or cider vinegar
  • (optional) some fish sauce (instead of salt)

Heat in small pot, sauté the onions. Add the rest, simmer (10-15 minutes). Strain.

Drizzle over scallops or serve as dipping sauce with fish.

Local repository maintenance (openSUSE/Ubuntu)

· Computers

In Ubuntu:
cd /location/of/repo sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
then configure
/etc/apt/sources.list.d/local.list: deb file:/location/of/repo/ /
or
/etc/apt/sources.list.d/local.list: deb http://myserver/location/of/repo/ /

In openSUSE:
cd /location/of/rpm/repo createrepo .
and then
sudo zypper sa http://myserver/location/of/rpm/repo My_Local
In both cases, there are ways to crypto-sign the repositories, but probably optional if only accessible locally.

Speed tests on mobile devices

· Computers, N800, S60

Using the newer speedtest at http://i.dslr.net/iphone_speedtest.html , I clocked the Nokia N95-3 using its native browser and the Nokia N800 using the latest native browser and Fennec, using Wifi on my home network:

  • N95, native: 1803 kbps
  • N800, native: 4660 kbps
  • N800, Fennec: 4100 kbps
  • PC (for comparison): 6225 kbps

The N800 and N95 comparison is interesting, since they use very similar CPUs.

Secure and convenient file sharing between (Linux) computers (sorry Windows, Symbian)

· Computers · 1 comment

This is a quick hack, but it works like a charm (although its utility might be debated, since you can achieve the same functionality with SSHFS):

  1. have the Dropbox daemon running.
  2. Create a directory “secure” within the Dropbox-synced folder. This will hold your encrypted data
  3. Create a mountpoint outside of the Dropbox-synced folder.
  4. Then run ’encfs /home/$user/Dropbox/secure /home/$user/decrypted'

This will yield encrypted data at rest on Dropbox. The data is already encrypted in transit to Dropbox, but it is not quite clear if it is encrypted at rest on the Dropbox servers.

∼ Continue Reading ∼