Meet The Author

I'm Aritra Sarkar, An Engineer,currently living in Kolkata, West Bengal, India.You can also find me in HindiDost

Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

Thursday, 26 October 2017

Home PagePrint Story

3 Easy Ways to Free Up Space in Ubuntu Without Bricking Your Computer

For the last three months, I am using Ubuntu as the primary operating system of my computer. Repeated crashing of my Windows OS and hardware failure in my HP Pavilion Laptop forced me to try Ubuntu, and from the very same day, I am in love with this Open Source Software.

Courtesy: ubuntu.com

In the initial stage, I thought of using Ubuntu as my secondary OS, so I allocated only 20GB of the hard drive for the OS but now I am in love with it. So as the days gone by my Ubuntu OS space is getting short. So I searched for methods to FREE UP SPACE from my OS so that I can use easily. So here I tried the below mentioned three ways to clean up or free up space on Ubuntu without damaging your computer OS or bricking your PC.

1. Cleaning of the APT Cache.

sudo apt-get clean

To clean up the APT Cache you have to enter the below-mentioned code in your terminal.

 sudo apt-get clean

After that, it will ask for your password. Type the password and hit enter. Now your APT Cache will get cleared.

Prior to that you see the size of your APT Cache by typing the code
du -sh /var/cache/apt/archives

 


2. Uninstall Unnecessary Apps and Games or Softwares.

Softwares take a lot of space in OS and there might be some of the apps or software which you might have used it ones and forget it.  So these take unnecessary space. So you can remove them from your OS and clean up your pc.


sudo apt-get autoremove

To remove packages that no longer required use the code provided below.
sudo apt-get autoremove

 3. Removing Old Kernels

If you really want to clean the space then without thinking of anything just clean the old unused kernels. This code will remove the old unused kernels so freeing up a lot of space.

sudo apt-get autoremove --purge

So these are the codes which will help you out in the cleaning of your Ubuntu and will give you a smoother process.

sudo apt-get autoremove --purge


Apart from that one can use system cleaners but this will again add a place on your hard drive.

So hoping that this post will help you out.

Signing Off.

Bye.





Saturday, 13 June 2015

Home PagePrint Story

HTML code for Flickr images-imagecodr.org


Flickr hosts millions of images that are licensed under a Creative Commons license or are in the public domain (Flickr Commons). Depending on the license, you may use the images on your private or commercial webpage, or can make changes to it. Often, you are in a great need for some pictures to freshen up your webpage and would like to include one of these images.

If you want to do this, there are quite a lot of steps necessary: 
Make sure you understood the license correctly 
Get the correct HTML code for the IMG tag 
Link the image back to the Flickr photo page Give the author of the image proper credits (Attribution) 
Link to the Flickr profile of the author 
Link to the license the image is licensed under 

The solution 
With ImageCodr.org, there is no need to do all this manually, you simply enter in the URL of the picture page (as seen in your browser) you are interested in and ImageCodr.org will generate the ready to use HTML code. It will also display a brief and easy license summary, so you don't get in legal trouble because you missed something.

Friday, 20 February 2015

Home PagePrint Story

Learning Programming Language Free-codecademy.com


codecademy
Codecademy.com is an online interactive platform that offers free coding classes in six different programming languages which includes PythonPHPjQueryJavaScript, and Ruby, as well as markup languages HTML and CSS.

code


The site provides individual profile for each individual who logged in. My favourite is Facebook log in. Site offers feedback, badges for completing exercises .Also it keeps track of number of days a programmer learnt and scores etc. Forums help when someone stucked in any part or lesson. Very dynamic and addictive site.