I was following the Xamarin forms tutorial to integrate AdMob and following error came up No resource identifier found for attribute ‘configchanges’ in package ‘android’ No matter what I did and tried to find on the internet but could not find the fix. Finally I tried to look very closely and found a small mistake.… Read More »
Issue: I am compiling a solution with C++ and C files together. If I compile only C files, it worked but as soon as I added C++ files, it was complaining about C++11 features. Based on online forums, when I added “-std=c++11” under Visual Studio Project > Properties > Configuration Properties > C/C++ > Command… Read More »
I am using space in my username and when I tried to use CPPAN, it showed following error. You have spaces in the storage directory path. CPPAN could not work in this directory: ‘C:\Users\[USER NAME]\.cppan\storage’ Searching online did not yield any result and gradually found this link (https://github.com/cppan/cppan/blob/6412cba134147c5c8a5da424dd72ea62e779e4b1/doc/faq.md) which shows how to change storage directory… Read More »
If you would like to get the bounding box details of any font character using opentype.js, here is a working example. Dependency: JQuery Opentype.js FORTE.ttf font (or you can use any font) Make sure you make appropriate change to Url to load above mentioned resources from the following example.
Here are two ways to unstage individual staged file using Git GUI. Option 1 Select individual file under “Staged Changes” which you want to stage. You may use Shift or Ctrl keys to select those files. Once selected, click on “Commit” menu and select “Unstage From Commit” It will stage the selected files Option 2… Read More »
Here are two ways to stage individual unstaged file using Git GUI. Option 1 Select individual file under “Unstaged Changes” which you want to stage. You may use Shift or Ctrl keys to select those files. Once selected, click on “Commit” menu. Select “Stage To Commit” It will stage the selected files Option 2 Click… Read More »
If you need to pass the constant number or boolean values in UglifyJS –define option, it is very easy. The tricky part is passing the string constant. Here is a quick code snippet to show how to pass string constant. uglifyjs “test.js” –define STRCONST=’”hello is a const string”‘ –output “build.min.js” The correct sequence is single… Read More »
UglifyJS supports conditional compilation using the “–define” argument. Even though this option is good enough, it “looks” messy. The command prompt argument becomes too long and making an addition to the constant feels dreaded. Here is a quick way to use separate js file to define all your constants and use it in subsequent files.… Read More »
Here is a quick way to disable SuiteCRM email notification. Please note that the following option will disable all the notifications from all the modules and not only the selective modules. This is useful when you are the only one using the CRM and don’t want to be notified. This is tested on SuiteCRM version… Read More »
I could not UI to enable CDN in DNN (DotNetNuke) 9. I used SQL script in order to make a change. These settings are host level changes and affects all the portals. Once you make the change, you need to restart the application in order to make it effective.