Welcome To Snipplr


Everyone's Recent Snippets



This commands are useful in creating a username in mysql and it can be used to access the mysql globally with this username.
0 112 posted 2 years ago by surentharp
RFC 5322 compliant regex
1 144 posted 2 years ago by cyrilfr
This code will demonstrate how to implement the email validation for form submission by using php. You can obtain a free account at https://www.mailboxvalidator.com/pay/9
0 139 posted 2 years ago by Hexasoft
This tutorial will demonstrate how to implement the autocomplete search function by using php and ajax. You can obtain free IPV6 database at http://www.ip2location.com/free/ipv6
0 170 posted 2 years ago by Hexasoft
To Manipulate Certain Images.
0 138 posted 2 years ago by lizzyjones
JavaScript regex for validating IP addresses, has been tested!
0 116 posted 2 years ago by plasticbottle
It should work for domains like @something.co.uk note that regex will never really be able to match 100% of e-mail addresses without allowing some false positives
0 134 posted 2 years ago by plasticbottle
This was an assignment given to me in my Java course.
0 332 posted 2 years ago by EthanEC94
Hide parent element, when child element has a specific class. In this case: child element = .no-news-found parent element = .csc-default (= content element containing the news plugin with header)
0 93 posted 2 years ago by xtine777
To use this free scraper for instagram business profiles you need to have account at known [web scraping service](https://www.diggernaut.com/). This scraper allow you to scrape contact details from business profiles and also indicate if profile is bu...
0 239 posted 2 years ago by martinson
join characters inside file by extracting keyword which separate by newline and special characters by including desired numbers characters on right and left
0 104 posted 2 years ago by brm
This .htaccess actually forces all traffic to https, and allows cakephp app to work properly, as well as letsencrypt to go thru
0 162 posted 2 years ago by acosonic
Install GPM using installer such as apt or dnf All you have to do is save code with mouse.c file name and compile it : gcc -o mouse mouse.c -lgpm and you got a "mouse" program that executes l.sh on left, r.sh on right and m.sh on middle mouse...
0 146 posted 2 years ago by xyzeugene
If you want to see this sight unfold right before your very eyes, then our Evening Desert Safari Tour is perfect for you. If you need more information, please do not hesitate to reach us. To make it convenient and accessible for our guests, we have p...
0 118 posted 2 years ago by desertsafaritoure
Add this snippet to theme's functions.php Add menu items that will have separator after them to $separatorsAfter array.
0 237 posted 2 years ago by cusmin
Please add this code to functions.php This will add admin menu separators between all admin menu items.
0 89 posted 2 years ago by cusmin
Read data from TXT files to import them in Excel environment
0 168 posted 2 years ago by buglilorenzo
Name this script whatever you want, and run it via Workbench Scripting shell
0 150 posted 2 years ago by acosonic
Hide Cusmin plugin appearance from all other users, even administrators. Add this code to active themes's functions.php
0 119 posted 2 years ago by cusmin
This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.
0 146 posted 2 years ago by apphp-snippets
This example shows you how to force www. or no-www. using .htaccess file.
0 132 posted 2 years ago by apphp-snippets
this is the code to make the circular bitmap which is used in the image views of android. at the end of the code the circle mode of bitmap is created by the enum mode.
0 164 posted 2 years ago by m3000
Automatically redirect users to the checkout page once a product has been added to the cart. This code should go to your functions.php file.
0 161 posted 2 years ago by catswhocode
Here’s a super handy snippet that I use very often. It works very simply: once the user clicks on #submit, the data from #form is serialized and sent to a remote page using the POST method.
0 239 posted 2 years ago by catswhocode
More info: https://www.catswhocode.com/blog/install-https-wordpress
0 164 posted 2 years ago by catswhocode
The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
0 162 posted 3 years ago by Broadnet
The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
0 167 posted 3 years ago by Broadnet
The following example of VB6 sample SMS code uses an expedient object, contingent on the HTTP API.
0 313 posted 3 years ago by Broadnet
A few examples of creating a primary key and a foreign key
0 135 posted 3 years ago by bbrumm
 Just try the following Python Sample SMS Code scripts and you will find that sending SMS to your contact via this programming script is fun! 
1 244 posted 3 years ago by Broadnet