Encrypt and Decrypt a File Using GPG Command on Linux

Samual Sam
Updated on 22-Oct-2019 13:07:07

6K+ Views

There are many choices on hand to secure your data. However, GPG provides the additional benefit to encrypting your data on a priority basis and transfers them securely over the internet. This article explains about – How to Encrypt and Decrypt a file using GPG command on Linux.To get more information about GPG, use the following command –$ gpg -hThe sample output should be like this –gpg (GnuPG) 1.4.20 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO ... Read More

Database Wars: MSSQL Server, Oracle PL/SQL, and MySQL

Samual Sam
Updated on 22-Oct-2019 12:58:21

286 Views

With so many databases in the market, the mind wars have begun and it is the right time to understand the difference and importance of top 3 relational databases in the market – Microsoft SQL Server, Oracle PL/SQL, and MySQL. The relational database management systems have currently become the backbone of the industry and with so many options available, it is difficult to figure out which one to choose.The relational database management systems was introduced in 1980’s. This article is focussing on exploring the history and features of three popular RDBMS in the industry: Microsoft SQL Server, Oracle, and MySQL. ... Read More

Best Way to Compress and Extract Files Using the tar Command on Linux

Samual Sam
Updated on 22-Oct-2019 12:55:41

652 Views

Do you frequently compress and extract files on Linux/Ubuntu? Have you heard about.tar extension? Then this article is for you to learn about compress and extract files using the tar command with examples.What is .tar?In computing, tar is an application utility for collecting many records into one archive file, most likely known as a tarball, for distribution or backup functions .Tar was at the beginning developed in the early days of Unix for the intent of backing up records to tape-based storage. It used to be later formalized as a part of the POSIX standard.To get more information about tar, ... Read More

Pen Computing

Samual Sam
Updated on 22-Oct-2019 12:41:27

535 Views

Everyone might be aware on – How big the computer was, when it was introduced in early 1960s. People always say that, it was a room-sized machine which produced enormous amount of heat. Portability wasn’t possible with that room-sized machine, and of course it was introduced in the era where we didn’t have proper transportation.And now, we find a lot of changes with the size of the computing devices. Computing devices had reduced from the room to palm. Portability of computing machine has become easier than the transportation of human beings. Continuous research on the nanotechnology and semi-conductors are the ... Read More

Tools to Check Disk Partitions and Usage in Linux

Chandu yadav
Updated on 22-Oct-2019 12:38:12

531 Views

Are you working as a system admin, then you should know these tools to manage disk space. This article explains about how to check Linux Disk Partitions and Usage in Linux.FdiskFdisk is a text based utility. By utilizing fdisk, you can create a brand new partition, delete the present partition, or exchange existing partition.To get the more information about fdisk, use the following command –$ fdiskThe sample out should be like this –Usage: fdisk [options] change partition table fdisk [options] -l [] list partition table(s) Display or manipulate a disk partition table. Options: -b, --sector-size       ... Read More

Minimize Total Number of Teddies to be Distributed in C++

Narendra Kumar
Updated on 22-Oct-2019 12:23:51

135 Views

Problem statementGiven N number of students and an array which represent the mark obtained by students. School has dicided to give them teddy as a price. Hoever, school wants to save money, so they to minimize the total number of teddies to be distrubuted by imposing following constrain −All students must get atleast one teddyIf two students are sitting next to each other then student with the higher marks must get moreIf two students have same marks then they are allowed to get different number of teddiesExampleLet us suppose there are 3 students and marks obtained are represented in array ... Read More

Why Mini PCs Failed to Attract Customers

Samual Sam
Updated on 22-Oct-2019 12:22:08

382 Views

Mini-PCs have been around for more than two years in India, but still, they are not very much accepted in any part of the country. Although there are a lot more numbers in laptops, but this simply does not make the mini-PC’s powerful. One has to understand, how to use it in the right way, especially people who want a PC but are planning for a low budget one should definitely go for it.The best part is that, those little stick PCs are also called Mini-PCs, I am sure all the gamers might be acquainted with this. For example, if ... Read More

Minimize the Sum of Squares of Sum of n-2 Paired Formed by n Numbers in C++

Narendra Kumar
Updated on 22-Oct-2019 12:16:10

141 Views

Problem statementGiven an array of n elements. The task is to create n/2 pairs in such a way that sum of squares of n/2 pairs is minimal.ExampleIf given array is −arr[] = {5, 10, 7, 4} then minimum sum of squares is 340 if we create pairs as (4, 10) and ( 5, 7)Algorithm1. Sort the array 2. Take two variables which point to start and end index of an array 3. Calulate sum as follows:    sum = arr[start] + arr[end];    sum = sum * sum; 4. Repeate this procedure till start < end and increment minSum as ... Read More

Minimization of ER Diagram

Narendra Kumar
Updated on 22-Oct-2019 12:13:03

2K+ Views

Problem statementER diagram is pictorial representation of shows various tables and relations amongst them. ER diagram we can reduce the number of database.One to one cardinalityLet us consider below diagram with one to one cardinality −Above ER diagram represents 3 entities −Employee entity has 2 attributes namely emp_name. emp_id is the primary keyCompany entity has 2 attributes namely cmp_name. cmp_id is the primary keyPrimary key of Work entity can be emp_id or cmp_idWe cannot combine 3 tables into single one can either merge Work into Employee or Company. minimum 2 tables are required in one to one cardinality scenario.One to ... Read More

Minimax Algorithm with Alpha-Beta Pruning in C++

Narendra Kumar
Updated on 22-Oct-2019 12:09:07

3K+ Views

DescriptionAplha-Beta pruning is a optimization technique used in minimax algorithm. The idea benind this algorithm is cut off the branches of game tree which need not to be evaluated as better move exists already.This algorithm introduces two new fields −Alpha − This is best value(maximum) that maximizer player can guaratee at current level or its above levelBeta − This is the best value(minimum) that minimizer player can guaratee at the current level or its above level.ExampleIf game tree is −arr [] = {13, 8, 24, -5, 23, 15, -14, -20}then optimal value will be 13 if maximizer plays firstAlgorithm1. Start ... Read More

Advertisements