If you ever had to work with controllers or microprocessors, you’ve probably come across the need to convert 2 cells of 16 bits numbers into a single 32-bit integer. On some controllers, the registers are…
Read article: Convert two short (16 bit) numbers into a single 32 bit integer in C# →
As I wrote here before, I do a lot of professional interviews, and I discovered that the best questions have more than one solution to them. While having an ideal solution to a problem, you can…
Read article: Count the 1’s in the binary representation of a decimal number →
Can you or can you not pass parameters to a view? Well, the short answer is no. A view is seen by the database (and should be considered by us) as a table.
Read article: Pass parameters to View in SQL or Oracle →
When trying to implement interfaces like WebAPI or REST over IIS it’s very common to come across some issues. One of them is the notorious “Method Not Allowed” HTTP error code 405.
Read article: Solve HTTP Code 405 – Method Not Allowed on IIS →
I’ve been working with Oracle’s SQL Developer for years through its various versions. This tool has become better over the years and improvements can be noticed from version to version. None the less there is…
Read article: How to fix Oracle SQL Developer IDE typing is super slow →
As discussed here before, OG:image tag can be a very useful tool to promote your site via social networks. I have found that the most sensitive scraper belongs to none other than Facebook.
Read article: Facebook does not recognize OG:image meta →
Even though Base64 encoding is not an encryption, sometimes it can be useful to pass data or parameters in a single string.
Read article: Use Base64 to pass parameters in URL with PHP →
Sharing links with WhatsApp has become a great way to drive visitors into your sites. A nice feature when a link is shared is a little preview of the link’s content, with a title, short…
Read article: Ideal Open Graph Image size for WhatsApp link share →
Recently I built a PHP script for dynamically downloading files, and I came across the need to provide the right Mime-Type for each file I set to download. I wrote a function in PHP that…
Read article: Get Mime-Type by file extension in PHP →
Recently I came across this issue with Visual Studio 2015, while developing a website. I used ScriptManager to load javaScript to my web application. When I inspected the code of the site I noticed a…
Read article: C# ASP.NET cdn reference appears without being written in the code →