Welcome To Snipplr


Everyone's Recent Snippets



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

    Count For Human

    Count For Human is a short cut for long digits to short human readable. E.g. 2045 the result is 2k.
    ActionScript 15 views posted 3 hours ago by RhynelAlgopera4316
  2. FAV

    How To Use Update Query In Laravel ?

    Updating a record in Laravel using Eloquent.
    PHP 78 views posted 1 week ago by devquora
  3. 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 69 views posted 1 week ago by devquora
  4. FAV

    How To Use Delete Query In Laravel

    Learn how to use delete query in Laravel Framework.
    PHP 62 views posted 1 week ago by devquora
  5. FAV

    How to clear laravel cache on Shared Hosting

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

    List Posts By Terms

    To display events from The Events Calendar Pro organized by taxonomy
    PHP 83 views posted 3 weeks ago by reflectiondigital
  7. 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 73 views posted 3 weeks ago by sharkpuck
  8. 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 76 views posted 3 weeks ago by priyagchaudhary
  9. 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 50 views posted 1 month ago by priyagchaudhary
  10. 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 50 views posted 2 months ago by devquora
  11. 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 44 views posted 2 months ago by ginoplusio
  12. 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 44 views posted 2 months ago by xtine777
  13. FAV

    TYPOSCRIPT: Use SUM() in SQL query

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

    Page HTML de base

    example de structure html élémentaire
    HTML 47 views posted 3 months ago by ogrebattle
  15. 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 48 views posted 3 months ago by PietKeizer
  16. 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 47 views posted 3 months ago by cerxx
  17. FAV

    Download a Github user's Public Repositories

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

    PHP Random Spin

    A quick snippet to rotate a series of words on page load using PHP.
    PHP 43 views posted 3 months ago by danparks
  19. 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 53 views posted 3 months ago by cerxx
  20. FAV

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

    A request to clear a single column in a table / MySQL /
    MySQL 46 views posted 4 months ago by cerxx
  21. 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 49 views posted 4 months ago by daemondevin
  22. 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 51 views posted 4 months ago by daemondevin
  23. FAV

    AR code in HTML

    Augmented Reality in HTML
    HTML 59 views posted 4 months ago by freediver
  24. FAV

    Drop-down menu does not work on mobile devices

    It works for me
    JavaScript 52 views posted 4 months ago by cerxx
  25. 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 48 views posted 4 months ago by cerxx
  26. FAV

    Redirect HTTP to HTTPS in Apache

    Redirect HTTP to HTTPS in Apache
    Apache 51 views posted 5 months ago by cerxx
  27. FAV

    How do I set/unset a cookie with JavaScript

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

    Get User IP By jQuery Ajax

    Get User IP By jQuery Ajax
    JavaScript 52 views posted 5 months ago by cerxx
  29. 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 46 views posted 5 months ago by interviewqueries
  30. 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 51 views posted 5 months ago by interviewqueries
« Prev 1 2 3 4 5 ... 570