Welcome To Snipplr


Everyone's Recent Snippets



« Prev 1 2 3 4 5 ... 570
CSS Conic Gradient Example...........................
0 868 posted 2 months ago by jamiedornan
Take attribute data stored in a CSV and insert it into an SVG based on unique ID field. The final bit of code adds an 'onmouseover' effect to animate the map in javascript.
0 590 posted 2 months ago by ralentina
scraping geographical coordinates from an online directory (for a mapping project), using Beautiful Soup. Data exported into csv.
1 532 posted 3 months ago by ralentina
This the base code for creating adapter class which is used for filling recyclerview in android. This snippet is written in kotlin but it is same to the java version
0 412 posted 3 months ago by m3000
<p><div id="calc"> <p><b>VAT rate:</b> <input type="text" id="vat_rate" placeholder="20" size="10" value> <p><b>Net price:</b> <input type="text" id="net_price" size="10" value> <p><b>Gross price:</b> <input type="text" id="gross_price" size="1...
0 448 posted 3 months ago by antonykidless
The examples use real providers that launch real resources. That means they can cost money to experiment with. To avoid unexpected charges, be sure to understand the price of resources before launching them, and verify any unneeded resources are clea...
0 582 posted 3 months ago by NehaBharti5825
This is used to validate a date in a specific format. The code example is to validate whether it is a valid dd/MM/yyyy Date Format.
0 699 posted 4 months ago by jlustre
Use to sort table columns by clicking on the table headings
0 552 posted 4 months ago by jlustre
This code is used to get the unique values of an array.
0 514 posted 4 months ago by jlustre
This code is to find the domain age in PHP.
1 585 posted 4 months ago by hexgh12345
Always gives me perfect date. Sample Output Current Day is: 1 Current Month is: 2 Current Year is: 2020 Current Hour is: 17 Current Minute is: 3 Current Second is: 8 Current Microsecond is: 556483
0 580 posted 4 months ago by johnwalsh1
Count For Human is a short cut for long digits to short human readable. E.g. 2045 the result is 2k.
0 654 posted 4 months ago by RhynelAlgopera4316
Updating a record in Laravel using Eloquent.
0 710 posted 4 months ago by devquora
Laravel provides several different ways to validate your application incoming data.By default Laravel’s base controller class uses a ValidatesRequests trait which provides a convenient method to validate all incoming HTTP requests coming from client....
0 666 posted 4 months ago by devquora
Learn how to use delete query in Laravel Framework.
0 647 posted 4 months ago by devquora
Clear Laravel Cache on shared hosting
0 652 posted 4 months ago by devquora
To display events from The Events Calendar Pro organized by taxonomy
0 624 posted 5 months ago by reflectiondigital
fixes the dropdown li menu in Divi after shrinking header scroll to keep the li elements the correct color
0 661 posted 5 months ago by sharkpuck
In this article, we will show you how to create a Hibernate Application using Java configuration without using hibernate.cfg.xml to connect the MySQL database. Below diagram shows Java code for Hibernate settings equivalent to hibernate.cfg.xml's...
0 629 posted 5 months ago by priyagchaudhary
JavaScript is a client-side as well as server side scripting language that can be inserted into HTML pages and is understood by web browsers. JavaScript is also an Object based Programming language. Example Note: This is an example, you can change...
0 610 posted 6 months ago by priyagchaudhary
CSS gradients help you to display transitions between more than two colors. In order to create a linear gradient, you must represent at least two color stops. Color stops are the colors you desire to render smooth transitions among. In addition to th...
0 610 posted 7 months ago by devquora
Extract all the tags (shared between two post types) used with a specific post type
0 623 posted 7 months ago by ginoplusio
Typoscript fields are not exported by default in Powermail. If you want them to be exported you need to add this line in the Page TSConfig of your root page or form page:
0 545 posted 7 months ago by xtine777
Add values from a given field in your database
0 584 posted 7 months ago by xtine777
example de structure html élémentaire
1 741 posted 8 months ago by ogrebattle
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 687 posted 8 months ago by PietKeizer
installed in a special folder /wp-content/mu-plugins and disabled auto-update plugins and core WP
0 636 posted 8 months ago by cerxx
Clone any Github user's collection of public repositories
0 643 posted 8 months ago by rootVIII
A quick snippet to rotate a series of words on page load using PHP.
1 639 posted 8 months ago by danparks
How to set the PHP maximum execution time and script memory limit in an .htaccess file
0 700 posted 8 months ago by cerxx
« Prev 1 2 3 4 5 ... 570