Minify Javascript with C#
The code below compresses and minifies javascript files. Minification is not the same as obfuscation. Minification removes all whitespace , comments and needless characters so that the end result is...
View ArticleMinify Javascript with Python
The code below compresses and minifies javascript files. Minification is not the same as obfuscation. Minification removes all whitespace , comments and needless characters so that the end result is...
View ArticleHow to take a screenshot with Python
This is a small platform-independent python script to take a screenshot of the entire screen. The code is in Python 2.7 and requires the wxPython library which is available in all platforms. By...
View ArticleJQuery issue in removing items in a dropdown
If you have a very large dropdown in an html page – say a few thousand items, and you want to clear all of them, then using jQuery .empty() function is very slow. In most...
View ArticleEasy Face Detection using OpenCV and Python
A lot of applications and websites incorporate face detection features , specially social network sites and photo/image databases. Using OpenCV, it is very easy to detect faces within images or even...
View ArticleRegistering DLL files in Windows 64 bit
If the DLL is 32 bit: Copy the DLL to C:\Windows\SysWoW64\ In an elevated command prompt: %windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\namedll.dll if the DLL is 64 bit: Copy the DLL to...
View ArticleWriting PHP Extensions – Part 6 Adding a Class to your Extension
See Part 5 Here We are now going to look at how to create a C++ class to encapsulate our extension code. This is useful if you want to group similar functions or methods in...
View ArticleVisual Studio – Edit Menu Tips & Tricks
For those who use Visual Studio (VS) on a regular basis, they know that VS has hundreds of options and features but most people only use a small subset of them on a regular basis....
View ArticleMinify CSS with C#
The code below compresses and minifies CSS files. Minification is not the same as obfuscation. Minification removes all whitespace , comments and needless characters so that the end result is much...
View ArticleWhy Learning to Program Is Difficult
I remember a few years back, I happened to come across an advertisement of a reputed computer training academy in USA, which specialized in teaching PHP. The course cost a few thousand dollars and it...
View ArticleIE version detection in Javascript
Detection of the newer versions of IE is much more messy than before. Since IE uses the Trident rendering engine, each IE version uses a [...]
View ArticleMinify Javascript with C#
The code below compresses and minifies javascript files. Minification is not the same as obfuscation. Minification removes all whitespace , comments and needless characters so [...]
View ArticleMinify Javascript with Python
The code below compresses and minifies javascript files. Minification is not the same as obfuscation. Minification removes all whitespace , comments and needless characters so [...]
View ArticleA Speech Translation mashup in less than 5 hours
The Web Speech API is a little known framework, which has been developed by Google a couple of years back. It is a very good [...]
View Article13 – YouTube Data API – Captions – download function
This is article 13 of the YouTube API With PHP series. Download a caption track of a Video. The caption track is returned in its [...]
View Article14 – YouTube Data API – Captions – delete function
This is article 14 of the YouTube API With PHP series. The delete call deletes a specified Caption track. The Request URL is DELETE https://www.googleapis.com/youtube/v3/captions/ [...]
View Article15 – YouTube Data API – Channel Banners
This is article 15 of the YouTube API With PHP series. A Channel Banner is the image which shows up the Channel homepage in the [...]
View Article16 – YouTube Data API – Channels – list function
This is article 16 of the YouTube API With PHP series. Channels are where videos are posted. Every YouTube user gets a default channel. A [...]
View Article17 – YouTube Data API – Channels – update function
This is article 17 of the YouTube API With PHP series. The update function allows you to make changes in the Channel resource data. Since [...]
View Article18 – YouTube Data API – Channel Sections – list function
This is article 18 of the YouTube API With PHP series. A ChannelSection resource contains information about a set of videos that a channel has [...]
View Article