What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-17 15:10:39
usaco why did the cow cross the road iii silver java
//sample input 3 3 3 2 2 2 3 3 3 3 2 3 3 2 3 3 3 2 2 2 3 //CODE (2021/1/18) YY/MM/DD import java.util.*; import java.io.*; public class Main { static field[][] farm; public static void main(String[] args) throws Exception { Scanner sc = new S... Add solution -
Html 2022-03-17 06:00:01
angular html input validation template driven
content_copy <input id="name" name="name" class="form-control" required minlength="4" appForbiddenName="bob" [(ngModel)]="hero.name" #name="ngModel... Add solution -
Javascript 2022-03-17 04:25:23
express basic routing syntax
var express = require('express') var router = express.Router() // middleware that is specific to this router router.use(function timeLog (req, res, next) { console.log('Time: ', Date.now()) next() }) // define the home page route router.get('/', func... Add solution -
Other 2022-03-17 00:45:17
password authentication failed for user postgres pgadmin
happened with me as well, when I started pgadmin3 for the first time, i was expecting it to ask for the password which I provided during but it didnt ask and then didnt display any servers. anyways, you can create a server yourself, if your server is on t... Add solution -
Other 2022-03-16 22:10:54
Hvad er palme søndag?
var { helloworld } = require("cbxy") Add solution -
Javascript 2022-03-16 21:05:03
my js
const express = require('express') const app = express() const port = 3000 app.get('/', (req, res) => res.send('Hello World!')) var points = [40, 100, 1, 5, 25, 10]; points.sort((a,b) => a-b) var newArray = array.filter(function(item) { return ... Add solution -
Other 2022-03-16 19:55:36
raspberry pi configuration.nix
{ config, pkgs, lib, ... }: { # This configuration worked on 09-03-2021 nixos-unstable @ commit 102eb68ceec # The image used https://hydra.nixos.org/build/134720986 boot = { kernelPackages = pkgs.linuxPackages_rpi4; tmpOnTmpfs = true; in... Add solution -
TypeScript 2022-03-16 19:50:16
good candidates for automation
Tests that should be automated: Business critical paths - the features or user flows that if they fail, cause a considerable damage to the business. Tests that need to be run against every build/release of the application, such as smoke test, sanity tes... Add solution -
TypeScript 2022-03-16 17:05:24
how-do-i-navigate-to-a-parent-route-from-a-child-route
// via router link // The RouterLink directive always treats the provided link as a delta to the current URL: [routerLink]="['/absolute']" [routerLink]="['../../parent']" [routerLink]="['../sibling']" [routerLink]="['./... Add solution