Social Icons

Wednesday, February 13, 2019

SPLIT LARGE FILES INTO SMALLER PARTS & MERGE : FOR EASY MIGRATION in LINUX SYSTEMS

1.    Routine troubleshooting in system handling gives us a way to explore and try new options.Recently tried a new way to migrate large files(around ~17 GB in my case here ). Although there are easier options available by simply copying in a external device,but in my case external devices were not allowed so attempted to split the large file into 3 GB size files and then finally could merge them....and could also verify the hash....and it was absolutely right...sharing few screen shots :

2.    The entire thing of splitting and merging gets over in simple two commands of SPLIT & CAT

 > split -b file.name
 > cat x* > file.name

3.   I have a .vdi virtual image file which is approx 16 GB in size.The file details are seen in the screen shot below :


Here ..before I go for the split...I have taken the hash of the same to compare it later after i merge the split parts...to check the originality of files and I get the hash of the file as bb867749cf4c0325abe145a0998e3b04

 

In the screen shot below I use the split command,which is inbuilt to UBUNTU and typically all Linux systems....I split the file in 3GB parts...

 

This screen shot shows the watch screen shot of the populating split parts...


 This screen shot shows the watch screen shot of the populating split parts...


 and here i get the final .vdi file as well m able to match the hash as same ie bb867749cf4c0325abe145a0998e3b04


Saturday, February 02, 2019

Test Ether Faucet : "Hello world" kind SMART CONTRACT

1.       Smart Contracts are self-executing contractual states, stored on the blockchain, which nobody controls and therefore everyone can trust.Continuing ahead with the earlier post wherein we created few test ethers from the ropsten test network and then transferred few back to create some transactions.In this post we move further and create a small smart contract.

First move to https://faucet.metamask.io/

Once you connect the same with your account,your will find an open code by default.Since just the beginning,we simply delete and create a fresh new page to insert the contract code in as seen below :

 Blank page as seen below :



Find the code of the file faucet.sol

 copy the code...and save the file as faucet.sol
 code pasted

 Now the time to RUN
 Do a small change...amend the solidity program version like I have done to 5.1 and then also it asks to amend public to external
 Followed by submit
 Now time to deploy the same....
 











Powered By Blogger