smilax:: Notes [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   

[Bedstraw] *smilax*
 
[Mega-Changes]
[Mega-Calendar]

Notes

  • IETF jabber -- http://www.ietf.org/internet-drafts/draft-ietf-xmpp-core-22.txt

  • http://www.edge.org/
  • http://www.sci-con.org/
  • http://www.unixprogram.com/images/all.html
  • http://www.unixprogram.com/
  • MIT-LCS-TR-205.pdf

  • from http://sakima.ivy.net/~carton/academia/java_languageoftomorrow.html --
  • The_Chicken_of_Tomorrow.html (Java, Language of Tomorrow)

  • http://www.cs.auckland.ac.nz/~pgut001/ Peter Gutmann, Professional Paranoid
  • http://www.cl.cam.ac.uk/users/rja14/ Ross Anderson BLOG

    [ Sorry, all guestbooks disabled temporarily due to rampant spam :(   ]

    
                    internal static string CleanFileName( string s )
                    {
                            System.Text.StringBuilder z= new System.Text.StringBuilder();
                            foreach (char c in s)
                            {
                                    if (System.Char.IsLetterOrDigit(c))
                                    {
                                            z.Append(System.Char.ToLower(c));
                                    }
                                    else
                                    {
                                            //z.Append('%');
                                            z.AppendFormat("%{0:X2}", (int)c);
                                    }
                            }
                            return z.ToString();
                    }
    
    
    #if DEBUG
            [TestFixture] public class PersonChatModelTests
            {
                    [Test] public void TestCleanFileName_ToLower()
                    {
                            NUnit.Framework.Assert.AreEqual(
                                    "message2earth",
                                    PersonChatModel.CleanFileName("Message2Earth")
                                    );
                    }
    
                    [Test] public void TestCleanFileName_HexEscapes()
                    {
                            NUnit.Framework.Assert.AreEqual(
                                    "earth%20people%21joe%40milky%2Dway%2Egal",
                                    PersonChatModel.CleanFileName("earth people!joe@milky-way.GAL")
                                    );
                    }
            }
    #endif
    
  • (last modified 2006-04-18)       [Login]
    (No back references.)