Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Moving a wordpress site for local dev, to staging, to production? This SQL snippet has done the job more often than not. It may not be 100% full proof but it has saved my butt hundreds of times. Please, if you know other tables or enhancements share...
0
941
posted 9 years ago by brownrl
Hi, here i implement multiple image upload custom field to page post type if you want it for another post type just change post type name.
Add this following code to your current theme’s function.php file. Go to your pages from wordpress admin a...
0
4788
posted 9 years ago by nbpurohit
Tripwire is a special part of motion detection that can be used to monitor and alert on specific changes. More specifically: tripwire means the detection of intrusion.
This code snippet presents how to create a C# software by using prewritten comp...
0
1436
posted 9 years ago by chewie-wookiee
This is a simple SASS script that producing CSS classes for text alignment in different screen sizes primarily for bootstrap but of course can be used in other scripts as well.
0
1027
posted 9 years ago by merianos
A simple transition from a linear gradient to a radial gradient can be made very dramatic by including a color change transition. One of 10 effects presented.
0
1043
posted 9 years ago by COBOLdinosaur
I am tired of having to go through text and adding quotation marks and commas to strings or just commas after numbers... f-that. Fixed.
0
997
posted 9 years ago by joshuaherman
Calculates the center moving average for a time period. The vA requires a range or an array of numbers and the iSteps takes the number of periods in the timeframe (4 for quarters, 7 for weekly, ect)
1
1338
posted 9 years ago by BDOGG32
I had a go at softphone development some months ago. It isn’t secret that I want to build a powerful IVR system to make the current call centers much more effective. Yes, there are many similar software available on the market for this purpose, but...
0
1248
posted 9 years ago by sacha-manji
I had a go at softphone development some months ago. It isn’t secret that I want to build a powerful IVR system to make the current call centers much more effective. Yes, there are many similar software available on the market for this purpose, but...
0
1244
posted 9 years ago by sacha-manji
A simple Python censor script that takes 2 arguments. One is for the text you want to censor and the other is the list of words that should not be viewed.
0
947
posted 9 years ago by arielinfante
The base rotation can be in three different planes; though as we will see later combinations can make it look like we rotate through many perceived planes. In the examples below instead of rotate we specify the plane by using rotateZ (The default we...
0
1170
posted 9 years ago by COBOLdinosaur
Adds a Logout link to the end of your Primary Navigation is the user is logged in; else adds a Login link to the end of your Primary Navigation.
0
1035
posted 9 years ago by entreprenerds
A conference call is a meeting, conducted over the phone using audio, between two or more people and usually for the purposes of discussing a particular topic. In my former snippets I dealt with text-to-speech and speech-to-text functionalities. So t...
0
1612
posted 9 years ago by warnerBro19
Simple PHP search with whole word extract and highlighted search word
0
1022
posted 9 years ago by flatearthcomms
Two functions that can extract text from a string. Must have the Option Compare Text at the top of the module.
2
1093
posted 9 years ago by BDOGG32
Uses regular expressions to do string manipulation. Enter a regular expression into the required parameter and what you want the manipulation to do and it will process the string manipulation. For example if A1 contains John Doe1, Jane Doe2, John W...
2
1170
posted 9 years ago by BDOGG32
Code to turn certain feature off and on for faster running of code in Excel
1
1518
posted 9 years ago by BDOGG32
Consulta que permite convertir todas las tablas en colación utf8
0
1072
posted 9 years ago by ironcrema
In SQL I can get this by adding AND to the join
LEFT JOIN installations i ON a.id = i.app AND i.page = :page
This way I get the installation info for an app that has an installation on the page, but I get null values on the columns for app's that...
0
2646
posted 9 years ago by satie83
Show a list of active plugins on current site.
I use it for diplaying in ManageWP and transfer to documentation
1
1070
posted 9 years ago by ellegaarddk
Do you know how to convert uint32_t in little endian to file like char array? I have a variable sumGlobalContentSum (in hex). Than i write in file dstFile. Value of sumGlobalContentSum is realy d1 when I write it out like cout << hex ... But when I w...
0
1175
posted 9 years ago by Lukynn