Posts

Flutter.io Tutorials - Introduction & Setup

Image
Hello Friends, As Google launched flutter.io  for rapid cross-platform mobile app development. Let's start with some hands-on on it. What is flutter? It is an SDK, which supports cross-platform mobile app development that is same source code an compile and runs on Android and iOS as well. as flutter still in development (current version is 0.1.5),  It does not support 32 bit ARM devices. What differentiate from other cross-platform frameworks? Native OEM Native OEM is nothing but our native application framework like we write an android app in Java and iOS/iPhone apps in Objective-C. Native app creates widgets to communicate between widgets and platform services.   WebViews Initially, cross-platform app development is done using Javascript and WebViews like PhoneGap, jQuery Mobile, ionic etc. As you know (I hope) before Apple releases their iOS SDK they asked devs to use web apps to develop their app....

Hello World in Solidity Programming

Image
Hello Friends, After the completion of our installation  lets start with creating Hello World  program in Solidity. To start solidity we need to run first truffle command to initialize our basic app structure. $ truffle init This will create our basic app structure. I am using Visual Studio Code as IDE, you can use any IDE. Now let's go through the folder structure. contracts : contracts is the main folder where we will write our all contracts. migrations : migration is used to configure migration and deployment. test : test is folder used to write test cases for our smart contracts truffle-config.js: if you want to customize your truffle configuration then you can edit this file. truffle.js : its also used to configure truffle for development or production etc. Create the first file in contracts folder with name  HelloWorld.sol file Write down following code  : pragma solidity ^ 0 . 4 . 13 ; contra...

Introduction to Solidity a Smart Contracts

Image
Hello JS Rockstars, Source: Wikipedia As I am curious about blockchain and cryptocurrency. I want to get more details about cryptocurrency and technology stack behind this whole blockchain. So from my colleague, I got to know about Solidity so I want to get some hands-on on it. So I went through some sites and created my some sample contracts, as I already mentioned in my Introduction to blogspot post I am sharing my knowledge here only, I am not covering what is blockchain and cryptocurrancy as this are already covered by many sites, So I will start directly blockchain development and ethereum based smart contracts only with Solidity. What is Solidity : From Official Document, Solidity is a contract-oriented, high-level language for implementing smart contracts. It was influenced by C++, Python, and JavaScript and is designed to target the Ethereum Virtual Machine (EVM). Solidity is statically typed, supports inheritance, libraries and comp...

MacOS Git multi-user accounts, keychain cache

Hello Friends, As I have two different GitHub accounts one is office account and another is the personal account. So every time when I want to do some git commands that time I have to delete existing account from the keychain. Then add a new account, which is really frustrating so I did some research and finally able to add multiple accounts in the keychain. The reason behind it as when we use GitHub commands then our credentials are stored in cache and keychain so we don't require to type every time . following are the commands which we needs to be followed: To check your current credentials cached in keychain you can use the following command: $ git credential-osxkeychain get then press the enter button twice . Now come to the point : In the terminal enter the command: $ git config    --global --edit This will add open git config file in the terminal to edit If you haven't already and  If you want to open with other edito...

Introduction to My blog

Dear JavaScript enthusiasts, As developers, we face numerous challenges and obstacles on a daily basis. Often, we turn to online resources to find solutions and overcome these hurdles. However, as time passes, we tend to forget the exact steps we took, the specific websites we visited, and the helpful links we referenced. To address this issue, I have decided to create a personal repository here, where I can document my troubleshooting experiences. This repository goes beyond mere bookmarking, as it allows me to retain a comprehensive record of the solutions I have discovered. Moreover, it offers the opportunity for others to benefit from my experiences and find help in their own coding endeavors. I genuinely hope that this blog proves to be a valuable resource for all who come across it. Cheers!