create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| <?php | |
| /** | |
| * Export WordPress post data to CSV | |
| * Based on <http://stackoverflow.com/a/3474698> and <http://ran.ge/2009/10/27/howto-create-stream-csv-php/> | |
| */ | |
| /** | |
| ********************************************************************* | |
| * Configuration | |
| ********************************************************************* |
| let regex; | |
| /* matching a specific string */ | |
| regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello" | |
| regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO" | |
| regex = /hello/g; // looks for multiple occurrences of string between the forward slashes... | |
| /* wildcards */ | |
| regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo" | |
| regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo" |
| # ----------------------------------------------------------------- | |
| # .gitignore | |
| # Bare Minimum Git | |
| # http://ironco.de/bare-minimum-git/ | |
| # ver 20181206 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.githubusercontent.com/celsobessa/67e02d08bf89ada501e7ea8531cc0624/raw/a6a4ff4cd71112a566ed893846dd4ab8d14035c0/.gitignore | |
| # to download this file | |
| # |
| #!/bin/sh | |
| # http://www.alfredklomp.com/programming/shrinkpdf | |
| # Licensed under the 3-clause BSD license: | |
| # | |
| # Copyright (c) 2014, Alfred Klomp | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| admin account info" filetype:log | |
| !Host=*.* intext:enc_UserPassword=* ext:pcf | |
| "# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
| "AutoCreate=TRUE password=*" | |
| "http://*:*@www” domainname | |
| "index of/" "ws_ftp.ini" "parent directory" | |
| "liveice configuration file" ext:cfg -site:sourceforge.net | |
| "parent directory" +proftpdpasswd | |
| Duclassified" -site:duware.com "DUware All Rights reserved" | |
| duclassmate" -site:duware.com |
| var isProxyBased = (/S40[\w]{3,5}Browser|Opera\sMini\//i).test(navigator.userAgent); | |
| if (('querySelector' in document && 'localStorage' in window && 'addEventListener' in window && !isProxyBased) || (isIE > 6 && document.getElementById('js-holepunched'))) { | |
| // do stuff | |
| } |
| // add all the elements inside modal which you want to make focusable | |
| const focusableElements = | |
| 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'; | |
| const modal = document.querySelector('#exampleModal'); // select the modal by it's id | |
| const firstFocusableElement = modal.querySelectorAll(focusableElements)[0]; // get first element to be focused inside modal | |
| const focusableContent = modal.querySelectorAll(focusableElements); | |
| const lastFocusableElement = focusableContent[focusableContent.length - 1]; // get last element to be focused inside modal | |
| https://gtmetrix.com/ | |
| https://gtmetrix.com/blog/how-to-read-a-waterfall-chart-for-beginners/ | |
| https://www.webpagetest.org/ | |
| https://wordpress.org/plugins/query-monitor/ | |
| https://github.com/crstauf/query-monitor-extend | |
| https://newrelic.com/products/application-monitoring | |
| https://help.nexcess.net/74095-wordpress/configure-new-relic-monitoring | |
| https://wordpress.org/plugins/wp-newrelic/ |
| // Let's initialize the primitives | |
| var startTime, endTime, fileSize, result, unit = {kbps:1,kBps:8}; | |
| // Set up the AJAX to perform | |
| var xhr = new XMLHttpRequest(); | |
| // Rig the call-back... THE important part | |
| xhr.onreadystatechange = function () { | |
| // we only need to know when the request has completed |