Thursday, November 23, 2017

[Solution] /usr/bin/ld: cannot find -ludev

/usr/bin/ld: cannot find -ludev
sudo apt-get install libudev libudev-dev libudev-dev:i386

Wednesday, October 4, 2017

[.NET Core] Fix for errors CS0400 and CS0246 "The type or namespace name 'System' could not be found"

Tuesday, October 3, 2017

[C#] Encode and decode HTML strings



namespace Vurdalakov
{
    using System;

    public static class StringExtensions
    {
        public static String EncodeHtml(this String s)
        {
            return s.Replace("&", "&amp;").Replace("<", "&lt;").Replace(">", "&gt;").Replace("\"", "&quot;").Replace("'", "&apos;");
        }

        public static String DecodeHtml(this String s)
        {
            return s.Replace("&amp;", "&").Replace("&lt;", "<").Replace("&gt;", ">").Replace("&quot;", "\"").Replace("&apos;", "'");
        }
    }
}


Friday, May 5, 2017

[HowTo] Dump disk sectors

Wednesday, May 3, 2017

[HowTo] Enable VNC remote access to Ubuntu



How to enable VNC remote access to Ubuntu



How to enable VNC remote access to Ubuntu



How to enable VNC remote access to Ubuntu