Welcome To Snipplr


Everyone's Recent Snippets



1 ... 15 16 17 18 19 ... 554
Xamarin Forms ViewCell Xaml snippet
0 724 posted 9 years ago by jyates99
<p>Follow these steps to secure your Cakephp Website:</p> <p>*Before you actually start using Security Component functionality, make sure you use $components = array (‘Security’, ‘Auth’) in the array so you can extend its functionality in...
0 816 posted 9 years ago by cakephpexpert
I thought I share this code snippet because I find this way of SMS sending an easy solution. I believe that even beginners can implement this VB.NET SQL SMS application, but I think some extent of perfection in the SMS technology is required for bett...
0 1186 posted 9 years ago by LoganTurn
Source: https://css-tricks.com/snippets/wordpress/customize-login-page/ Put them in your theme functions.php or make it a plugin.
0 763 posted 9 years ago by pauloc
Show a list of days between two dates, using native php DateTime functions
0 1243 posted 9 years ago by snstro
Just a basic bash snippet, of interest is the substring replacement, imo.
0 667 posted 9 years ago by jlmarks
This is a common model used to run some common functions like CRUD functions, get reference data from table, check for dependencies etc. So in other model, we don't have to add those function repeatedly
0 899 posted 9 years ago by invtr
To use WordPress 4 Customizer API I'd need just to do 2 steps: define a data in the array, and call a custom registering function.
1 757 posted 9 years ago by micklevin
This only shows public procedures, not the privates one declares only in packages body.
0 546 posted 9 years ago by Igeco
In my previous snippet I have written about converting text to speech using C#. This code snippet can be used not just for allowing your computer to read txt aloud, but also for speech recognition. To implement this functionality I used Microsoft Sp...
0 1468 posted 9 years ago by warnerBro19
This is the basic code that you need to know to connect and list data with PDO. Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.
0 855 posted 9 years ago by snstro
Useful when using a template or Wordpress and the LeadPages code is called on every page and there is a single page you don't want the fancy exit marketing signup form to appear. The LeadBox external code has a boolean variable called 'safetyCheck...
0 680 posted 9 years ago by mountainash
I have heard about this solution on the Facebook, and I thought it is worth to share my source code to help other developers interested in converting text to speech using C#. Text-to-speech refers to the ability of computers to read txt aloud. This f...
1 1066 posted 9 years ago by warnerBro19
This is a little code snippet that I use in almost every project that isn’t based on a popular CMS. Since its fairly expensive to hit the database on every page load, its a smart idea to cache the plain HTML markup of your page and serve that up. Y...
0 780 posted 9 years ago by a1ias
Simple script to send SMS throught our HTTP API (Afilnet) with PHP. Steps: 1.- Register in Afilnet. http://www.afilnet.com/anunciante/registrar.php 2.- Login and get credits (10 free) to send SMS 3.- Use this script or html form example include in...
1 818 posted 9 years ago by Afilnet
Search and returns the first results on a regex search If we use parenthesized or subpattern, can return with $result_number
0 707 posted 9 years ago by jatubio
Build a regex expression to all array elements are present in any order. Gets an array of strings (Sample: array("Access Denied","error","could not be retrieved") Return sample: '(?=.*Access Denied)(?=.*error)(?=.*could not be retrieved)
0 686 posted 9 years ago by jatubio
Replaces spaces by '\s+' which means one or more spaces $string can be one string or one array of strings
0 673 posted 9 years ago by jatubio
findviewbyid in Fragment
0 884 posted 9 years ago by afrinux
Check if jquery was loaded from CDN. If not, load it from own website.
0 827 posted 9 years ago by a1ias
After copying pictures and videos from my tablet to my PC I noticed that the original timestamp was overriden by the current date. Fortunatelly the timestamp was still preserved in the files name. Ex: IMG\_20150214\_202445.jpg or VID\_20140116\...
0 875 posted 9 years ago by mabafu
Translate non alphanumeric characters into an underscore. Doesn't create double underscores if there's two spaces in a row. Also turns name to lowercase. Use with trim to avoid spaces at front or end.
0 1261 posted 9 years ago by flatearthcomms
I am really interested in Computer Vision technology, so I started to dig deeper in this topic. This is how I found the code below for edge detection, a method belonging to object detection. If you are interested in implementing edge detection in C#...
0 1094 posted 9 years ago by DaniBarros
You can find the full source code for corner detection here. I found this solution on www.camera-sdk.com and it worked for me fine. I created a Visual C# WPF application in Visual Studio, and added two .dll files (VOIPSDK.dll and NVA.dll) to the refe...
0 961 posted 9 years ago by MahendraGadhavi
The new updated introduced auto scrolling to highlighted elements, possibility to hide 'next' and 'skip' buttons, add html markup in description, and more.
0 1127 posted 9 years ago by lanagio
If you wish to make your home, office or warehouse more secure, taking frame captures can be a very useful solution for you. And I can tell you this because I’ve already implemented this function at my office. Now I am sharing the prewritten source...
0 1486 posted 9 years ago by AdrianVasilyev
AIX does not have Package Manager like YUM for Open Source Software. So I made a script to automatically install RPM packages on AIX box by downloading it from www.oss4aix.org site via ftp . It is very first version, it does not have all the necess...
0 836 posted 9 years ago by teterkin
Hello Guys, This short ASP.NET code snippet is intended to provide you a brief review on how to add SMS functionality to your website. You will see, this is a very simple but smart solution. This ASP.NET application is able to send messages by usi...
0 1010 posted 9 years ago by Gupta86
This piece of sql is used to find the similarity of one item to other items based on a 3 table tag system, cities, cities_tags, tags. It works in sQlite and MySQL. Use this code to get the idea of how you would make a "item" has "related items" based...
0 632 posted 9 years ago by brownrl
1 ... 15 16 17 18 19 ... 554