What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-04 04:10:02
aria-live for search results
<section id="search-results" role="region"> <span id="search-results-message" aria-live="polite"> Use the <a href="#search-form">search form</a> above to search for arti... Add solution -
Ruby 2021-10-03 19:16:02
form for rails
<%= form_tag("/search", method: "get") do %> <%= label_tag(:q, "Search for:") %> <%= text_field_tag(:q) %> <%= submit_tag("Search") %> <% end %> Add solution -
PHP 2021-10-03 11:22:05
php preg_match
<?php //Syntex : int preg_match( $pattern, $input, $matches, $flags, $offset) // Declare a variable and initialize it $str = "Check For Testing."; // case-Insensitive search for the word "Check" if (preg_match("/\bChec... Add solution -
PHP 2021-10-01 01:40:05
php check if uploaded file is image
$image_name = $_FILES["inputname"]["name"]; $allowed_extensions = array("png", "jpg", "jpeg"); $image_extension = explode(".", $image_name); /* *Explode returns array of words *Explode Exampl... Add solution -
PHP 2021-09-30 12:21:04
magento Fatal error: Allowed memory size of 134217728 bytes exhausted
php --ini nano /etc/php5/cli/php.ini (it could be different for you) Search for memory_limit by (ctrl + w) make memory_limit to -1 or 2G (depending on what you can increase to) save by (ctrl + x) then enter Add solution -
Python 2021-09-29 05:48:04
Search bar using python
#Open website import os import time import webbrowser import sys os.system('clear') print("Hi i am Like Google but a bit crazy one") Name = input("So what should i call you: ") print("Hi", Name, "my name is Seainte"... Add solution -
Javascript 2021-09-28 18:03:02
javascript lookahead
Lookaheads are patterns that tell JavaScript to look-ahead in your string to check for patterns further along. This can be useful when you want to search for multiple patterns over the same string. A positive lookahead will look to make sure the element... Add solution
Best helpers
Amine
+5
Asgs
+5
Jboeke
+5
Frank Gado
+5
Jim MacA
+5
Lightalloy
+5
PeterSalz
+5
Altendky
+5
GiantDuck
+5
Faerubin
+5
David Baucum
+5
Xiagua
+5
Ravin Online
+5
Xemnarth
+5
Withkare
+5
DSM
+5
Njbair
+5
Troy Woo
+5