What do you want to save?
Add Code snippet
New code examples
-
CSS 2021-10-25 10:51:07
linear gradient in CSS
/* A gradient tilted 100 degrees, starting gray and finishing black */ .class { background: linear-gradient(100deg, rgba(63, 63, 63, 0.8) 0%, rgba(255, 255, 255, 0) 25%); } /* A gradient going from the bottom to top starting red and finishing ... Add solution -
TypeScript 2021-10-24 04:50:20
how to check how many elements in a set java
import java.util.Arrays; import java.util.HashSet; import java.util.Set; /* check a set size by set.size() */ public class MainClass { public static void main(String[] a) { String elements[] = { "A", "B", "C", "D&... Add solution -
-
PHP 2021-10-23 09:26:09
magento 2 add custom data to checkout session
// reference https://bit.ly/3nbIQzs class myClass { // \Magento\Checkout\Model\Session private $_checkoutSession; public function __construct( \Magento\Checkout\Model\Session $checkoutSession ){ $this->_checkoutSession = $checkoutSe... Add solution -
CSS 2021-10-22 04:38:09
how to change font size and font style in css
.class { font-size: 12px; } Add solution -
Other 2021-10-21 06:46:06
Serialization and Deserialization
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
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5