Welcome To Snipplr


Everyone's Recent Snippets



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

    New SnippetNew SnippetNew SnippetNew SnippetNew SnippetNew SnippetNew Snippet

    Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc Desc
    PHP 3 views posted 3 weeks ago by priyank780
  2. FAV

    When content is the king, dynamic content is king of the content - PHP Solution

    When content is the king, dynamic content is king of the content. A successful website is hardly possible without visual effects, various interactive elements and integrated third-party services like Google Maps. Perfect web services are visually adv...
    PHP 5 views posted 2 years ago by Nick8
  3. FAV

    Htaccess rewrite file for Letsencrypt and CakePHP app

    This .htaccess actually forces all traffic to https, and allows cakephp app to work properly, as well as letsencrypt to go thru
    Apache 6 views posted 2 years ago by acosonic
  4. FAV

    C Program to read mouse in console via GPM

    Install GPM using installer such as apt or dnf All you have to do is save code with mouse.c file name and compile it : gcc -o mouse mouse.c -lgpm and you got a "mouse" program that executes l.sh on left, r.sh on right and m.sh on middle mouse...
    Pascal 3 views posted 2 years ago by xyzeugene
  5. FAV

    Evening Desert Safari

    If you want to see this sight unfold right before your very eyes, then our Evening Desert Safari Tour is perfect for you. If you need more information, please do not hesitate to reach us. To make it convenient and accessible for our guests, we have p...
    SAS 3 views posted 2 years ago by desertsafaritoure
  6. FAV

    Add Separators in WordPress Admin Menu

    Add this snippet to theme's functions.php Add menu items that will have separator after them to $separatorsAfter array.
    PHP 8 views posted 2 years ago by cusmin
  7. FAV

    Add Admin Menu Separators

    Please add this code to functions.php This will add admin menu separators between all admin menu items.
    PHP 5 views posted 2 years ago by cusmin
  8. FAV

    Read data from txt files

    Read data from TXT files to import them in Excel environment
    Visual Basic 24 views posted 2 years ago by buglilorenzo
  9. FAV

    MySql workbench add created and modified columns for CAKEPHP

    Name this script whatever you want, and run it via Workbench Scripting shell
    Python 4 views posted 2 years ago by acosonic
  10. FAV

    Hide Cusmin Appearance in WordPress

    Hide Cusmin plugin appearance from all other users, even administrators. Add this code to active themes's functions.php
    PHP 4 views posted 2 years ago by cusmin
  11. FAV

    Prevent Access to a Specific File/s in .htaccess

    This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.
    Bash 5 views posted 2 years ago by apphp-snippets
  12. FAV

    Force www./no-www. in .htaccess

    This example shows you how to force www. or no-www. using .htaccess file.
    Bash 5 views posted 2 years ago by apphp-snippets
  13. FAV

    pdf: get all fields and set to read only

    set all fields to read only in a for-loop,
    JavaScript 3 views posted 2 years ago by alexosm
  14. FAV

    WordPress/WooCommerce - Redirect add to cart button to the checkout page

    Automatically redirect users to the checkout page once a product has been added to the cart. This code should go to your functions.php file.
    PHP 7 views posted 2 years ago by catswhocode
  15. FAV

    Get all values from form and send it to a page via Ajax

    Here’s a super handy snippet that I use very often. It works very simply: once the user clicks on #submit, the data from #form is serialized and sent to a remote page using the POST method.
    jQuery 6 views posted 2 years ago by catswhocode
  16. FAV

    SQL queries to change http to https in WordPress posts/pages

    More info: https://www.catswhocode.com/blog/install-https-wordpress
    SQL 4 views posted 2 years ago by catswhocode
  17. FAV

    Example of iOS Phone Sample SMS Code - Messaging API

    The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
    iPhone 8 views posted 2 years ago by Broadnet
  18. FAV

    Example of iOS Phone Sample SMS Code - Messaging API

    The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
    iPhone 4 views posted 2 years ago by Broadnet
  19. FAV

    Example of VB6 Sample SMS Code - Messaging API

    The following example of VB6 sample SMS code uses an expedient object, contingent on the HTTP API.
    Visual Basic 6 views posted 2 years ago by Broadnet
  20. FAV

    Primary Key and Foreign Key

    A few examples of creating a primary key and a foreign key
    SQL 5 views posted 2 years ago by bbrumm
  21. FAV

    Python Sample SMS Code - SMS Messaging API

     Just try the following Python Sample SMS Code scripts and you will find that sending SMS to your contact via this programming script is fun! 
    Python 12 views posted 2 years ago by Broadnet
  22. FAV

    Example of PHP Sample SMS code - Messaging API

    BroadNet Technologies furnishes you with a variety of PHP Sample SMS code examples and programming objects, and assist you in connecting to our gateway via the PHP script. Sending your messages via our designed PHP SMS Sample Code is easier than you...
    PHP 14 views posted 2 years ago by Broadnet
  23. FAV

    JAXB FileCreating

    Write Object XXX with accordingly Annotations to File answer_XXX in according Schema to the Object.
    Java 2 views posted 2 years ago by hoplite
  24. FAV

    Example of Java Sample SMS code

    This example of Java SMS Sample Code utilizes a clichéd Java Object API.
    Java 9 views posted 2 years ago by Broadnet
  25. FAV

    Connect To A MySQL Database

    This code snippet shows how to connect to a MySQL database using Connector/J.
    Java 10 views posted 2 years ago by syedhussim
  26. FAV

    For loop using foreach on a string value

    Using foreach to loop over each character letter in a string. Microsoft Official Reference: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/foreach-in Explanations from other websites: https://www.dotnetperls.com/loop-...
    C# 4 views posted 2 years ago by clinaq
  27. FAV

    C# - Convert decimal value of integer type to binary value of string type

    Microsoft Official Documentation: https://msdn.microsoft.com/en-us/library/8s62fh68(v=vs.110).aspx
    C# 7 views posted 2 years ago by clinaq
  28. FAV

    Get Random Record Based on Weight

    This snippet allows you to get random record from given table by weight. To run it, it must have a field named "weight". The more "weight" is assigned, the more often the record is selected. The value of "weight" should be an integer between 1 and 10...
    MySQL 6 views posted 2 years ago by apphp-snippets
  29. FAV

    Insert or Update Record if Unique Key Already Exists

    This snippet allows you to insert new record into table. In case a unique key already exists - it updates appropriate fields only, leaving other fields untouched.
    SQL 4 views posted 2 years ago by apphp-snippets
  30. FAV

    HTML5 Article Structure with News

    This example is a full HTML5 article structure. Just copy/paste it into your page to check.
    HTML 7 views posted 2 years ago by apphp-snippets
« Prev 1 2 3 4 5 ... 570