What do you want to save?
Add Code snippet
New code examples
-
Java 2021-08-27 12:56:02
Java program to convert decimal number to binary & count number of 1s
// decimal to binary conversion in java import java.util.Scanner; public class DecimalBinaryDemo { public static void main(String[] args) { int number, count = 0, temp; String strConvert = ""; Scanner sc = new Scanner(Sys... Add solution -
Shell/Bash 2021-08-27 05:34:01
install minecraft server on ubuntu
Step 1: Install the required packages: sudo apt update sudo apt install openjdk-8-jre-headless sudo apt install screen sudo ufw allow 25565 Step 2: Download the latest version of Mindcraft: wget https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1... Add solution -
Shell/Bash 2021-08-27 00:46:02
how to install gradle in ubuntu
sudo apt update sudo apt install openjdk-8-jdk -y java -version wget https://services.gradle.org/distributions/gradle-5.0-bin.zip -P /tmp sudo unzip -d /opt/gradle /tmp/gradle-*.zip ls /opt/gradle/gradle-5.0 sudo nano /etc/profile.d/gradle.sh ####/etc/p... Add solution -
Shell/Bash 2021-08-26 22:06:02
how to install netbeans on ubuntu 20.04
Apache NetBeans IDE requires Java 8 or later Java Development Kit installed on your system. To install Java on your system, execute following command sudo apt install default-jdk We use snap package to install Netbeans IDE on Ubuntu Linux system. The la... Add solution -
Shell/Bash 2021-08-26 11:06:03
free port in linux
netstat -tulnap // list all ports and processes netstat -anp|grep "port_number" // show port details sudo fuser -k Port_Number/tcp // free the port needed # or lsof -n -i :'port-number' | grep LISTEN // get port details # sampl... Add solution -
Shell/Bash 2021-08-26 11:05:02
install netbeans 8.2 ubuntu 20.04
Apache NetBeans IDE requires Java 8 or later Java Development Kit installed on your system. To install Java on your system, execute following command sudo apt install default-jdk We use snap package to install Netbeans IDE on Ubuntu Linux system. The la... Add solution