What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-31 16:25:02
ubuntu install zsh
#The sudo apt-get update command is used to download package #information from all configured sources #So when you run update command, it downloads the package #information from the Internet. It is useful to get info on #an updated version of packages... Add solution -
C# 2021-08-31 14:16:02
C++ in C#
//you will be using the using using System.Runtime.InteropServices; //Before we begin you must understand you cannot truely import CPP. //Only static functions and structs for data can be imported. This //may mean writeing a quick CCP class to static na... Add solution -
Shell/Bash 2021-08-31 08:43:02
how to create a desktop shortcut for windows store programs
Press the Win + R keys together on your keyboard to open the Run dialog and type shell:AppsFolder in the run box. Hit the Enter key to open the Applications folder. Now, drag and drop the shortcut of the desired app to the Desktop. Windows will create ... Add solution -
Java 2021-08-31 04:38:02
4 digit armstrong number in java
// Check whether a given number is armstrong number or not import java.util.Scanner; public class ArmstrongNumber { public static void main(String[] args) { int x, y, z = 0, temp; Scanner sc = new Scanner(System.in); System.out.pri... Add solution -
Shell/Bash 2021-08-31 03:35:03
bash remove columns
# Basic syntax using cut: cut -d'delimiter' -f fields/columns input_file # Where: # - Fields/columns specify the columns you want to keep. They can # be specified in the following ways: # -f 2,7,8 where only columns 2, 7, and 8 are returned # -f 2-8 ... Add solution -
Shell/Bash 2021-08-30 07:43:02
install composer on linux
# The following method has been tested on Ubuntu 20.04 # But i think it should work fine with any other distribution # Ensure you're on Desktop, to prevent issues with permissions cd ~/Desktop # Download the installer script php -r "copy('https://g... Add solution -
Shell/Bash 2021-08-30 03:08:02
how to expose docker api over tcp
## Use the command sudo systemctl edit docker.service ## to open an override file for docker.service in a text editor and ## add below lines(this is for testing purpose only, ##while PROD access or expose Docker api through tls or a proxy) $ sudo systemc... Add solution