What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-14 03:07:04
js append en tête
var parent = document.createElement("div"); var p = document.createElement("p"); var span = document.createElement("span"); parent.append(p); parent.prepend(span); console.log(parent.childNodes); // NodeList [ <span>, ... Add solution -
Ruby 2021-10-12 22:02:04
rails erd
attributes: - content - foreign_key - inheritance disconnected: true filename: erd filetype: pdf indirect: true inheritance: false markup: true notation: simple orientation: horizontal polymorphism: false sort: true warn: true title: sample title ex... Add solution -
PHP 2021-10-05 15:01:03
exists:categories,id except a value laravel
There are two solutions that i found on the search 1. use laravel form select and prepend the null value in starting {!! Form::select('parent_id', $category_list->prepend('Select a parent (optional)', ''), $category->parent_id, ['class' => 'for... Add solution -
Other 2021-09-29 09:20:05
kodi vlc external player
<playercorefactory> <players> <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Program Files\MPC-HC\mplayerc.exe</filename> <ar... Add solution -
Shell/Bash 2021-09-27 03:36:02
SSH remote capture Wireshark
sshdump --extcap-interface=sshdump --extcap-config Output: arg {number=0}{call=--remote-host}{display=Remote SSH server address}{type=string} {tooltip=The remote SSH host. It can be both an IP address or a hostname}{required=true}{grou... Add solution -
Other 2021-09-26 09:09:03
Rails is not defined
// config/webpack/environment.js const { environment } = require('@rails/webpacker') const webpack = require('webpack') environment.plugins.prepend('Provide', new webpack.ProvidePlugin({ Rails: ['@rails/ujs'] }) ) module.exports = environment Add solution -
CSS 2021-09-25 17:37:05
importing scss into vue component
npm i node-sass sass-loader // create the path: styles/main.scss in your src directory –src |––styles |––main.scss // add this to your vue.config.js file in the root directory module.exports = { css: { loaderOptio... Add solution -
PHP 2021-09-20 13:36:02
Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
You can use the following by editing the .user.ini file in the root folder (instead of .htaccess) ; Include a PHP file on every request auto_prepend_file="/home/dotcomwo/public_html/includes/config.inc.php" Add solution
Best helpers
Ranking is empty