What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-15 15:19:13
nginx stop on windows
nginx -s stop #fast shutdown nginx -s quit #graceful shutdown nginx -s reload #changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes nginx -s reopen #re-opening log files Add solution -
Javascript 2021-11-12 14:32:19
use node js as backend with angular frontend
1. Create a folder: mkdir project-name 2. Enter in the folder: cd project-name 3. Install Angular (you must have npm): npm install -g @angular/cli 4. Create Angular project: ng new frontend 5. Create server folder: mkdir server 6. Enter in the folder: cd ... Add solution -
Shell/Bash 2021-11-09 18:32:14
unzip linux syntax
# basic command unzip filename.zip # Use the following options to modify how the base unzip command works: -d /path/to/extact/location: Unzip an archive to a different directory. -j: Unzip without creating new folders, if the zipped archive contains a f... Add solution -
Python 2021-11-09 00:35:09
drop_na in pandas
# importing pandas module import pandas as pd # making data frame from csv file data = pd.read_csv("nba.csv") # making new data frame with dropped NA values new_data = data.dropna(axis = 0, how ='any') Add solution