Skip to content
View diego-betto's full-sized avatar

Block or report diego-betto

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

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

Report abuse
diego-betto/README.md

Hi there πŸ‘‹

I'm Diego Betto!

also

  • 🎢 music-dependent
  • πŸ“· photography enthusiast
  • 🐢 dogs lover
  • πŸ‘¨β€πŸ³ BBQ griller
  • πŸ›  DIY maker

Pinned Loading

  1. express-pg-session-next express-pg-session-next Public

    Forked from sanjaypojo/express-pg-session

    JavaScript 1

  2. passive-scroll.js passive-scroll.js
    1
     addEventListener(document, "touchstart", function(e) {
    2
        console.log(e.defaultPrevented);  // will be false
    3
        e.preventDefault();   // does nothing since the listener is passive
    4
        console.log(e.defaultPrevented);  // still false
    5
      }, Modernizr.passiveeventlisteners ? {passive: true} : false);
  3. Wordpress Theme: Inline Embed SVG files Wordpress Theme: Inline Embed SVG files
    1
    <?php 
    2
    // in functions.php
    3
    
                  
    4
    function inlineSvg($file)
    5
    {
  4. Disable default Wordpress embeds in ... Disable default Wordpress embeds in frontend
    1
    <?php
    2
    //  in functions.php
    3
    
                  
    4
    if (!is_admin()){
    5
    	remove_action( 'rest_api_init', 'wp_oembed_register_route' );
  5. inline-svg.php inline-svg.php
    1
    function inlineSvg($file)
    2
    {
    3
    	$theFile = get_template_directory().'/dist/images/'.$file.'.svg';
    4
    	echo  (is_file($theFile) ? file_get_contents(get_template_directory().'/dist/images/'.$file.'.svg') : '');
    5
    }