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 | |
/** | |
* A simple Wordpress function to add to your `functions.php` file in your theme to display | |
* stack of loaded scripts in `wp_head` and `wp_footer`. | |
* Can be used to control loading, get list/name to add defer or async | |
* Originally inspired by https://www.myhostingfacts.com/optimize-css-delivery-inline-and-defer-javascript-wordpress/ | |
* @link https://www.yesweweb.com | |
* | |
* Author: Yes We Web | |
* Author URI: https://www.yesweweb.com |
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
Afghanistan|AF | |
Åland Islands|AX | |
Albania|AL | |
Algeria|DZ | |
American Samoa|AS | |
Andorra|AD | |
Angola|AO | |
Anguilla|AI | |
Antarctica|AQ | |
Antigua and Barbuda|AG |
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
mysql -s -r --user <USER> --password=<PASSWORD> -e 'show databases' | while read db; do mysqldump --user <USER> --password=<PASSWORD> $db | gzip > <SERVER_PATH>/export/${db}_$(date +%Y%m%d-%H%M%S).sql.gz; done |
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 scraper = { | |
iterator: 'article.bi-bloc.blocs.bi-pro', | |
data: { | |
name: {sel: 'a.denomination-links', attr: 'title'}, | |
profile_url: {sel: 'a.denomination-links', attr: 'href', method: function($) { | |
var url = $(this).attr('href').replace("#", ""); | |
if (url) { | |
url = "https://www.pagesjaunes.fr" + url; | |
} | |
return url; |
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
[AdBlock Plus] | |
! Title: sfnprg's custom DNS blocklist | |
! | |
||player.anyclip.com^ | |
||2mdn.net^ | |
||cdn.taboola.com^ | |
||media-video.tcccdn.com | |
||cdn.vlyby.com^ | |
||zoomin.tv^ | |
||blackbird.zoomin.tv^ |