4/1/2018

Visual Studio Code: Customize find/search match highlight color

 To customize the highlight color of the find matches in visual studio code go to: File > Preferences > Settings > User Settings and add following to workbench.colorCustomizations and choose the colors. “workbench.colorCustomizations”: { “editor.findMatchBackground”:”#6f7700″, “editor.findMatchHighlightBackground”:”#833d03″ }

AWS CloudWatch log Lambda console logs
8/16/2017

AWS CloudWatch log Lambda console logs

Hi there, I was trying out AWS for couple of days and wrapping my head around Lambda and CloudWatch. I was not able to see the logs from my Lambda function in Cloudwatch. I looked for the solutions online and in AWS docs but could not find anything helpful but later discovered that I forgot […]

Drupal commerce add image to Cart or Wishlist
1/23/2017

Drupal commerce add image to Cart or Wishlist

You can add image to the cart’s item listing as well as wishlist listing. To do that you will need to edit the the view and add a new relation and then add the product image field. You may want to rearrange the field as you want.

2/15/2016

CSS targetting for IE 10+ excluding Edge

Use the following media query to target your css particularly for IE10+ browsers @media all and (min-width: 64em) and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10+ CSS styles go here */ }

Angular | Watch an object or an array
3/17/2015

Angular | Watch an object or an array

  $scope.$watch(‘objectOrArray’,function(newVal, oldVal){ // Do Something },true);  

© 2023 Anil Maharjan