-
Save is implied
npm config set save=true -
We want the exact version of the dependency
npm config set save-exact=true -
Add supported node version in package.json
{
"engines": {
Save is implied
npm config set save=true
We want the exact version of the dependency
npm config set save-exact=true
Add supported node version in package.json
{
"engines": {
| // Edit from http://blog.vjeux.com/2013/javascript/scroll-position-with-react.html | |
| componentDidMount() { | |
| const node = ReactDOM.findDOMNode(this); | |
| node.scrollTop = node.scrollHeight; | |
| } | |
| componentWillUpdate: function() { | |
| const node = this.getDOMNode(); | |
| this.shouldScrollBottom = node.scrollTop + node.offsetHeight === node.scrollHeight; | |
| }, |
Cut
yy on the linePaste
P or p to paste it
Today, it was a slow day at work. I had one ticket to solve and worked on it whole day. Good thing at the end of the day, I managed to create a pull request. Not reviewed though it just sits there building, waiting for reviewers.
After work I managed to run three rounds in my usual route. I started running again last week. First week, I did two rounds. Today I added one more round to that. I find that when I go back to running and I have not ran in a long time -- when I sweat I feel itchy. I'm sure it'll be the same for other people as well.
At the start of the year I did yoga in January, this month I planned to do yoga still and put in jogging in between. So that's three days of yoga and two days of jogging. I find that I can't do both. Something always gives. I noticed I am more inclined to do jogging over yoga. I think it is the general theme if you spread yourself too thin. You end up doing little bits of stuff here and there but not going deep into one. I should really put more focus on the stuff I wan
Today was smooth sailing for me @ work. Although I was not able to do my morning routine before going to work, I was pretty productive.
What morning routine?
So before going to work, I usually pass by the city library for (1) empty my bladder and (2) some reading. Currently, I'm reading a travel book Great Southern Land. It's a documentary by ABC that was turned into a book. It covers the things how Australia works starting from a bird's eye view. This is a book that really caught my interest. It's not something that I read in a blog post listing "must read books before you die". It's a book filled with breathtaking views of the Australian landscape. There are a lot of interesting features of the land that you might not see when travelling on land. This is not a travel book so the good, the bad, and the ugly is in here too.
This morning was a bit different because there were delays in the morning train. There was a car and train collision in one of the level crossings which caused a 20-minute delay across
I had new work today. Progress was slow but I got there eventually. Tomorrow, I expect to be more productive. I am doing React Native work now coming from web work yesterday. It's a bit of the same but different thing.
Today I had the chance to read another chapter of the book Great Southern Land. Still interesting but not as interesting as the first part of the book.
I had a late lunch. I went out and did my usual walk around the block. Today what a pleasant surprise when I chanced upon my Tita Ellen and Tita Cyn a few steps away from our building. They were ready to have lunch as well and looking for the Chinese restaurant that' been closed for ages.
Today I planned to go home early and run a few rounds in our neighborhood. Guess what? It never happened. Instead, I invited my wife to have dinner at that ramen place because I can't fight it anymore. I had to give in because it's been so long since my last visit there. Tell you what, it was worth it. Shujinko -- the place to eat ramen in Melbourne. If you
Yesterday was smooth sailing until the very last hour of the day. Jono came to me and was asking about an issue that's happening on prod. It's related to my stuff, and it wipes out the page. It's a very important page in the app. So, I screwed up again. This my third time to screw up the app in month. Three strikes. Usually, in a sporting game three strikes and you're out. I don't want to be out. I am doing my due dillegence to write all the tests, test the fucking thing manually, and I work closely with our QA to make sure these things don't happen when we ship it. But will all the pre-cautions taken, one scenario and it wipes out. How frustrating that is!
This was a new piece of work for me. I thought this was my saving grace after all the blunders I caused previously. It was not. I tried and failed again. What am I going to do to redeem myself? The issue that's causing it is already fixed in the upcoming release no action to do for me -- I was a release short of redeeming myself but it did not make it.
Q
Mostly daddy stuff: I woke up early to drop of my wife to work, prepared my kids to come with me to the little one's class which is in my wife's workplace as well. Helped the eldest shop for her backpack -- paid with her own money. Lunch was a bit iffy because we don't know where to eat and everybody's hungry but eventually we sorted it out.
Had an awesome siesta when we got home. When we woke up, it's time for church.
After church, we received an invite to hang out at a friends house. We don't have to cook at home, we went straight there. Great conversation over wine. It couldn't be more perfect. We arrived late and slept even later.
🏫 This is a full-on Monday at work. It really felt like a Friday when I'm ready to log out and run for cover. It was staging cut today. So in the afternoon they made a cut to staging to be a release candidate for tomorrow's prod release. My team found a minor bug relating to my feature -- I had to resolve it immediately to make the release candidate for tomorrow. My mind was set on other simpler tasks. But no, not today. I was offered much bigger and high pressure task to finish right before the day was ending.
My mind was set to leave early, have my PR merged in and work on the next PR. Well that did not happen, plus there are a few more comments in my PR that needs addressing. It'll take time to make it right and submit it to completion. Whew. These things happen, when things don't go according to plan you do the thing that's the most pressing -- needs your attention. Others can sit right behind you while they wait for their turn.
Lunch time was a good when I was still oblivious with the work that