Welcome To Snipplr


Everyone's Recent Snippets



« Prev 1 2 3 4 5 ... 570
  1. FAV

    How To Use Update Query In Laravel ?

    Updating a record in Laravel using Eloquent.
    PHP 63 views posted 6 days ago by devquora
  2. FAV

    How to add validation in Laravel

    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....
    PHP 55 views posted 6 days ago by devquora
  3. FAV

    How To Use Delete Query In Laravel

    Learn how to use delete query in Laravel Framework.
    PHP 49 views posted 6 days ago by devquora
  4. FAV

    How to clear laravel cache on Shared Hosting

    Clear Laravel Cache on shared hosting
    PHP 59 views posted 1 week ago by devquora
  5. FAV

    List Posts By Terms

    To display events from The Events Calendar Pro organized by taxonomy
    PHP 72 views posted 3 weeks ago by reflectiondigital
  6. FAV

    Fix dropdown menu after scroll in Divi to keep menu items white (or whatever color you need)

    fixes the dropdown li menu in Divi after shrinking header scroll to keep the li elements the correct color
    ActionScript 65 views posted 3 weeks ago by sharkpuck
  7. FAV

    Hibernate project

    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...
    XML 64 views posted 3 weeks ago by priyagchaudhary
  8. FAV

    Read Javascript questions for interview with example

    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...
    JavaScript 39 views posted 1 month ago by priyagchaudhary
  9. FAV

    syntax for creating the gradient in CSS

    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...
    CSS 42 views posted 2 months ago by devquora
  10. FAV

    How to extract the tags shared between two different post types in Wordpress

    Extract all the tags (shared between two post types) used with a specific post type
    PHP 35 views posted 2 months ago by ginoplusio
  11. FAV

    Powermail export field type "Typoscript"

    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:
    TYPO3 39 views posted 2 months ago by xtine777
  12. FAV

    TYPOSCRIPT: Use SUM() in SQL query

    Add values from a given field in your database
    TYPO3 38 views posted 3 months ago by xtine777
  13. FAV

    Page HTML de base

    example de structure html élémentaire
    HTML 35 views posted 3 months ago by ogrebattle
  14. FAV

    function to obfuscate web text into random design

    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.
    PHP 41 views posted 3 months ago by PietKeizer
  15. FAV

    Plugin that disables notifications of wp-kernel and wp-plugin updates

    installed in a special folder /wp-content/mu-plugins and disabled auto-update plugins and core WP
    PHP 36 views posted 3 months ago by cerxx
  16. FAV

    Download a Github user's Public Repositories

    Clone any Github user's collection of public repositories
    Python 42 views posted 3 months ago by rootVIII
  17. FAV

    PHP Random Spin

    A quick snippet to rotate a series of words on page load using PHP.
    PHP 32 views posted 3 months ago by danparks
  18. FAV

    How to set the PHP maximum execution time and script memory limit in an .htaccess file

    How to set the PHP maximum execution time and script memory limit in an .htaccess file
    Apache 45 views posted 3 months ago by cerxx
  19. FAV

    A request to clear a single column in a table / MySQL /

    A request to clear a single column in a table / MySQL /
    MySQL 36 views posted 4 months ago by cerxx
  20. FAV

    lastModified.func.php

    With this snippet you will have the ability to deliver the most recent version of any file. When dealing with a browser's cache you can't be certain your viewers are getting the most recent copy. By appending a GET value (the UNIX timestamp) to, f...
    PHP 38 views posted 4 months ago by daemondevin
  21. FAV

    getDoctype.inc.php

    With this snippet you will have the ability to display the `<DOCTYPE>` while sending the correct headers with support for content type negotiation. It also will correct itself for the W3C validator which does not send the correct Accept header for...
    PHP 40 views posted 4 months ago by daemondevin
  22. FAV

    AR code in HTML

    Augmented Reality in HTML
    HTML 50 views posted 4 months ago by freediver
  23. FAV

    Drop-down menu does not work on mobile devices

    It works for me
    JavaScript 46 views posted 4 months ago by cerxx
  24. FAV

    JQuery - how to wait for the \"end\" of the \"resize\" event and only then perform the action?

    The resizeend event. It works for me
    JavaScript 35 views posted 4 months ago by cerxx
  25. FAV

    Redirect HTTP to HTTPS in Apache

    Redirect HTTP to HTTPS in Apache
    Apache 43 views posted 5 months ago by cerxx
  26. FAV

    How do I set/unset a cookie with JavaScript

    There is no need to use jQuery particularly to manipulate cookies.
    JavaScript 44 views posted 5 months ago by cerxx
  27. FAV

    Get User IP By jQuery Ajax

    Get User IP By jQuery Ajax
    JavaScript 42 views posted 5 months ago by cerxx
  28. FAV

    What is default session time and path in PHP. How to change it ?

    Default session time in PHP is 1440 seconds (24 minutes) and the Default session storage path is temporary folder/tmp on server.
    PHP 37 views posted 5 months ago by interviewqueries
  29. FAV

    How to use "IN" Query in Laravel ?

    In Laravel you can use "IN" query as Using Eloquent $data = YourModel::whereIn('id', array(1, 2, 3))->get(); Using DB Query builder $data = DB::table('your_table')->whereIn('id', array(1, 2, 3))->get();
    PHP 41 views posted 5 months ago by interviewqueries
  30. FAV

    Get the Value of the Custom Field Using the Shortcode

    Get the Value of the Custom Field Using the Shortcode
    PHP 42 views posted 5 months ago by cerxx
« Prev 1 2 3 4 5 ... 570