working on it ...

Filters

Explore Public Snippets

Sort by

Found 201 snippets

    public by azazqadir  533  1  5  -1

    Installing PHP Website on Linode Server

    Here is how you can easily host a PHP based website easily and quickly on Linode using Cloudways PaaS: https://www.cloudways.com/blog/host-php-on-linode/
    <?php
    echo rand() . "\n";
    echo rand() . "\n";
    
    echo rand(5, 15);
    ?>

    public by ikhwan88  456  0  4  0

    TABLE

    TABLE
    <table class="tabulka">
    <tbody><tr>
    <td colspan="2" class="hlavicka"><strong>Jennifer Lawrence measurements</strong></td>
    </tr>
    <tr>
    <td><span class="info">Body shape:</span></td>
    <td>Hourglass (<a href="http://www.bodymeasurements.org/female-body-shapes/" title="Guide for different female body types">explanation</a>)</td>
    </tr>
    <tr class="under">
    <td><span class="info">Dress size:</span></td>
    <td>6</td>
    </tr>
    <tr>
    <td><span class="info">Breasts-Waist-Hips:</span></td>
    <td>36-26-36 inches (91-66-91 cm)</td>
    </tr>
    <tr class="under">
    <td><span class="info">Shoe/Feet:</span></td>
    <td>10</td>
    </tr>
    <tr>
    <td><span class="info">Bra size:</span></td>
    <td>34B</td>
    </tr>
    <tr class="under">
    <td><span class="info">Cup:</span></td>
    <td>B</td>
    </tr>
    <tr>
    <td><span class="info">Height:</span></td>
    <td>5’8” (172 cm)</td>
    </tr>
    <tr class="under">
    <td><span class="info">Weight:</span></td>
    <td>137 lbs (62 kg)</td>
    </tr>
    <tr>
    <td><span class="info">Natural breasts or implants?</span></td>
    <td>Natural (<a href="http://www.bodymeasurements.org/real-vs-fake-breasts/" title="How to recognize fake breasts">how do we know this?</a>)</td>
    </tr>
    </tbody></table>				

    public by paulsimmons  1102  0  5  0

    WooCommerce Ajax Product Filter by FMEAddons

    Ajax Product filter WooCommerce plugin by FMEAddons allows you to implement advanced search on your online store which will help your customers to find desired product (s) in a blink with the help of advance layered navigation filters. Adding ajax based product filtering on your online store will help you to eliminate delay in the searching process
    <? php                                     

    public by simos  1502  1  5  0

    html 5 template

     
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    
    <script src="https://use.fontawesome.com/f7fe6f4f19.js"></script>
    
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    
    <body></body>
    
    
    </html>                        

    public by crog3ar  1450  1  3  0

    wp_no_readmore

    //edit content.php
    find the_excerpt - replace with the_content
    
    <!-- comment readmore button -->

    public by anndmill  1162  0  6  0

    Размер файла

    <?php
    // Enter here the actual content of the snippet.            
    function getFilesize($file,$digits = 2) {
           if (is_file($file)) {
                   $filePath = $file;
                   if (!realpath($filePath)) {
                           $filePath = $_SERVER["DOCUMENT_ROOT"].$filePath;
           }
               $fileSize = filesize($filePath);
                   $sizes = array("TB","GB","MB","KB","B");
                   $total = count($sizes);
                   while ($total-- && $fileSize > 1024) {
                           $fileSize /= 1024;
                           }
                   return round($fileSize, $digits)." ".$sizes[$total];
           }
           return false;
    }
    
    echo getFilesize("file_name.ext");
    ?>

    public by LaurenceTamatea  127764  0  4  0

    Variable Inside Function

    <!DOCTYPE html>
    <!--
    To change this license header, choose License Headers in Project Properties.
    To change this template file, choose Tools | Templates
    and open the template in the editor.
    -->
    <html>
        <head>
            <title>Global and Local Variables</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
        </head>
        <body>
            <div>Global and Local Variables</div>
            
            <script>
          
           function houseTypes () {
               var houses = "one storey";
               document.write (houses);
               
           }
           
           houseTypes ();
           
            </script>
        </body>
    </html>       

    public by alien  2346  0  4  0

    PLACE BUTTON UNDER TOOLS

      <Button guid="guidToolWindow1PackageCmdSet" id="ToolWindow1CommandId" priority="0x0100" type="Button">
        <Parent guid="guidSHLMainMenu" id="IDG_VS_TOOLS_OTHER2"/>
        <Icon guid="guidImages" id="bmpPic1" />
        <Strings>
          <ButtonText>ToolWindow1</ButtonText>
        </Strings>
      </Button>
    </Buttons>// Enter here the actual content of the snippet.            
    

    public by yo12  1812  1  5  0

    js function

    <html>
    <head>
    <title>משתנים</title>
    
    <script type="text/javascript">
    
    // הגדרת משתנים
    var a=1;
    var b=2;
    var res; // תוצאה
    
    /***   הגדרת פונקציות   ***/
    
    // פונקציה להצגת נתונים
    function show(item) { 
      alert(item);
    }
    
    // פונקציה לחיבור שני מספרים
    function add(item1, item2) {
      return item1 + item2;
    }
    
    /***  הגדרת פונקציות - סוף   ***/
    
    // חבר משתנים והצב בתוצאה
    res = add(a, b);
    
    // הצג תוצאה
    show(res)
    
    
    </script>
    
    </head>
    <body>
    
    
    </body>
    </html>
                

    public by yo12  1974  0  5  0

    js vars

    <html>
    <head>
    <title>משתנים</title>
    
    <script type="text/javascript">
    
    // הגדרת משתנים
    var a=1;
    var b=2;
    var res; // תוצאה
    
    // חבר משתנים והצב בתוצאה
    res = a+b;
    
    // הצג תוצאה
    alert(res)
    
    
    </script>
    
    </head>
    <body>
    
    
    </body>
    </html>
                
    • Public Snippets
    • Channels Snippets