Featured

How to create social media buttons on your website

This will be a quick tutorial for those who know how to create documents using HTML and CSS programming language. For those who do not and wish to learn, head over to W3schools to start for free, forever and always!

Back to the tutorial; social media buttons or icons are placed within a web page to encourage a handful of goals. For example, if you are starting an online store but you would like to give customers a chance to follow you on other platforms and exclusive offers, you can use your other forms as your pawns!

Have you ever seen these icons before on a website? Well here they are! Now lets figure out how to create them, where they come from and how to use them successfully.

How to add icons

In order to insert an icon(s), you first need to add the name of the icon class to any inline HTML element. The elements used most are the <i> and <span>.

The Walk-through

Step 1: Add HTML

To add the buttons/icons, you first need to add the icon library using the html “link” tag. In this tutorial, I will be using the Font Awesome library.

Example:
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css

Next we need to now add in the icons from the Font Awesome library we used above:

With step 1 now complete, we cannot forget to correctly style our new icons to be sure they fit perfectly. We style the icons using CSS.

Step 2: Add CSS

Example:

/* add your css */ / STYLE ALL YOUR ICONS */
 .fa {
     padding: 20px;
     font-size: 30px;
     width: 50px;
     text-align: center;
     text-decoration: none;
 }

/* add a hover effect optional */
.fa:hover  {
  opacity: 0.8;
}

/* Set a color for each icon */
.fa-facebook  {
  background: #3C5998;
  color: white;
}

Summary

This tutorial covered adding social media icons to your web page, where to get them, and how to style your icons. Hopefully you find this information well and useful as much as I did. If you have any requests please be sure to send an email for future tutorials!

Free Icon Libraries:

Font Awesome 5 Icons: fontawesome.com sign up to get a free code to use in your web pages. (NO DOWNLOADING/INSTALL REQUIRED)

Google Icons: Google Icons (No download/install required)

Full list of icons read the icons references page.

Featured

HowTo: Verify File Checksum in Linux

HowTo: Verify Files Checksum in Linux

Written by: L. Caine

  • Learn how to generate and verify files with MD5 Checksums in Linux – Rogue Exile Digital

Overview: This guide tells you about checksums, what md5 is, why it is used and how to use it to verify file/data integrity.


What is Checksum?

Well, technically this is a ‘digital fingerprint’ of a file/folder, if you will.

Let me break this down to a science for you:

A checksum is a datum used for the purpose of detecting malfunctions or errors that may have occurred in the process of the files transmission or during storage.

You can find checksums while downloading files from the internet/web, e.g. ISO images, Linux software packages and so on.

The most utilized method of checksums is to definitely make sure you haven’t just waited 20 minutes, only to download a corrupted file!

What is MD5?

A MD5 checksum is a 32 character hexadecimal number that is computed on a file.

Additional Information:

- MD5 consists of a digest size of 128 bits and a block size of 512 bits, with a series of: *MD2, MD4, MD5, MD6*.


MD5 Usage:>’MD5SUM’

There is an awesome tool (* for Linux, Windows and Mac OS X*), available for usage to facilitate the verification of data integrity of a file you’ve downloaded to your machine, and it’s been finely named ‘md5sum‘ !

Most Linux distros ship with the utility in the repositories already, so that is a possibility of not having to install it to your system BUT, it doesn’t hurt to check, right?

Open up a terminal and run the following command:

md5sum --version

You should get an output something like:

md5sum (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Ulrich Drepper, Scott Miller, and David Madore.  

All Linux distros should have the program already, but if you do not have the program, you will need to visit https://packages.ubuntu.com/coreutils and download the package file, and then install it with sudo dpkg -i <filename> where <filename> is the name of the package file. (MAKE SURE TO DOWNLOAD ALL THE REQUIRED DEPENDENCIES FIRST)

Alternative GUI: ‘Checksum Calculator’:

This is a free file checksum utility, that can support the most commonly used checksum algorithms, e.g. md5, crc32, sha1, sha2, and it also can also batch process multiple files.
The Checksum Calculator can be downloaded from here if you aren’t too fond of using a terminal.


How to Verify a File with MD5SUM:

Check/Verify the file:

  1. Open a terminal and cd to the directory of the downloaded file.

    Lucefer@ROGUE-EXILE-DIGITAL: ~$ cd Downloads

  2. Within the directory run the command:

    md5sum <downloaded-filename-here.iso>

Your output should look something like:

73ea6e4f3b1861efc1472b891dfa1255 downloaded-filename-here.iso

Now just compare the MD5 output to the MD5 that was either downloaded with the file or from the web page you downloaded the file from.

If the hashes MATCH, then hey, not so shabby, your file is certainly still intact!
If the hashes DON’T match, then you might want to remove it from your system, and find a new download or a new website to download that file from, because chances are, that there was a problem with either the download, a problem with the server you obtained the file from or, plain and simple: ” Its been tampered with my friend!!!”. THROW IT OUT!

The Wrap Up:

So all you have to do now is be sure that you ALWAYS check the MD5/SHA hash that is in pair with whatever file you are downloading, cause its better to be SAFE, than SORRY cause your system got destroyed! cya exiles, CYA! (cover your assets)

If you need additional support check out the links below!

External Links:

  1. Wikipedia’s Cryptographic Hash Entry
  2. VerifyIsoHowTo
  3. Additional Support-Ubuntu

Copyright © LC Customs 2019. All Rights Reserved.


How to install Homebrew using Ubuntu with Windows 10

Install Brew on Ubuntu with Windows10

The complete documentation with code

Windows Subsystem Linux is the helper in this tutorial and image!

Alright you crazies. I’m going to walk you through how to install Homebrew or “Brew” using your machine Windows.

**Before attempting this tutorial, please be sure that you follow the instructions correctly, as you nay cause unintended alterations to your computer. Save all files currently open as well.**

(more…)