At my current work, we are trying to migrate the vue2 project to use composition API. One question that came up from my co-worker is can we still mock the composition function easily like what we did for services classes. That is a very good question, but I don't see anything that could block us to mock it. First of all, the class is just syntax sugar for functions in JS. Secondly, the Vue composition function is just a regular JS factory function that returns a bunch of Vue specifically stuff like refs, etc.
From what I research on the…
Previously at work I created our own SasS deployment management tool. One pain problem in this project is running kubectl command inside the container. By that time, time for the project is limited, I have to hack this part up by installing gcloud into the project container and authenticate with GCP at container boot time. Now I finally got some time to do some search on how to do it right. This post is my summary of the process:
Well, unfortunately we still need to use gcloud do authenticate for the first time to setup in order to make the…
This post is the wrap up of my talk at WinnipegJS meetup #6.
In this talk, I’m going to talk about reactivity system in vue. But what is reactivity?
To Me, reactivity simply means when one state changed, the side effect of it get updated automatically.
If I explain it in mathematical definition, for example we have a equation that y = x + 1, x is our independent variable and y is our dependent variable. Why y is called dependent variable? Well because its value depends on value of x!
A well known example of reactivity system is spreadsheet.
Groph is my new personal project to study big data analysis.
tencent qq group leak data around 2012.
sp_attach_single_file_db @dbname='GroupData5_Data' . @physname='[path to your data set folder]\GroupData5_Data.MDF'
"room_src": "http://rpi …
for some reason in chrome 65 the position sticky element with a z-index will covered by its sibling element on scroll.
I didn’t find any real solution to fix it but the following hack do the trick:
Passion Driven Developer