Constants and variables in Kotlin
Wednesday, January 17, 2024 in Kotlin
Categories:
3 minute read
We introduced the topic of defining variables and assigning values in the Kotlin programming language in our previous article. In this article, we will take a closer look at assigning values with const and val. val variables The code below defines …
Kotlin Variable and Value definition
Wednesday, January 17, 2024 in Kotlin
Categories:
4 minute read
What is a variable? A variable is a record location in which a number, text or any other information is kept. Variables are almost the most important building blocks in programming. There are variables in which these values are kept in all the …
Defining a shortcut with the alias command in Linux
Tuesday, January 16, 2024 in Linux
Categories:
2 minute read
In the Linux command line, you can define abbreviations for commands that you use frequently and that are long to type. Thanks to the abbreviation you define, you shorten long commands and save time. In this article, the use of the alias command and …
Linux command initialization in background & parameter
Tuesday, January 16, 2024 in Linux
Categories:
2 minute read
When you enter a command while working on the Linux command line, you have to wait until that command is finished if you want to enter another command. To solve this, you can make new windows and new connections, but there is another solution. You …
Linux Commands List
Sunday, January 14, 2024 in Linux
Categories:
9 minute read
It is a list of Linux commands brought together as part of an effort to gather all commands together. Translation and development work continues. It has been prepared to include the list of commands collected from open sources on a single page. A …
Basic Literals in Kotlin
Thursday, January 11, 2024 in Kotlin
Categories:
2 minute read
No matter how complicated, all programming languages perform operations on integers, characters, strings, etc. performed on values. We call these values Literal expressions. It would be very appropriate to explain these types before starting to write …
7 Important Tips for Learning Programming
Tuesday, January 09, 2024 in Posts
Categories:
4 minute read
Nowadays, technology and software have found a place in every aspect of life. Software is required for all of the developed technological devices and hardware to work. Software, that is, a computer program, consists of codes put together by a …
What is Kotlin Programming Language?
Sunday, January 07, 2024 in Android
Categories:
less than a minute
Kotlin is a modern programming language released by JetBrains in 2011. Kotlin 1.0, released on February 15, 2016, is considered the first stable version. Kotlin, which aims to provide solutions to some of the difficulties of the Java programming …
First Kotlin Program Hello World
Monday, January 01, 2024 in Kotlin
Categories:
2 minute read
When starting to learn programming languages, we always start with the same example. Let’s start our Kotlin programming article with the “Hello World” program without breaking tradition. You can copy the code you see below and paste …
Free Python Course from Harvard University
Sunday, June 18, 2023 in Posts
Categories:
less than a minute
Harvard University has the “Harvard CS50” program, which includes programs within the scope of introductory computer science training. You can also take the “Introduction to Programming with Python” course, which is one of the …
How to Install AdGuard Home on Rocky Linux 9 and AlmaLinux 9 ?
Saturday, June 17, 2023 in Linux
Categories:
less than a minute
AdGuard Home is open source DNS server software that aims to block advertisement and follower codes in traffic to your network. You can do ad blocking across your entire network by installing it on a server in your home or small office. In this …
How to Locate and Edit Hosts File on a Mac Using Terminal
Wednesday, June 14, 2023 in Posts
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 …
Creating a Class() example in Kotlin
Monday, February 28, 2022 in Posts
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 …
Checking data type with when() example
Monday, February 28, 2022 in Posts
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 Double") is String -> …