What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-03-27 08:30:01
unit test naming convention
MethodName_StateUnderTest_ExpectedBehavior Example: add_twoPositiveIntegers_returnsTheirSum() Variant: Add_TwoPositiveIntegers_ReturnsTheirSum() Note: This is not camel case, so the question of whether to start each new chunk with a capital is up... Add solution -
Javascript 2022-03-27 08:05:04
express req get json
const express = require('express'); const app = express(); app.use(express.json()); app.post('*', (req, res) => { req.body; // The json object sent to the server }); const port = 3000; app.listen(port, () => console.log(`Listening on port ${port... Add solution -
Html 2022-03-24 20:25:02
html autoplay loop many videos
<video width="480" controls poster="https://archive.org/download/WebmVp8Vorbis/webmvp8.gif" > <source src="https://archive.org/download/WebmVp8Vorbis/webmvp8_512kb.mp4" type="video/mp4"> <source s... Add solution -
PHP 2022-03-24 01:10:14
vivo.sx api clone file php
<?php //this will clone the vivo file to your account //original Link: https://vivo.sx/a1b2c4d5e5 //file id: a1b2c4d5e6 //you can clone up to 25 file-id's by adding ',' between the id's //Like: $file_id = "a1b2c4d5e6,a4b4c4d4e4,c1c2c4c5c5"; $... Add solution -
PHP 2022-03-23 17:00:16
kirim email using codeigniter 4
<?php namespace App\Controllers; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; class Kirim_email extends BaseController { public function __construct() &n... Add solution