just another web log

10 Jan 2011 22:18
I need a branching non binary Tree structure in C# using mono.
After googling for a while, it seems you are expected to role your own, but then I noticed the System.Xml.Linq and the fact I could use the XML data classes to do the simple Tree work I needed.
using System;
using System.Xml.Linq;

would not compile :(
error CS0234: The type or namespace name `Linq' does not exist in the namespace `System.Xml'. Are you missing an assembly reference?
but how do you add a reference to command line project ?
gmcs -r:System.Xml.Linq.dll yourcode.cs
simple when you know how :)
10 Jan 2011 19:08
For switch port ident

# ping all IP address in class C
for i in 192.168.11.{1..255}; do ping -n 1 $i; done
# now arp table is full, display it (will not show machines that have not be previously accessed, i.e. not responding to ping)
arp -a
loading results, please wait loading animateloading animateloading animate
[More tags]
rss feed



flog archives

This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk
In fact I'm not responsible for anything ever, so there!

[Pay4Foss banner long]