Blog
This is the blog section. It has two categories: News and Releases.
Files in these directories will be listed in reverse chronological order.
How to Locate and Edit Hosts File on a Mac Using Terminal
Wednesday, June 14, 2023 in macOS & iOS
Categories:
2 minute read
The hosts file in an operating system is used to convert domain names to IP addresses. Users can enter their hosts files and go to the IP addresses they define themselves, instead of replies from the DNS server. Mac users can find this file in the …
How to reboot network card from Linux command line?
Wednesday, June 14, 2023 in Linux
Categories:
less than a minute
You may need to reboot your network card when there is a connection problem in your Linux operating system or when you change the IP settings. You do not need to restart your computer or server to do this. You can turn your network card off and on …
Android Studio Dimension Units dp and sp
Friday, March 11, 2022 in Android
Categories:
less than a minute
dp The unit for margins and other distances in the UI is density-independent pixels (dp). It’s like centimeters or inches, but for distances on a screen. Android translates this value to the appropriate number of real pixels for each device. As …
View Binding with Activities in an Android Project
Wednesday, March 02, 2022 in Android
Categories:
less than a minute
View binding is a feature that allows you to more easily write code that interacts with views. Once view binding is enabled in a module, it generates a binding class for each XML layout file present in that module. An instance of a binding class …
How to move the layout up when the soft keyboard is shown Android?
Tuesday, March 01, 2022 in Android
Categories:
less than a minute
Sometimes, you need to change the layout when the soft keyboard appeared on the screen. You can fix this by adding a line of code into the AndroidManifest.xml file within the relevant activity section. android:windowSoftInputMode="adjustResize"``` …
Adding Upward Navigation Arrow
Tuesday, March 01, 2022 in Android
Categories:
less than a minute
In software for Android, except for the main activity, you will need to add the UP button for the user navigation. You can display the UP button in the action bar by adding the necessary codes to the AndroidManifest.xml file of your Project. In our …
Linux Mint 20.3 Una Released
Monday, February 28, 2022 in News
Categories:
less than a minute
Linux Mint 20.3 is a long term support release which will be supported until 2025. It comes with updated software and brings refinements and many new features to make your desktop experience more comfortable. At the time of this writing, Linux mint …
Checking data type with when() example
Monday, February 28, 2022 in Kotlin
Categories:
less than a minute
In this short note, you can see an example of when() usage with data type. The type of data will determine the code to run. val x : Any = 12.75 when(x){ is Int -> println("$x is an Integer") is Double -> println("$x is a …
How to make Toast message?
Monday, February 28, 2022 in Android
Categories:
less than a minute
You can find a code sample to make a Toast message in Android Studio Example-1 val text = "Hello toast!" val duration = Toast.LENGTH_SHORT val toast = Toast.makeText(applicationContext, text, duration) toast.show() or you can call directly …
Creating a Class() example in Kotlin
Monday, February 28, 2022 in Kotlin
Categories:
less than a minute
In Object-Oriented Programming Languages, the classes are important. You can find a simple Class creating example in this post. fun main() { var personA = Person("Mike","Sunshine") var personB = Person() var personC = Person(lastName …
Markdown Syntax Guide
Wednesday, January 01, 2020 in How-to guides
2 minute read
This article offers a sample of basic Markdown syntax that can be used in Hugo content files. Basic Syntax Headings # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 Heading 2 Heading 3 Heading 4 Heading 5 Heading …
Text Filters with Linux (head tail sort nl wc uniq sed tac cut)
Sunday, May 08, 2016 in Linux
Categories:
9 minute read
Filter means an input for the Linux command line. It can be generated by a program, read from a file, or entered by the user. After this filter entry, the necessary actions are taken and the main document is processed according to the filter. The …
Kali Linux General Introduction
Tuesday, April 26, 2016 in Linux
Categories:
2 minute read
As activities in the field of information systems security, testing and examination become more widespread, the number of Operating Systems developed according to emerging needs also increases. Some Linux distributions are available on CD/DVD etc. …
Fish – A Different Approach to the Command Line
Tuesday, April 26, 2016 in Linux
Categories:
2 minute read
When it comes to Linux, one of the first things that comes to mind is probably the command line and terminal. The shell that processes the statements you write on the command line is offered to users in different versions. Bash, Dash, Zsh, Csh can be …
Learning our IP Address from the terminal
Monday, April 25, 2016 in Linux
Categories:
less than a minute
Sometimes, when working in the terminal (bash, SSH etc.) you may need to learn the public IP address assigned to your modem by your ISP. You may need this IP address to use it in a program or to make adjustments. In our article, we will see how we …
Information Gathering Procedures -2- Target Selection
Sunday, April 24, 2016 in Penetration Testing
Categories:
4 minute read
We have started the Information Gathering process, which is the 2nd Phase of Penetration Testing, with our article found at this link. We will try to explain the Target Selection title, which is one of the main topics we mentioned in that article. …
Linux RAM SWAP Balance
Saturday, April 23, 2016 in Linux
Categories:
3 minute read
RAM SWAP Balance How effectively do you use your computer’s RAM (Random Access Memory) power? You heard from your friend how fast and much more stable computers with Linux operating systems are and you installed them. However, you could not …
Send Process to Background in Linux Terminal (Ctrl+Z and fg)
Saturday, April 23, 2016 in Linux
Categories:
3 minute read
If there is Shell, there is definitely a solution, you just may not know it yet. If you have a problem or a process that you find difficult, rest assured that others have also experienced it. Some of them have found the job easy. Some of them did not …
Deleting with Linux Shred Command
Friday, April 22, 2016 in Linux
Categories:
4 minute read
Did you know that the deletion process used in Linux and other operating systems does not actually delete your files? This article, in which we try to explain the subject a little, may be of interest to you. If you use visual interface, you surely …
13 Tips for Your Linux System
Thursday, April 21, 2016 in Linux
Categories:
4 minute read
We would like to point out that if you have a Linux system to take care of and want to rest your head comfortably, you should at least take the precautions we recommend below. 1-Have a general security policy You should create a security policy, even …