What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-16 04:43:15
composer update ubuntu 20.04
First, update the package manager cache by running: sudo apt update Next, run the following command to install the required packages: sudo apt install php-cli unzip Make sure you’re in your home directory, then retrieve the installer using curl... Add solution -
Shell/Bash 2021-11-16 03:24:18
break a symbolic link in linux
unlink /var/log/error_log Add solution -
Javascript 2021-11-15 03:18:18
bajar archivos node
var http = require('http'); var fs = require('fs'); var download = function(url, dest, cb) { var file = fs.createWriteStream(dest); var request = http.get(url, function(response) { response.pipe(file); file.on('finish', function() { fil... Add solution -
Other 2021-11-14 03:37:19
composer download
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo '... Add solution -
-
PHP 2021-11-10 06:54:12
php unlink
/* Deleting files is a concept in file handeling of PHP We can remove or delete the file from real folder path using below code */ unlink($Your_file_path); // direct deleting the file /* Delete file if its exist in folder */ if (file_exists($Your_fil... Add solution -
-
Javascript 2021-11-04 00:08:06
graphql upload express
//resolvers.js export default { Query: { usersActivation() { return 'Hello Wordl' } }, Mutation: { uploadFile: async (parent, { file }) => { const { filename, createReadStream } = await file.promise fileUpload({ filename, stream: cre... Add solution