This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chrome Extension | |
Is my site online? | |
-- done. could be reworked, but it's working ... No need to change it | |
https://github.com/BKeanu1989/chrome-is_my_site_online | |
Crawler Software | |
Nightmare-js with Electron & daydream | |
-- not working on it anymore. It has been a fun but short project | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
baloons | |
coffee cups | |
vid compilations | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IntersectionObserver | |
Lazy loading of content | |
Web Speech API | |
https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API | |
Recognition & synthesis | |
PaymentRequest API | |
https://developers.google.com/web/fundamentals/payments/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cumulativeOffset = function(element) { | |
var top = 0, left = 0; | |
do { | |
top += element.offsetTop || 0; | |
left += element.offsetLeft || 0; | |
element = element.offsetParent; | |
} while(element); | |
return { | |
top: top, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright 2016 Google Inc. All Rights Reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!function_exists('write_log')) { | |
function write_log ( $log ) { | |
if ( true === WP_DEBUG ) { | |
if ( is_array( $log ) || is_object( $log ) ) { | |
error_log( print_r( $log, true ) ); | |
} else { | |
error_log( $log ); | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myplugin_plugin_path() { | |
// gets the absolute path to this plugin directory | |
return untrailingslashit( plugin_dir_path( __FILE__ ) ); | |
} | |
add_filter( 'woocommerce_locate_template', 'myplugin_woocommerce_locate_template', 10, 3 ); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function showPrices() { | |
let prices = Array.from(document.querySelectorAll('.index-tee-list-item span.product-price')); | |
prices.forEach(function(price) { | |
price.style.display = "block"; | |
}) | |
} | |
function throttle(func, wait, options) { | |
var context, args, result; | |
var timeout = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Page Template Plugin : 'Good To Be Bad' | |
Plugin URI: http://www.wpexplorer.com/wordpress-page-templates-plugin/ | |
Version: 1.1.0 | |
Author: WPExplorer | |
Author URI: http://www.wpexplorer.com/ | |
*/ | |
class PageTemplater { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/MAMP/bin/php/php7.1.22/bin/phpize --with-php-config=/Applications/MAMP/bin/php/php7.1.22/bin/php-config |