Activate Windows 8 when Receiving “DNS name does not exist” error

After installing a fresh version of Windows 8 Enterprise and adding it to our AD domain, I proceeded to active the copy, however I received the “DNS name does not exist” error when clicking activate. During the installation process I never entered a product key, however it appeared that one was showing on the activation… Continue reading Activate Windows 8 when Receiving “DNS name does not exist” error

Movember 2013

Last year saw a huge uptake in Movember in our office so this year I thought about taking park. Now I’m probably not the best person to grow a moustache as my facial hair is a little patchy at the best of time, however I thought why not, if enough people take part there could… Continue reading Movember 2013

K2 ServiceObject with File Property

Some code snippets to help FileProperty fpropData = new FileProperty(“FileData”, new MetaData(), String.Empty, String.Empty); fpropData.MetaData.DisplayName = “File Data”; fpropData.MetaData.Description = “File Data”; this.Properties.Add(fpropData); public static object ToFilePropertyValue(string propName, string filename, byte[] content) { return (new FileProperty(propName, new MetaData(), filename, Convert.ToBase64String(content))).Value; } dr[“File”] = Helper.ToFilePropertyValue(“File”, “foobar.dat”, {foobar byte[]});

Backup a MySQL Database Through SSH

1. Connect through SSH 2. Navigate to an accessible folder through FTP (eg “cd /var/www/vhosts/[sitename]) 3. Run the command “mysqldump –host localhost –user [username] –password [databasename] > [filename].sql 4. Enter password when prompted 5. View file in FTP viewer in folder and download