Year 2020 has taught us many things but not everyone was listening to the lectures. We are living in constantly evolving world and no matter how much we want to standardize our lives and how much we hate changes they happen all the time. Last year really showed us we cannot control the future and…
Homebrew: How to start and stop background services
View image | gettyimages.com Anyone that has installed application running in the background from Homebrew, knows how to use launchctl that actually runs every application when the computer restarts. It is pretty straight forward task but most of the time you need to know the location of the .plist file that defines how to run it…
Stop procrastinating! How to prevent it.
Still trying to stop procrastinating? There are probably numerous days that you site behind the computer to do some research or get some work done and doing a short break to read some news or check social updates and as you done this you aren’t aware that time passes as you jump from one link to another…
AngularJS ngInclude directive and scope inheritance
ngInclude directive and scope There are many times when you want to include a html snippet code from another file but preserve the scope of it. It is usually when you have different form fields for the various objects and you want to have a global controller that oversees the updating of different forms. So if you want…
Extending Javascript objects with a help of AngularJS extend method
Multiple ways of extending javascript objects /** * One-way reference from subclass to superclass (instance) * Most of the time this is what you want. It should be done * before adding other methods to Subclass. */ ChildClass.prototype = new SuperClass(); /** * Two-way reference * Superclass will also get any Subclass methods added later….
Be that likable person
Become genuinely interested in other people. Smile. Remember that a person’s name is to that person the sweetest and most important sound in any language. Be a good listener. Encourage others to talk about themselves. Talk in terms of the other person’s interests. Make the other person feel important and do it sincerely. Smile, smile,…
AngularJS directive multiple element
How to get AngularJS directive multiple element You probably know there exists opening ng-repeat-start and finishing directive ng-repeat-end like: <ul> <li ng-repeat-start=”user in users”> {{user.firstName}} </li> <li ng-repeat-end> {{user.firstName}} </li> </ul> You would think it is a specially made directive that works that way but actually it is not. It is part of any directive so you…
How to record iPhone screen
To record iPhone screen has never been easier Developing great new iOS application requires not just a usable application, but also a great video presentation of it. How it works, basic usability tricks to make users want to get your new application which you spent numerous hours to make it perfect. If you are working…
Be a better person
Don’t criticize, condemn or complain Give honest and sincere appreciation Arouse in the other person an eager want
AngularJS and Ruby on Rails work together
Finding the best integration of AngularJS and Ruby on Rails Recently I got really excited with AngularJS so to make it work perfectly with Ruby on Rails there are some configurations needed. There are available blog posts on how to integrate it perfectly but somehow I wasn’t happy with the available preferences. Some offered to…