What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-03-06 04:50:02
how to add cards to bottom of window html css materialize
<div class="row"> <div class="col s12 m6"> <div class="card blue-grey darken-1"> <div class="card-content white-text"> <span class="card-title">... Add solution -
Python 2022-02-28 06:35:10
flask session
from flask import Flask, session, redirect, url_for, request from markupsafe import escape app = Flask(__name__) # Set the secret key to some random bytes. Keep this really secret! app.secret_key = b'_5#y2L"F4Q8z\n\xec]/' @app.route('/') def index... Add solution -
Python 2022-02-27 00:45:02
sphinx, where to write the glossary of a sofware project
.. glossary:: Sphinx Sphinx is a tool that makes it easy to create intelligent and beautiful documentation. It was originally created for the Python documentation, and it has excellent facilities for the documentation of software projects in a ... Add solution -
Javascript 2022-02-22 10:20:10
write a javascript code snippet to validate the password textbox length of minimum 8 characters.
function validateInput (textbox) { const inputLength = textbox?.value?.length || 0; if (inputLength < 8) { console.log('Invalid input: minimum 8 chars required'); document.querySelector(`label[for="${textbox.id}"]`).textContent ... Add solution -
Python 2022-02-02 06:50:17
custom keyboard telegram bot python
... markup = ReplyKeyboardMarkup(keyboard=[['Time', KeyboardButton(text='Logo')],["File", "Audio"]]) if command == '/start': telegram_bot.sendMessage (chat_id, str("Hi! Which one do you want? choose from the below ... Add solution -
Shell/Bash 2022-02-01 01:47:24
how to install wtforms on mac terminal
[Running] python -u "c:\Users\PC\Desktop\code\Flask_Blog\forms.py" Traceback (most recent call last): File "c:\Users\PC\Desktop\code\Flask_Blog\forms.py", line 1, in <module> from flask_wtf import FlaskForm ModuleNotFoundEr... Add solution