Welcome To Snipplr
Everyone's Recent Snippets Tagged text
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Function for obfuscate Text in html pages. good for making screenshot and mind data protection if needed. changes Text into many small divs with different bgcolor.
0
12321
posted 5 years ago by PietKeizer
convert numbers to letters
Ce module permet de convertir un chiffre entier de 0 à 99999999999999.
La méthode utilisée est la décomposition du chiffre par récursivité.
nous divisons le chiffre par les éléments suivant :
10^9 (milliard)
10^6 (...
0
5663
posted 5 years ago by martinbrait
This is a simple PHP class that can be used to produce nicely formatted reports from unorganized data.
0
1018
posted 9 years ago by COBOLdinosaur
C#
How to add text-to-speech and speech-to-text features to your SIP software by using Microsoft Speech Platform in C#?
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
1809
posted 9 years ago by warnerBro19
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
1378
posted 9 years ago by warnerBro19
Hey Guys,
This is a short and straightforward article (or let’s say „tip†or „mini-reviewâ€) that presents how to send SMS messages from your own C++ (Cpp / C plus plus) application through HTTP. You will see, it is gonna be really easy....
0
2098
posted 9 years ago by Gupta86
Use PHP's DOM parser to convert a table into plain text (including links with images)
0
1711
posted 9 years ago by nigelnquande
This function takes HTML input and converts it to plain text. It needs improvement so that it converts multiple blank lines to a single blank line and converts an <a ... > link to the markup equivalent (same for images). It should be rewritten...
0
1146
posted 9 years ago by nigelnquande
Using a combination of background and padding styles to modify the way list image styles are applied.
0
994
posted 10 years ago by bcounts
I created this code for practice, and I looking for better and clear solution for the last instance where I can write or delete the data, but after I want to get back the content as array or the key as string. I want to use this write-read back with...
0
1009
posted 10 years ago by gitarfogas
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0
1818
posted 10 years ago by johansonkatherine
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0
1324
posted 10 years ago by johansonkatherine
This code shows how java developers can change color space of PDF document from RGB color to CMYK and vice versa by using Aspose.PDF for Java Library. The following methods have been implemented in the Operator class for changing colors. Use it to ch...
0
1903
posted 10 years ago by johansonkatherine
C#
C#/.NET Code Samples to Save Microsoft OneNote (.one) file as an image (.PNG, .BMP, .JPEG, .GIF) file
The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
0
1842
posted 10 years ago by johansonkatherine
This snippet is a basic slide with a header and a paragraph
0
842
posted 11 years ago by mralexjuarez
A little snippet that I use to hide or show text using jquery
1
921
posted 11 years ago by TwistedEinstein
Simple function to include in your script to enable multi-line text-overflow.
See the jsfiddle (http://jsfiddle.net/eAyyL/) for details on the necessary CSS and HTML layout.
0
1039
posted 11 years ago by JoshChris
A simple way of displaying a random list item. Could be used to randomly display anything.
Demo: jsfiddle.net/uRd6N/ (keep clicking run)
0
2023
posted 11 years ago by i-am-andy
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
0
1059
posted 11 years ago by stephcode
The CSS text overflow ellipsis solution is perfect for single line truncations. I use this constantly when building mobile or responsive applications.
0
949
posted 11 years ago by chillyjames
Truncate text using only CSS. IE 6+, Safari 4+, Firefox 7+, Opera 11+ and Chrome 10+:
0
924
posted 11 years ago by zfisic
Sometimes you have some information on your page and your visitors might want to copy it. The easiest way is to provide a mechanism that allows them to simply click a button to do so. You have to paste this code into the head of your web page:
0
998
posted 11 years ago by apphp-snippets