Fix Search Issue – Windows 10

Sometimes on trying the windows search, the results don’t come up and it shows as “fetching” indefinitely.  This can be quickly resolved by following the steps:-

  1. Open Task Manager
  2. Go to “Details” tab and look for “SearchUI.exe” under the “Name” column
  3. End this task by clicking on “End Task”.
  4. Now click on File >> Run New Task and type “searchUI.exe” and hit enter.
  5. The search should be working and you can test it out by pressing the “Windows” button and typing “mspaint” as search query and we should see the “msPaint App” in the results.

Good Luck.

Ref : http://www.whatibroke.com/2015/08/10/windows-10-search-not-working/

Change FullCalendar background color

1. Change day background color:

2.  Add box shadow to events

3. Style time and days:

4. Change calendar background color:

Ref:- http://www.whatibroke.com/2013/01/01/change-current-day-color-jquery-fullcalendar/

Creating an Object interface that accepts any property name.

If we want to a typescript definition for an Object that accepts any property value.  For example, the the $stateParams Object in AngularJS UI Router, we can work with the following declaration for the interface.

 

Interface for an Array of Objects

To create an Interface that is an array of object, we first create an interface of the Object and than extend it as an Array.

 

Ref : http://stackoverflow.com/a/25470775/4742733

HTML – Entities

[table caption=”HTML Entities”]

Result, Description, Entity Name,Entity Number
,non-breaking space, ,  
<,less than,&lt;,&#60;,

>,greater than,&gt;,&#62;
& ,&amp;,&#38;
¢,cent,&cent;,&#162;
£,pound,&pound;,&#163;
¥,yen,&yen;,&#165;
€,euro,&euro;,&#8364;
©,copyright,&copy;,&#169;
®,registered trademark,&reg;,&#174;

[/table]

Quick List: Bower Packages – AngularJS Dependencies

A quick list for frequently installed Bower dependencies and its respective dependency module name.

[table sort=”desc,asc”]

#,Bower Installation,Dependency Name

1,bower install –save angular-ui-router,ui.router

2,bower install –save angular-material,ngMaterial

3,bower install –save angular-animate,ngAnimate

4,bower install –save angular-messages,ngMessages

[/table]

Authenticated Redirects

When a user visits our app, we want them to go directly to their dashboard if they are already signed-in.  I’m working with AngularJS and Firebase so I worked with this recipe for accomplishing this task:

 

 

Ref: http://stackoverflow.com/a/27215254/4742733

Customs Links for Front Page >> Featured Pages

After trying for some time to add custom links to “Home Feature Page one” and being unable to do so, I could find a solution to trick the Customizr Theme into creating “Featured Pages” for the Front Page.  Broken down in a few steps this is what we need to do:

 

Step 1

Activate the Customizer Child Theme  to easily set up a child theme for Customizr or create a child theme manually.  Now, in the functions.php  file, add this snippet of code (ref).

 

 

 

Step 2

Now, create “dummy pages” for each Featured Page.  I am calling them “dummy” because they themselves will not contain any content in them.  However, the title should be something which you want as the heading for the featured page since the title will appear on the front page.  Get the postId for this page.

YouTube Video for finding the postId for a page

 

Step 3

Finally, add the post ID  and its corresponding link  in the code snippet you pasted in the functions.php  file.

 

[fa class=”fa-flag”]  You should now have custom links in Featured Page section of the Front Page.

References

WordPress support on this https://wordpress.org/support/topic/how-to-link-home-feature-page-to-a-category

Customizer Child Theme http://docs.presscustomizr.com/article/35-how-to-customize-the-customizr-wordpress-theme

Code Snippet http://presscustomizr.com/snippet/setting-custom-links-featured-pages-customizr/