Steps to change site URL without visual login panel:
Author Archives: lucia
“Find Your Passion”
Kevin Kelly:
Don’t try to find your passion. Instead master some skill, interest, or knowledge that others find valuable. It almost doesn’t matter what it is at the start. You don’t have to love it, you just have to be the best at it. Once you master it, you’ll be rewarded with new opportunities that will allow you to move away from tasks you dislike and toward those that you enjoy. If you continue to optimise your mastery, you’ll eventually arrive at your passion.
It’s easy to love something when you’re good at it.
[mc4wp_form id=”1683″]
Reference: How to Git Stash
To save the uncommitted changes:
# Either without a name $ git stash # Or with a stash name: $ git stash save funny-stash
JavaScript Testing: How to Mock Static Variables
When we have $ctrl
created by $componentController
, how to mock static members of a class?
let $ctrl = $componentController("funny-component", null);
Weird Focus Behavior Involving Label
Today I had one of the weirdest bugs of the year. With kendo combobox, whenever a dropdown arrow is clicked, the dropdown would roll up immediately and page would automatically focus on another input.
Links: Front End Performance Optimisation
Where to find:
- Slides*: https://goo.gl/Bt6uA5
- Blog: http://luxiyalu.com
- Email: [email protected]
- Git: https://github.com/Luxiyalu
*All the references of the talk are in the Author’s note part under each slide.
You have to install development tools first.
That was a very vague error message when installing certain gems. What we need to do is:
Deferring Execution in JavaScript
For people who use Angular, calling $timeout(fn)
without a second parameter is a very familiar way of deferring execution.
But what about in plain JavaScript?
Angular Testing: Understanding $componentConstructor
Angular testing can be confusing. To make it less confusing, lets talk about a major part: $componentController
.