What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-01 04:15:46
messages django
from django.contrib import messages <--Change setting under settings.py from django.contrib.messages import constants as messages MESSAGE_TAGS = { messages.ERROR: 'danger' } --> {% for message in messages %} <div class="alert alert-{{ ... Add solution -
Html 2022-01-31 05:05:56
how to embed my website into Discord
These '<meta>' tags must be in the '<head>' tag <meta property="og:type" content="website"> <meta property="og:site_name" content="Website Name"> <meta property="og:title" conten... Add solution -
Other 2022-01-30 23:05:53
render world space UI infront of everything unity
Shader "UI/Default_OverlayNoZTest" { Properties { [PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {} _Color("Tint", Color) = (1,1,1,1) _StencilComp("Stencil Comparison... Add solution -
Other 2022-01-28 18:45:52
execute if block
(if|unless) block Compares the block at a given position to a given block ID Syntax (if|unless) block <pos> <block> -> [execute] Arguments <pos>: block_pos Position of a target block to test <block>: block_predicate A valid bloc... Add solution -
Javascript 2022-01-27 22:10:41
drupal tag filter ajax content
<?php /** * @file * Module file for Popolo Custom. */ /** * Implements hook_form_alter(). */ function popolo_custom_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id){ // Apply the form_alter to a specific ... Add solution -
Html 2022-01-27 08:31:48
bootstrap starter template
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=... Add solution