What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-28 00:14:01
python date range widget
from django import forms from bootstrap_daterangepicker import widgets, fields class DemoForm(forms.Form): # Date Picker Fields date_single_normal = fields.DateField() date_single_with_format = fields.DateField( input_formats=['%d/%m... Add solution -
Javascript 2021-08-28 00:09:02
react proptypes
import PropTypes from 'prop-types'; MyComponent.propTypes = { // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool, optionalFunc: PropTypes.fun... Add solution -
Java 2021-08-28 00:01:01
how to create a Scanner Object in java
import java.util.Scanner; // import scanner Scanner myScanner = new Scanner(System.in); // Make scanner obj String inputString = myScanner.nextLine(); // Take whole line boolean inputBoolean = myScanner.nextBoolean(); //Boolean input long inputLong ... Add solution -
Other 2021-08-27 23:15:02
link bootstrap 4
<!-- Boostrap 4 CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" cross... Add solution -
Shell/Bash 2021-08-27 22:49:01
raspberry pi wifi setup wpa_supplicant
Create a file in the root of boot called: wpa_supplicant.conf (instructions below). Then paste the following into it (adjusting for your ISO 3166 alpha-2 country code, network name and network password): country=US ctrl_interface=DIR=/var/run/wpa_supplic... Add solution -
Shell/Bash 2021-08-27 22:31:02
django gitignore
# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *... Add solution