What do you want to save?
Add Code snippet
New code examples
-
Java 2021-08-28 15:00:04
swagger
● Swagger is an open-source software framework backed by a large ecosystem of tools that helps developers design, build, document, and consume RESTful Web services. ● Swagger allows you to describe the structure of your APIs so that machines can read ... Add solution -
Shell/Bash 2021-08-28 14:58:02
apt install php
# Update packages lists sudo apt update # Install Apache2 (on Ubuntu, mostly it's already installed) sudo apt install apache2 # Install the latest version of PHP and Apache wrapper sudo apt install php libapache2-mod-php # Install some important PHP ex... Add solution -
Shell/Bash 2021-08-28 14:37:03
npm install dev dependencies only
# install as devDependency npm install <package-name> --save-dev # install as normal dependency npm install <package-name> --save # install all devDependencies listed in package.json npm install --only=dev # install all normal dependencies ... Add solution -
Javascript 2021-08-28 14:08:01
add image dropzone in vue js
npm install vue2-dropzone import 'vue2-dropzone/dist/vue2Dropzone.css' <template> <div id="app"> <vue-dropzone id="drop1" :options="dropOptions"></vue-dropzone> </div> </template>... Add solution -
Shell/Bash 2021-08-28 13:40:01
how to know namespace is present or not in kubernetes shell script
#!/bin/bash namespaceStatus=$(kubectl get ns nightlybuild-test -o json | jq .status.phase -r) if [ $namespaceStatus == "Active" ] then echo "namespace is present" else echo "namespace is not present" Add solution -