porges

Tag: Reference

Symbols used to represent functions

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 [...]

Implementing futures in C#

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 [...]

Using OpenDNS servers with bind9 easily

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; };

Easier local DNS cache

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