Twitter

Hi @factuursturennl, mooie interface, toffe features; met name het inboeken van crediteuren en de btw-overzichtjes!… https://t.co/16qWn4UoBc

2 months ago

Follow

Nice insights on crowd funding: https://t.co/obxkW0C9nj 😼

3 months ago

Follow

Rainbow CSV for #VSCode : simple and elegant 👍🌈 https://t.co/LDEpaO4TEB

3 months ago

Follow

Need finer control over your screen brightness? There a #PowerShell script for that: https://t.co/uUCyIaN6j6

3 months ago

Follow

Categories

Category: .NET

.NET

Fixing IE Quirks Mode in ASP.Net

Quirks mode refers to a technique used by some web browsers for the sake of maintaining backward compatibility with web pages designed for older browsers, instead of strictly complying with W3C and IETF standards in standards mode. Here’s how to force IE into submission by adding a DLL to ASP.Net.

.NET

How to scrape a photo from a Twitter Photo URL with C#

Twitter uses its url shortener to place photo’s in Tweets. I’ve tried processing these URLs in the browser, but cross site scripting measures prevented me from processing the result with jQuery.

I decided to resolve it in C# (as I’m using ASP.Net). The following script leverages a WebClient and a regular expression to extract the photo URL from the shortened URL. This code could be added to a handler or a webservice that can be called from script.