Skip to content
View Hibrix-net's full-sized avatar

Block or report Hibrix-net

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. SVG based lightweight star rating sy... SVG based lightweight star rating system
    1
    <!DOCTYPE html>
    2
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en" xml:lang="en">
    3
        <head>
    4
            <meta charset="UTF-8">
    5
            <title>4.2 - 2.6</title>
  2. PHP Function to correct the issue of... PHP Function to correct the issue of having duplicate variables in the same string
    1
    <?php
    2
        /*
    3
        * Function to correct the issue of having duplicate variables in the same string
    4
        *
    5
        * Example usage:
  3. Regex to match CSS rules and media q... Regex to match CSS rules and media queries
    1
    // Source: https://stackoverflow.com/questions/36910664/recursive-subroutine-regex-to-match-css-media-queries#answer-36911319
    2
    @media print\b[^{]*({((?:[^{}]+|(?1))*)})
    3
    
                  
    4
    // to match i.e.:
    5
    @media print {
  4. Complete Node.js CheatSheet --> UPDA... Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
    1
    /* *******************************************************************************************
    2
     * THE UPDATED VERSION IS AVAILABLE AT
    3
     * https://github.com/LeCoupa/awesome-cheatsheets
    4
     * ******************************************************************************************* */
    5
    
                  
  5. PageSpeed What-Ises PageSpeed What-Ises
    1
    # What is the current PS IP address?
    2
    https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fbearsmyip.com%2F
    3
    
                  
    4
    # What is the current PS viewport size?
    5
    https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwhatismyviewport.com%2F
  6. Random object properties generator (... Random object properties generator (example with 5.000 properties: keys with 21 chars, values with 6 chars)
    1
    const obj = {};
    2
    
                  
    3
    for (let index = 0; index < 5000; index++) {
    4
      obj[makeid(21)] = makeid(6);
    5
    }