Angular | Watch an object or an array

Angular | Watch an object or an array

9 years ago, March 17, 2015

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

How to fix screen resolution problem of certain applications in Windows 8

How to fix screen resolution problem of certain applications in Windows 8

9 years ago, February 22, 2015

Problem The problem was, certain apps like my IDE phpStorm, would not use the actual resolution and degrades to lower resolution as if I have set my resolution to something less than optimal resolution of my screen. I have 1920×1080 screen on my laptop and the application would act like I have lower resolution so […]

Configure bluetooth module for arduino

Configure bluetooth module for arduino

9 years ago, January 19, 2015

Requirements: a. Arduino b. XBEE Shield c. Bluetooth Module To make the bluetooth module work: Follow these steps a. Upload the bare minimum sketch to the arduino. void setup() { } void loop() { } b. Connect only the XBEE shield (incl. Bluetooth module to arduino) c. Connect arduino to pc and run the serial […]

Apache2 on Ubuntu ignores sites-enabled conf (vhost config)

Apache2 on Ubuntu ignores sites-enabled conf (vhost config)

9 years ago, January 12, 2015

I am using Vagrant to host my local dev environment in Ubuntu. I found this issue, Apache2 on Ubuntu ignores sites-enabled *.conf After few tries figured out, you need to edit the default 000-default.conf file and comment out the configurations there or just delete the file.

AngularJS problem : Links cant load page from server but uses ng-route

AngularJS problem : Links cant load page from server but uses ng-route

9 years ago, December 12, 2014

If you are using ng-route and want to load the page from your server you need to add target=”_self” to your anchor tag. Example: <a href=”my/page” target=”_self”>LINK</a>

© 2024 Anil Maharjan