Wednesday, November 14, 2018

DIY: Landscape at front of my house (Using Natural Grass)

While constructing the house itself, I've decided that front side of the house should be in greenish which would beautify the house and give a WOW factor to my house. After few months of house warming, we start to plant vegetable plants like pepper, brinjal, etc. But I'm not satisfied with that. Because intention of space allocated at front side of the house is to look good and more greenish. To make my dream in real, I've started to remove all the plants (though my dad was not happy).

Steps:

1. Bought Bangalore grass from local vendors. (Rs. 30 per Sq.ft.)
2. Poured natural fertilizer over the sand.
3. Flattened the sand surface.
4. Sprinkled the water and flattened again.
5. Paved the grass over the area one by one.
6. After paved, we have to sprinkle the water over the grass two times for two weeks until becomes greenish.
7. After that, one time water sprinkle in enough.
8. Continuous maintenance is required to maintain the landscape in greenish.

Photos:








Flutter: Installation and setup

Flutter is an open source framework (developed by Google) for building native mobile apps for Android and iOS using DART language. React Native (open source framework for building native mobile app for android and iOS using JS/TS language) is developed by Facebook.

Installation(for Windows):


1. Git
2. Powershell (Installed with Windows)
3. Java JDK
4. Android Studio (with AVD)
5. Visual Studio Code 
5. Flutter

Install the above softwares by clicking the link.

Run the  (flutter_console.bat) under flutter directory and run the below command which tells list of softwares required is been installed or not.

Android Studio Installation Error (Installer integrity check has failed): 
if you receive the error (Installer integrity check has failed) while installing the android studio using exe file, try to download RAR file and install.
Or
open the command prompt, run the exe file with switch like below.

C:\Users\ayyanar.jayabalan\Downloads\android-studio-ide-181.5056338-windows.exe /NCRC


flutter doctor

After installing the android studio, install flutter and dart plugin.






flutter doctor




Now you have installed all required softwares to start to work flutter.



Setup:

1. Setting up the JDK Path in environment variables.

2. Setting up the Flutter Path in environment variables.




    

Monday, November 12, 2018

Upgrade angular version from 6 to 7

To upgrade the angular version in your project, please use below commands to upgrade the angular version.


ng update @angular/cli
ng update @angular/core



Friday, November 09, 2018

Fix: TypeError: Cannot read property 'text' of undefined (while using karma-coverage-istanbul-reporter package in angular)

I was getting an below error while running the code coverage in angular project using karma-coverage and karma-coverage-istanbul-reporter packages.


ERROR:

TypeError: Cannot read property 'text' of undefined
    at {ApplicationPath}\node_modules\istanbul\lib\report\html.js:210:46


FIX:

Add below condition to existing if condition at the lines of 205, 236, 283 (node_modules\istanbul\lib\report\html.js)


&& structuredText[startLine] && structuredText[startLine].text



Line 205:
if (type === 'no' && structuredText[startLine] && structuredText[startLine].text) {

Line 236:
if (type === 'no' && structuredText[startLine] && structuredText[startLine].text) {

Line 283:
if (count === 0 && structuredText[startLine] && structuredText[startLine].text) {



Sunday, November 04, 2018

DIY: Paving granite footpath or walkway in your garden

Recently, I've started to do some of the household work by myself with the help of my family. One of the work is paving the granite footpath in garden to protect the grass. Please see the steps which we have followed to make it happen.

1. Bought the 2 X 1 ft. granite stone from granite shop.

2. Mark the area where we have to lay the stone using thread.


3. Peel off the grass as per the marking.


4. Pour the concrete mix and flattened.




5. Pour the liquefied cement  and lay the granite stone.


Thursday, November 01, 2018

FIX: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime

If you have received below error while running the angular application, please follow below steps to fix this error.


Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (67)


How to fix:

We have rebuild the node-sass package as support for current environment. Please run the below command to fix the above error.

npm rebuild node-sass