Installing Chrome / Chromium on Kali Linux (plus tutorial on editing sources.list)

Chromium BrowserSo you’ve been wanting to ditch Iceweasel (Firefox) on you Kali Linux Distro right?So how about using Chrome / Chromium for a change? Worry not, you can easily switch or use both browsers in Kali Linux. All you have to do is add the official Debian repository to sources.list install and configure chromium. Sounds pretty easy right? Well sort of. Of course there will be some hiccups while installing Chromium (on Kali Linux) along the way that is why I decided to make this post in order to help fellow newb users (like us) survive installing that friggin popular browser in Kali Linux.

UPDATE: Turns out you don’t have to edit the source.list to install Chromium. I have tried installing Chromium from a fresh install of Kali Linux. You could just skip editing the source list and go directly to installing Chromium using the terminal. However, I will leave the source list tutorial in the post for future reference.

Continue reading

Copy vs Hard Link vs Soft (Symbolic) Link

Copy vs Hard Link vs Soft LinkI was trying hard to understand the meaning of links in the Linux world. Based on what I have read, there are two types of links – symbolic (soft) link and hard links. Soft links are pointers to a file while hard links are like linked copies of a file. Wait. Did I just write copy? Confusing right? Why bother doing hard links when you can just copy and paste files from one directory to another? Don’t worry I was also confused about this topic before but a quick Google search gave me a clear answer from an Arch Linux community member Dusty. He stated that in:

Copy:

  • You have two different versions of the file.
  • If you edit one, the other one stays the same.
  • If you delete one, the other one stays there, but it may not be identical if it was edited.
  • Twice as much disk space used (two different files).

Hard Link:

  • You have one file with two different filenames.
  • If you edit one, it gets edited in all filename locations.
  • If you delete one, it still exists in other places.
  • Only one file on disk.

Soft Link:

  • You have one file with one filename and a pointer to that file with the other filename.
  • If you edit the link, its really editing the original file.
  • If you delete the file, the link is broken.
  • If you remove the link, the file stays in place.
  • Only one file on disk.

So basically we need to:

  • Copy if we need a duplicate of the file which is independent of the other file.
  • Do a hard link if we need a file that is a linked very hard to the original file (all contents of the file will be edited whenever we edit one file and the link will stay even if we move the original file to a separate location) and wanted to avoid different versions (of the file) and space eating duplicates.
  • Do a soft (symbolic) link if we wanted a shortcut to the file.

And that’s it! the main differences between Copy, Hard and Soft Link. Hope we all learned something new in this post!

References:

Re: BlueStacks: Play Android Games on your PC!

Blue StacksIf you have been using BlueStacks on your computer for a while, I think this is the right time to update your installation. Why? Because I updated my BlueStacks installation and the performance difference is astonishing. It’s almost running Android apps on your computer at full speed! So if you haven’t touched your Bluestacks installation, now is the right time to update. Head over here to download the installer. Enjoy playing!

Still don’t know what is BlueStacks? You can find my post about it over here.

Quick Format vs. Normal Format? Which one should I choose?

Format Disk Window

Format Disk Window

This is a common question in which a quick Google search returned vast many results. However, I don’t usually like new information being shove into my face like a thick slice of cake so I decided to make a list describing what are the key differences of the two methods of formatting an external storage.

Basically the need to reformat things arose because my budget Android phone is excessively notifying me about numerous mounts and unexpected unmounts of my SD card which is kinda weird if you ask me since the SD card slot is located underneath the battery compartment and is not loose. After some searches I have found over Google, I have discovered that it is a pretty common problem amongst Android users and a quick fix is to reformat the SD card. However, after numerous retries of reformatting the SD card (I have tried using Windows and the built-in format feature of Android phones), the problem still persists. So I dug deeper. Turns out I should have unticked the Quick Format option in Windows whenever I have to reformat the SD card. But why? Well these are different answers I have found over the internet:

Quick Format, what does it do?

  • Fast formatting
  • Format removes files from the partition, but does not scan the disk for bad sectors
  • File recovery program could recover lost files
  • Its like taking the table of contents out of the book. The information stays there until the pages (old data) is replaced by a different page (new data)
  • Could take 3-5 minutes

Normal Format

  • Full and slower formatting
  • Files are removed from the volume that you are formatting and the hard disk is scanned for bad sectors
  • Does everything a Quick Format do and on recent versions (Windows Vista, 7), they perform a rewrite pass over the entire drive which adds a level of security and gives your drive a fresh start for new data
  • Could take hours

Basically what I really need is for Windows to repair the bad sectors of the SD card. I am not quite sure if this will work since the card is still formatting (I know its taking too long. Arrgh). ***I will update this post later!

In conclusion, I advise that whenever you are going to reuse a card or you have a card that is malfunctioning, you should do a normal format on it instead of a quick format. Though it take longer, it will repair the bad sectors which could be the culprit of corrupted data on your cards. However if you wanted to use your brand new card and is convinced that it won’t have any bad sectors on it (since its brand new), you should use quick format instead.

References:

 

Cropping Images: Quick Tips for Clean, Polished Photographs

Nicko Vargas:

A good read on cropping those images for added effect on the viewer!

Originally posted on The Daily Post:

Hey, Daily Posters! For those of you who haven’t heard, we’re running our Zero to Hero challenge this month: 30 days of assignments to give you a solid blogging foundation (or to reintroduce tasks you might have skipped when you first started blogging). So, be sure to check it out — in today’s task, participants are asked to publish a post with at least one image, so today’s tutorial on cropping images might be helpful.

In our Photography 101 series, Leanne Cole talked about image editing in her Photoshop tutorial, covering tasks like straightening, cropping, and spot-correcting. Since cropping is a fairly simple yet effective way to improve a photograph, let’s talk a bit more about how you can cut and frame your images.

When I’m out with my iPhone or camera, I don’t always have time to carefully compose a shot, and if you sift through my image…

View original 617 more words

Can’t Hold Us – One of the best song cover of Pentatonix!

I was listening to the songs of Pentatonix when I stumbled to this song. A very good cover of the song Can’t Hold Us and its on a Capella (meaning all sounds that you will hear are from the natural voices of the members). To know more about them, visit their website at Pentatonix.com or on Wikipedia. Enjoy!

Elementary OS: Editing the Grub Bootloader

The one single factor why I did not want to move from Linux Mint XFCE to Elementary OS is the fact that I could not edit its default bootloader. I have tried adding the PPA from Daniel Richter for Grub-Customizer but for some reason it did not work (because I could not fetch the file in his PPA). So after spending some of my time over Xubuntu (Ubuntu under XFCE) and Debian XFCE, I finally moved on to Elementary OS.

 

Installing Grub-Customizer

 

First, open the terminal and type:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

Then after confirming the addition of the repository, type:

sudo apt-get update

and

sudo apt-get install grub-customizer

After that you are free to use the grub-customizer app!

 

Editing Default Grub Boot Entry

 

After installing Grub-Customizer, changing the default boot entry will be easier. You won’t be bothering with the command line function (though it is very important that one should learn this) and will be only presented with a graphical user interface.

Grub Customizer

  1. Open the Grub-Customizer
  2. Click the OS entry you wanted to boot first
  3. Click save change (1st icon on the left most part of the app)

Then after you have restarted, the default boot entry will be the OS on the top of the list (in my case my Windows 7)! Enjoy!