What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-23 07:17:02
how to write deserlizer java
package net.sghill.example; import net.sghill.example.User; import org.codehaus.jackson.JsonNode; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.ObjectCodec; import org.codehaus.jackson.map.DeserializationContext; import org.codehaus... Add solution -
Javascript 2021-09-23 05:09:03
default value input date js
<!-- HTML --> <input type="date" id="theDate"> <script> // JQuery $(document).ready( function() { $('#theDate').val(new Date().toDateInputValue()); }); // Pure JS document.getElementById('theDate').v... Add solution -
Html 2021-09-23 03:07:03
bootstrap docs starter template
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=... Add solution -
Javascript 2021-09-23 01:45:03
create server and connect to db and frontend
// create directory //npm init -y //npm i express --save //npm i mysql --save //create public directory //create server.js // <---- In the server js file ---> 'use strict'; const express = require('express'); const app = express(); app.use(expre... Add solution -
CSS 2021-09-22 16:43:04
bootstrap css
<!-- Boostrap 4 CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" cross... Add solution -
Javascript 2021-09-21 13:02:03
select option trigger in js
/*html*/ <select id="sel" onchange='alert("changed")'> <option value='1'>One</option> <option value='2'>Two</option> <option value='3' selected>Three</option> </select> /*Function ... Add solution -
PHP 2021-09-21 07:39:05
php get screen width
//Save in cookie to access with $_COOKIE["screenXYZ"]; //SetScreenResToCookie.php <?php if (isset($_POST)) { echo "success"; setcookie("screenW", $_POST["screenWidth"], time() + (86400 * 30), '/'); s... Add solution -
C# 2021-09-21 01:31:04
how to insert <input> datatype <td> in asp.net core table
public ActionResult CreateMultiple() { return View(); } public JsonResult SaveData(string getepassdata)//WebMethod to Save the data { try { var serializeData = JsonConvert.DeserializeObject<List<GatePass>>(getepassdata);... Add solution