What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-08-26 10:53:03
untar tar.gz
# Basic syntax: tar -zxvf file.tar.gz # Where: # - x tells tar to extract the files # - v tells the command to list all of the files in the archive # - z tells the tar command to uncompress the file (gzip) # - f tells tar that you are going to give it a ... Add solution -
Shell/Bash 2021-08-26 10:53:03
how to make a batch file
echo off title MyBatchFile color 0 echo This is a batch file echo. echo Batch files are made on a Windows PC. echo They run inside of Command Prompt echo Copy this code. Next, paste it inside of Notepad.exe. echo Finally, save it as a .bat or .cmd file, r... Add solution -
Shell/Bash 2021-08-26 10:53:02
bash concatenate two columns
# Basic syntax using awk: awk 'BEGIN {FS="input_delimiter"; OFS="output_delimiter"}; {print $column# "sep" $column#}' input_file # Where: # - The input_delimiter is the delimiter separating columns in # the input_file # - ... Add solution -
Other 2021-08-26 10:52:03
change url by jquery without refresh page
// Current URL: https://my-website.com/page_a const nextURL = 'https://my-website.com/page_b'; const nextTitle = 'My new page title'; const nextState = { additionalInformation: 'Updated the URL with JS' }; // This will create a new entry in the browser's... Add solution -
Python 2021-08-26 10:52:03
streamlit - Warning: NumberInput value below has type int so is displayed as int despite format string %.1f.
import streamlit as st st.number_input(label="float displayed as integer", format="%i", value=2.4) # The solution for the waring here is to use format="%i" instead of format="%0f" # Moreover, here below some optio... Add solution
Best helpers
Ranking is empty