last update: Dec 4, 2020
- macOS >= 10.14 (Mojave); tested with 10.15 (Catalina)
- homebrew properly installed
last update: Dec 4, 2020
Prerequisites:
# One liner | |
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com | |
# Explained | |
wget \ | |
--recursive \ # Download the whole site. | |
--page-requisites \ # Get all assets/elements (CSS/JS/images). | |
--adjust-extension \ # Save files with .html on the end. | |
--span-hosts \ # Include necessary assets from offsite as well. | |
--convert-links \ # Update links to still work in the static version. |
/* | |
* Verify GitHub webhook signature header in Node.js | |
* Written by stigok and others (see gist link for contributor comments) | |
* https://gist.github.com/stigok/57d075c1cf2a609cb758898c0b202428 | |
* Licensed CC0 1.0 Universal | |
*/ | |
const crypto = require('crypto') | |
const express = require('express') | |
const bodyParser = require('body-parser') |
I bought my Samsung ATIV 500T back in 2013 in Paris. It was preinstalled with Windows 8 Home. I soon upgraded it to Windows 8 Professional to be a part of the work domain. And later to Windows 8.1 and later to Windows 10.
I am still very happy with it and it's pen-OneNote combination is still bringing a lot of surprise to whoever is near.
Once I incidentally tryied to install SQL Express to it and it was very bad decision. I create a Windows Restore Point before so it was quite easy to roll back.
But few days ago I tried to do the factory Reset
and ended up with unbootable device. There seems to be no "Boot from USB" so I have had to come with another idea.
There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.
First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com
, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/
)