Quantcast
Channel: cyotek.com Blog Summary Feed
Browsing all 559 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Retrieving font and text metrics using C#

In several of my applications, I need to be able to line up text, be it blocks of text using different fonts, or text containers of differing heights. As far as I'm aware, there isn't a way of doing...

View Article


Image may be NSFW.
Clik here to view.

Aligning Windows Forms custom controls to text baselines using C#

One of the nice things about the Visual Studio WinForms designers are the guidelines it draws onto design surfaces, aiding you in perfectly positioning your controls. These guidelines are known...

View Article


Image may be NSFW.
Clik here to view.

Displaying multi-page tiff files using the ImageBox control and C#

Earlier this week I received a support request from a user wanting to know if it was possible to display multi-page tiff files using the ImageBox control. As I haven't wrote anything about this control...

View Article

Error "DEP0001 : Unexpected Error: -1988945902" when deploying to Windows...

Last month, I foolishly upgraded my Lumia 630 to a 650 even though I had every intention of abandoning the Windows Mobile platform after watching Microsoft flounder without hope. However, after using...

View Article

FTP Server Easter Eggs

I've recently being working on integrating FTP into our CopyTools application. As a result of this, I have been staring at quite a lot at FTP logs as the various tests and processes do their work.This...

View Article


Tools we use - 2016 edition

Happy New Year! Once again it's that time for the list of software products I use throughout the year. Not much change again overall, but given what I see happening in the web developer world when even...

View Article

Image may be NSFW.
Clik here to view.

StartSSL code signing certificates are crippled

TL;DR: StartSSL code signing certificates are crippled and your binaries no longer trusted once they have expired, even if they have been counter signed.Two years ago I purchase a code signing...

View Article

Image may be NSFW.
Clik here to view.

Finding nearest colors using Euclidean distance

I've recently been updating our series on dithering to include ordered dithering. However, in order to fully demonstrate this I also updated the sample to include basic color quantizing with a fixed...

View Article


Image may be NSFW.
Clik here to view.

Using a Jenkins Pipeline to build and publish Nuget packages

I've mentioned elsewhere on this blog that our core products are built using standard batch files, which are part of the products source so they can be either build manually or from Jenkins. Over the...

View Article


Image may be NSFW.
Clik here to view.

Using parameters with Jenkins pipeline builds

After my first experiment in building and publishing our Nuget packages using Jenkins, I wasn't actually anticipating writing a follow up post. As it transpires however, I was unhappy with the level of...

View Article

Image may be NSFW.
Clik here to view.

Integrating NDepend with Jenkins

Apparently it's National Jenkins Month here at Cyotek as we seem to be writing about it quite a lot recently. Previously I explained how I got fed up of manually building and publishing Nuget package...

View Article

Image may be NSFW.
Clik here to view.

Adjusting the Jenkins Content Security Policy

One of the security features of Jenkins is to send Content Security Policy (CSP) headers which describes how certain resources can behave. The default policy blocks pretty much everything - no...

View Article

Image may be NSFW.
Clik here to view.

Integrating NDepend with Jenkins Freestyle Jobs

Previously, I've described on this blog how to do a basic integration of NDepend with Jenkins pipeline jobs. The disadvantages of the previous post was it was essentially part of a series tailored to...

View Article


Image may be NSFW.
Clik here to view.

Loading Microsoft RIFF Palette (pal) files with C#

At the start of 2014, I published an article describing how to read colour palettes from BBM/LBM files. At the end of that article I noted that Microsoft palette files used a similar format, but I...

View Article

Image may be NSFW.
Clik here to view.

Writing Microsoft RIFF Palette (pal) files with C#

A short follow up and sample program which demonstrates how to write a RIFF palette with ease.About RIFF PalettesI covered the basics of the RIFF specification and how to read palettes in my previous...

View Article


Image may be NSFW.
Clik here to view.

Using custom type converters with C# and YamlDotNet, part 1

One of our internal tools eschews XML or JSON configuration files in favour of something more human readable - YAML using YamlDotNet. For the most part the serialisation and deserialisation of YAML...

View Article

Using custom type converters with C# and YamlDotNet, part 2

Recently I discussed using type converters to perform custom serialization of types in YamlDotNet. In this post I'll concentrate on expanding the type converter to support deserialization as well.I'll...

View Article


Image may be NSFW.
Clik here to view.

Translating text with Azure cognitive services

Some time ago, I used the Bing Translator API to help create localization for some of our products. As Microsoft recently retired the Data Market used to provide this service it was high time to...

View Article

Image may be NSFW.
Clik here to view.

Restoring missing Authorization header when using PHP with Apache

I was recently looking into using our Mantis Bug Tracker instance to automatically generate product road-maps - now that we are actually starting to properly plan product updates and as keeping them up...

View Article

Image may be NSFW.
Clik here to view.

Announcing MantisSharp, a .NET client for using the MantisBT REST API

I've released a new open source project named MantisSharp, a simple .NET client for working with the recently introduced REST API for Mantis Bug Tracker.The library is just getting started and is...

View Article
Browsing all 559 articles
Browse latest View live