Few posts back I posted a method to convert a flat file into a tab-delimited file with notepad++. This post got a lot of good feedback and people were asking how to do the reverse conversion, from a CSV file (comma delimited) to a flat, fixed-width file.
This post is about an app I developed for this purpose. In this post, I’ll demonstrate how to create POST request on the Windows command line, or incorporate with a Batch file.
Have you ever left your computer on for doing some tasks like downloading, calculating, video processing or any other continuous task only to find out that windows decided to run an update and disrupted anything you were doing?
Well? that happened to me more than I wanted, so I looked for a creative solution for this problem.
I’ve been an Android developer pretty much since the inception of the operating system. I’ve programmed many apps, most of them for personal use and some for the benefit of the public. Every now and then, Google releases a new OS version, which in turn requires some changes and adaptations for the code and app.
Sometimes, we need to implement an external HTML code or specify HTML by design inside a WordPress page.
When we use the text editor of WordPress we have the option to do just that, but if we look closely on the HTML that is generated after the specific page is rendered, we can see some alteration to the code. Those alterations may cause a lot of problems if you build your design (CSS) by it. Usually, it comes to Ps that are added, page breaks or other unnecessary elements. Read more of a function tells WordPress to skip this parsing of the HTML and leave it intact.
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 32bit integers. On some controllers, the registers are assigned in 16-bit cells, and if you want to store anything larger than 65,535 you’ll need to convert it.
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 still ask the interviewees for other ways for the solution and putting extra constraints that can help guide them in either direction (maybe to check their creativity, or if they knew the question beforehand). One of the questions that fit this requirement is the “count the 1’s in the binary representation of an integer”.