In your command-line run the following commands:
brew doctor
brew update
In your command-line run the following commands:
brew doctor
brew update
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<!-- Quitar los slash '/' del final de la ruta --> | |
<rule name="RewriteRequestsToPublic"> | |
<match url="^(.*)$" /> | |
<conditions logicalGrouping="MatchAll" trackAllCaptures="false"> | |
</conditions> |
/** | |
* Fetching data from BigQuery and present it in our sheet | |
* Author: Ido Green | |
* Date: 14/12/2013 | |
* | |
* See: https://greenido.wordpress.com/2013/12/16/big-query-and-google-spreadsheet-intergration/ | |
* Misc: https://developers.google.com/bigquery/ | |
*/ | |
// |
#http://stackoverflow.com/questions/6348289/download-a-working-local-copy-of-a-webpage | |
#http://stackoverflow.com/questions/8755229/how-to-download-all-file-from-website-using-wget | |
#http://stackoverflow.com/questions/4272770/wget-with-authentication?rq=1 | |
#add browser headers: | |
#--header="Accept: text/html" --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/30.0" | |
#add .htaccess authentication details: | |
#--password=password --user=user | |
wget -m -p -E -k -K -np http://site/path/ | |
wget -p -k http://ExampleSite.com | |
# and another via Quora https://www.quora.com/How-do-you-export-a-WordPress-site-to-a-static-HTML |
There are two ways of installing meld on osx (May 2023), using brew
and .dmg
package (from @yousseb). Since I found https://yousseb.github.io/meld/, I've installed it with .dmg
package, but having macOS Ventura Version 13.4 (22F66)
in place, it's not even starting for me. So I tried brew
installation, and the application is working as expected, including symlink to start it from the terminal.
brew install --cask meld
# set meld as your default git mergetool
// Takes a credit card string value and returns true on valid number | |
function valid_credit_card(value) { | |
// Accept only digits, dashes or spaces | |
if (/[^0-9-\s]+/.test(value)) return false; | |
// The Luhn Algorithm. It's so pretty. | |
let nCheck = 0, bEven = false; | |
value = value.replace(/\D/g, ""); | |
for (var n = value.length - 1; n >= 0; n--) { |