What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-27 20:26:01
Convert JSON String to JavaScript Object
var obj = {name: "Martin", age: 30, country: "United States"}; // Converting JS object to JSON string var json = JSON.stringify(obj); console.log(json); // Prints: {"name":"Martin","age":30,"count... Add solution -
CSS 2021-08-27 15:12:01
ajax call to load a page on scrolling
$(document).ready(function(){ $(window).scroll(function(){ var position = $(window).scrollTop(); var bottom = $(document).height() - $(window).height(); if( position == bottom ){ var row = Number($('#row').val()); var allcount = Number(... Add solution -
Shell/Bash 2021-08-27 10:03:02
install wordpress ubuntu 20.04
Once the LAMP stack (Apache, MariaDB, and PHP) installed and configured on the Ubuntu 20.04 server, you can proceed further to download the latest version of WordPress using the following wget command. $ wget -c http://wordpress.org/latest.tar... Add solution -
Shell/Bash 2021-08-26 17:26:01
ubuntu lemp
// NGINX sudo apt update sudo apt install nginx // MYSQL sudo apt install mysql-server sudo mysql ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; FLUSH PRIVILEGES; exit; sudo mysql -u root -p // PHP sudo apt install p... Add solution -