Symbols used to represent functions

utility 22 June 2009 | 0 Comments

I was looking for some standard symbols to represent the Control key and the Alt key, and couldn’t find one until I came across ISO/IEC 9995-7. Because I had much trouble finding a free copy of the document on the ’Net, I have made a table of the symbols and their functions below. I have [...]

Tagged in , , , , , ,

Implementing futures in C#

Uncategorized 13 February 2007 | 6 Comments

Why? I was bored, and it didn’t seem to have been done before, so here’s some Future action in C#. The Code using System; using System.IO; using System.Reflection; using System.Threading;   public class Future<T> { public delegate R FutureDelegate<R>(); public Future (FutureDelegate<T> del) { Del = del; Result = del.BeginInvoke(null,null); } private FutureDelegate<T> Del; private [...]

Tagged in , , , ,

Using OpenDNS servers with bind9 easily

Uncategorized 9 October 2006 | 1 Comment

The OpenDNS FAQ purports to have a solution to this problem, but it does something obscure to a file I don’t have on my system. So I quickly checked the man page and came up with this: /etc/bind/named.conf.options //Add this somewhere inside the options{}; section… forward only; forwarders { //OpenDNS 208.67.222.222; 208.67.220.220; };

Tagged in , , , , ,

Easier local DNS cache

Uncategorized 9 October 2006 | 1 Comment

After a while pdnsd stopped working for me, and try as I might I can’t fix it. So I purged pdnsd and found an easier method, with no configuration this time!apt-get install bind9 resolvconf

Tagged in , , , , ,