Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1174
posted 6 years ago by Hexasoft
JavaScript regex for validating IP addresses, has been tested!
0
1098
posted 6 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
1067
posted 6 years ago by plasticbottle
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
1011
posted 6 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
4225
posted 6 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
1014
posted 6 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
1450
posted 6 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
1359
posted 7 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
976
posted 7 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
1742
posted 7 years ago by cusmin
Please add this code to functions.php
This will add admin menu separators between all admin menu items.
0
830
posted 7 years ago by cusmin
Read data from TXT files to import them in Excel environment
0
1146
posted 7 years ago by buglilorenzo
Name this script whatever you want, and run it via Workbench Scripting shell
0
1177
posted 7 years ago by acosonic
Hide Cusmin plugin appearance from all other users, even administrators.
Add this code to active themes's functions.php
0
839
posted 7 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
1152
posted 7 years ago by apphp-snippets
This example shows you how to force www. or no-www. using .htaccess file.
0
1160
posted 7 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
1470
posted 7 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
1258
posted 7 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
1972
posted 7 years ago by catswhocode
More info: https://www.catswhocode.com/blog/install-https-wordpress
0
1315
posted 7 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
1168
posted 7 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
1172
posted 7 years ago by Broadnet
The following example of VB6 sample SMS code uses an expedient object, contingent on the HTTP API.
0
1631
posted 7 years ago by Broadnet
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
1504
posted 7 years ago by Broadnet
BroadNet Technologies furnishes you with a variety of PHP Sample SMS code examples and programming objects, and assist you in connecting to our gateway via the PHP script. Sending your messages via our designed PHP SMS Sample Code is easier than you...
0
1168
posted 7 years ago by Broadnet
This example of Java SMS Sample Code utilizes a clichéd Java Object API.
0
1374
posted 7 years ago by Broadnet
This code snippet shows how to connect to a MySQL database using Connector/J.
0
1136
posted 7 years ago by syedhussim