Your Cybersecurity 101 Guide to Home and Business
As technology continues to evolve and we spend more time on our computers and cell phones, we not only have more convenience but also more of a threat from cybercriminals that want to steal your data and your identity. If you are a business owner or a home user, you must be careful, or you could easily fall for a cybercrime scam. Here at the ADMFactory, we know about tech and security and the importance of it, and we have some common-sense tips and advice for securing your devices.
Sending emails with Golang
To send an email directly from Golang you can use the package smtp
which implements the Simple Mail Transfer
Protocol (SMTP) as defined in RFC 5321. You also need a mail server, for this tutorial will use the Gmail mail server.
Install and use firewalld on Ubuntu
Firewalld is one of the Linux firewall management tool and it is available on the in the Ubuntu's default repositories, therefore it is available to
be installed from these repositories using the apt packaging system
.
Switch case statements in Golang
The switch statement is an easier way to have a sequence of if-else statements. In Golang you don't need to have break
at the end of
each case, it breaks implicitly. Also the golang switch statement work on values of any type.
For loop examples in Golang
How to write a for
loop using Golang programming language. Similar with other programing languages, the basic for
loop has three components separated by semicolons.
Abstract keyword in Java
The abstract keyword is used in Java for abstraction. The abstraction is the process of selecting data and displaying only the relevant details to the object. If helps to reduce the programing complexity and the efort.