What do you want to save?
Add Code snippet
New code examples
-
C# 2022-01-31 13:11:38
asp.net tags
The official name is "server-side scripting delimiters" or "ASP.NET inline expressions". Visual Studio 2008 syntax highlighting settings dialog calls these "HTML Server-Side Script". Microsoft guys call them "code nugget... Add solution -
Other 2022-01-28 00:01:53
jLabel copy
JTextPane f = new JTextPane(); f.setContentType("text/html"); // let the text pane know this is what you want f.setEditable(false); // as before f.setBackground(null); // this is the same as a JLabel f.setBorder(null); // remove the border Add solution -
Shell/Bash 2021-11-21 07:06:16
dos findstr with plus
# EXAMPLE: display the files (within the given folder) that contain the text "+renew" findstr /n /l "+renew" "C:\Users\LongW\*" # SYNTAX # findstr <options-if-any> "<string-to-find>" "<path(s)-... Add solution -
VBA 2021-11-16 23:01:22
set data binding for textbox dynamically vb
' Create two Binding objects for the first two TextBox ' controls. The data-bound property for both controls ' is the Text property. The data source is a DataSet ' (ds). The data member is specified by a navigation ' path in the form ... Add solution -
Shell/Bash 2021-11-13 07:10:10
dos findstr
# EXAMPLE: display the files (within the given folder) that contain the text "+renew" findstr /n /l "+renew" "C:\Users\LongW\*" # SYNTAX # findstr <options-if-any> "<string-to-find>" "<path(s)-... Add solution -
Other 2021-11-09 07:11:15
notepad++ download
Hey, it has a lot of easter eggs i will tell one of them to you step 1: Type "Space Invaders" (without quotes and this text) in a new doc step 2: Select the Space invaders text step 3: After selecting the text press F1 step 4: Enjoy :) Add solution -
Javascript 2021-11-08 05:31:24
Schema Password Hashing COde
UserSchema.pre('save', function(next) { var user = this; // only hash the password if it has been modified (or is new) if (!user.isModified('password')) return next(); // generate a salt bcrypt.genSalt(SALT_WORK_FACTOR, function(err,... Add solution -
Other 2021-11-06 20:46:17
unity set dropdown value
IndexOf: // returns a list of the text properties of the options var listAvailableStrings = dropdown.options.Select(option => option.text).ToList(); // returns the index of the given string dropdown.value = listAvailableStrings.IndexOf("an Optio... Add solution -
CSS 2021-10-22 21:04:12
pre tag css style
Definition and Usage The <pre> tag defines preformatted text. Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source c... Add solution -
Other 2021-10-22 00:30:14
create datasource in tomcat 8
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false"> <Context path="" docBase="../confluence" debug="0" reloadable="true&... Add solution