What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-09 05:39:24
chrome bookmarklet copy text
// This needs to be minified (and prefixed) to work // I just put the full function here to better show what the code is doing // Use the bottom line of code and replace "Text To Copy" with your own // text and you're good to go! (function (t... Add solution -
Java 2021-11-08 04:27:09
how to build a gui in java
import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JTextArea; public class Foo{ public static void main(String[] args) { ... Add solution -
Python 2021-11-07 05:12:13
flask get summernote text
<form action="/updateTest" method="POST"> <h1 style="text-align:center">content</h1><textarea name=content id="summernote">{{value}</textarea> <input class="input-btn" ty... Add solution -
-
C# 2021-11-05 07:12:12
razor: show editable list
// You need form tag in order for HttpPost. The trick is to either use for loop to generate // correct Ids, or create Partial View. // I like to use partial view, since it is a bit cleaner. // For example // ViewModel public class SampleViewModel { ... Add solution