What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-09 17:15:41
how do you use log4j
How do you use Log4J in your framework? Basically it is printing/logging the important events of the application/test run. in my project I did logging using the log4j library. I added the library dependency into pom.xml. For logging we create an object fr... Add solution -
Other 2022-02-07 19:45:03
how to logs
How do you use Log4J in your framework? printing/logging the important events of the application/test run. in my project I did logging using the log4j library. I added the library dependency into pom.xml. For logging we create an object from Logger Interf... Add solution -
Java 2022-02-05 09:20:07
serialization of object in java
public class someClass { //your lcode and logic... ObjectMapper mapper = new ObjectMapper(); SimpleModule module = new SimpleModule(); module.addSerializer(MyAwesomeClass.class, new MyAwesomeSerializer()); mapper.registerModule(module); jsonNode = mapper... Add solution -
Javascript 2022-02-02 22:26:23
Tic Tac Toe using html, javascript and css
const player = "O"; const computer = "X"; let board_full = false; let play_board = ["", "", "", "", "", "", "", "", ""]; const board_container ... Add solution -
Other 2022-02-02 21:25:22
spring job scheduler
/* * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ... Add solution -
Javascript 2022-02-02 20:50:14
how to convert div to image in jquery
<html><head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html... Add solution -
Java 2022-02-02 05:31:35
bungeecord plugin add configs
// Load config Configuration config = ConfigurationProvider.getProvider(YamlConfiguration.class).load(new File(getDataFolder(), "config.yml")); // Sets a string config.set('test', 'This is a test'); // Loads a string config.getString('test'); /... Add solution
Best helpers
User 768576
+10
Viki
+5
Riptiki
+5
Suraj tiwari
+5
Johnno Nolan
+5
Alxna
+5
Bmcl
+5
Nuno
+5
AllenG
+5
Hong
+5
Hugh Zang
+5
Marcel Souza
+5
Rosey28
+5