What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-19 08:58:04
merge sort js example
// Merge Sort Implentation (Recursive) function mergeSort (unsortedArray) { if (unsortedArray.length <= 1) { return unsortedArray; } const middle = Math.floor(unsortedArray.length / 2); const left = unsortedArray.slice(0, middle); co... Add solution -
Other 2021-10-17 19:00:05
typeracer hack code
(() => { const typeDelay = 20; const txtInput = document.querySelector('.txtInput'); const textElmParent = document.querySelector( '#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td ... Add solution -
Javascript 2021-10-17 02:11:03
react pagination scroll
import { useState, useEffect, useCallback } from 'react' export const LoadMoreItem = (props) => { const [increment, setIncrement] = useState(4) const [disabled, setDisabled] = useState(false) const [hidden, setHidden] = useState(false) useEffect(... Add solution -
Javascript 2021-10-17 00:17:09
nodejs command line arguments
var args = process.argv.slice(2); Add solution -
Html 2021-10-16 22:57:04
input date default value html
<!-- HTML --> <input type="date" id="theDate"> <script> // JQuery $(document).ready( function() { $('#theDate').val(new Date().toDateInputValue()); }); // Pure JS document.getElementById('theDate').v... Add solution -
Shell/Bash 2021-10-16 20:34:05
fslmerge
#!/bin/sh # Usage: fslmerge <-x/y/z/t/a/tr> <output> <file1 file2 .......> [tr value in seconds] # -t : concatenate images in time # -x : concatenate images in the x direction # -y : concatenate images in the y direction # -z : conc... Add solution
Best helpers
Ranking is empty