Asynchronous JSON Downloader and Serializer class for C#

When deploying apps utilising data from third-party APIs you will often find yourself dealing with downloading and parsing data in JSON. In .NET, a popular choice for manipulating JSON data is Json.NET, which comes with all the facilities needed for dealing with JSON data right out of the box. With the introduction of the async and await asynchronous modifiers in...

More

C# string palindrome check

Cool observation Morpheus, but what exactly is a palindrome? For people unfamiliar with this term, a quick google search defines it as: a word, phrase, or sequence that reads the same backwards as forwards, e.g. “madam” or “nurses run”. The definition is pretty self explanatory. Now, let’s think of an algorithm to check if a given string is a palindrome...

More

Startup Weekend: Tips From A Contestant’s Perspective

Two months ago, I attended a Startup Weekend event for the first time. It also happened to be the first time that this event was being held in Cyprus. It was evident from the first moment that the organizing team had spent numerous man-hours  and resources to make this event an amazing experience, and they definitely succeeded at doing so....

More

#RedditThursdays – The how & why of heroin addiction

However, you owe these drugs back what they delivered to you. While browsing around on reddit I stumbled upon an IAmA held by a heroin addict, obviously revolving around heroin addiction. A user asked “what does it feel like to do heroin?“. The response was beautifully elaborated and well thought out, vividly portraying both sides of the coin. Check it...

More

How to change WordPress’s default email address and site name

While messing around on a website built in WordPress, I noticed that whenever your WordPress installation emails you, the email address is of the type wordpress@yourdomain.com (in my example it would be wordpress@constantinosorphanides.com) and the sender’s name would be set to “WordPress”. This was quite annoying and I could not find any straightforward solutions to replacing the default email address...

More

VB.NET ControlChars class for C#

Do you miss the so-useful ControlChars class of VB.NET in Visual C#? I know I do. Can we use it without having to import the Microsoft.VisualBasic namespace in our project? No problem, we’ll create a class ourselves to mimic it’s functionality. Instructions Right click your project’s solution Select “Add” followed by “New Item…” Click on “Class”, name your class ControlChars.cs...

More

Wazapp: When communities take matters in their own hands

Some time ago, I created a petition asking WhatsApp Inc. to bring WhatsApp to the Nokia N9, the first (and last) mobile phone running MeeGo-Harmattan (now discontinued by Nokia). The petition was signed by more than 14000 people, with blogs such as MyNokiaBlog (shout out to @MFaroTusino for the support), Nokia For Us, MeeGoExperts, and N9 Apps backing it up,...

More

How to fix WP Resume’s Section ordering and styling

I’ve been recently looking for a plugin to publish my CV in WordPress. I decided to try out WP Resume (version 2.5.4). This plugin is indeed the best out there, providing full customisability (it comes preloaded with a custom template which you can modify if you wish to do so), the ability to export your CV in plain text or...

More