What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-29 08:10:01
javascript interact with database
// Javascript connect to ddb: const mysql = require('mysql'); const con = mysql.createConnection({ host: "localhost", user: "yourusername", password: "yourpassword" }); con.connect(function(err) { if (err) th... Add solution -
Shell/Bash 2021-08-29 05:48:02
Key path "file:///home/user/projectname/storage/oauth-public.key" does not exist or is not readable
#Install passport composer require laravel/passport #Register the service provider in config/app.php Laravel\Passport\PassportServiceProvider::class, #Run the migrations php artisan migrate #Generate key php artisan passport:install Add solution -
Shell/Bash 2021-08-29 05:27:03
getkirby install editor
composer require getkirby/editor Add solution -
Shell/Bash 2021-08-29 04:06:02
twig install
composer require "twig/twig:^3.0" Add solution -
Shell/Bash 2021-08-29 01:21:01
fsl nonlinear registration
#!/bin/sh # Use nonlinear registration tools # to register from native space to standard space. # 1) First run FSL linear registration (flirt). # to produce an affine transform matrix (*.mat) # of the T1w image to MNI space. flirt -ref MNI152_T1_1mm... Add solution -
Shell/Bash 2021-08-28 21:56:02
pip install from requirements.txt
pip install -r requirements.txt Add solution -
Shell/Bash 2021-08-28 20:21:01
how to install vue in laravel
$ composer require laravel/ui Add solution -
Javascript 2021-08-28 16:43:02
accept Post with no midleWare express
const express=require('express'); const app=express(); //accept Post with no midleWare express app.post("/register/",function(req,res){ var bodyStr = ''; req.on("data",function(chunk){ bodyStr += chunk.toString(); }... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5