Every so often, you may find yourself needing to preserve a website in its current state. Whether this is in advance of a significant website change, general documentation, or the possibility that the site needs to be taken offline, it is a good idea to archive the site so that it is navigable locally and without the need for a server.
Introducing HTTrack HTTrack Website Copier will do just that, download a website to a local directory, build all the directories, get HTML, images, and other files from the server to your computer.
HTTrack has a GUI for Windows that works really well: http://www.httrack.com . You can also use this tool from the command line. See the following steps to archive websites using the HTTrack command line tools.
MacOS Installation: First, you will need to install HTTrack locally. On macOS, https://brew.sh/ is the package manager of choice (as opposed to MacPorts). Homebrew is simpler to set up but does require you
macOS Yosemite and above utilize AWDL (Apple Wireless Direct Link) to handle data transfers to other AWDL-enabled devices (Macs, Macbooks, iPhones, etc.) over the Wifi Radio, without the need for a common underlying Access Point.
However, whenever AWDL is active (Bonjour discovery and any Airdrop, Airplay, and GameKit links and transfers), it will lock the Wifi radio for small intervals. For Bonjour discovery specifically, this comes to an effective packet spooling time of about 50-100ms, once per second (active transfers will be higher).
Obviously, this will create unacceptable latency spikes for low-latency desktop streaming apps. To disable the AWDL interface, use the following command in Applications > Utilities > Terminal (this requires you to be logged in as an Administrator and enter your password):
sudo ifconfig awdl0 down
#!/bin/bash | |
# | |
# Tailscale install script on GL.iNet devices | |
# Tested on BERYL (MT1300), should work on MANGO (GL-MT300N) | |
# and probably other mipsel devices, as long as external storage (microSD/USB) | |
# is available. | |
# | |
# Written by Thomas BOHL for Hemisphere-Project - 2022 | |
# Free to use - No warranty provided |
[user] | |
name = Hua-Ming Huang | |
email = huaming.huang.tw@gmai.com | |
[github] | |
user = huaminghuangtw | |
tokentype = ssh | |
[include] | |
path = ~/.git-sendemail |
#!/bin/sh | |
SERVICE_FILE=nextdns-catchall.service | |
SOURCE_FILE_PATH=/data/${SERVICE_FILE} | |
SYSTEMD_FILE_PATH=/etc/systemd/system/${SERVICE_FILE} | |
if [ ! -f $SOURCE_FILE_PATH ]; | |
then | |
echo "Can't find service file" | |
exit 1 | |
fi |
https://cdn.rawgit.com/mfd/7c7a915eb31474cc8c6a65066a4c4dc3/raw/f0f2fb94c21dea904812a53e0eb6cf0bc87f3754/GTWalsheimPro.css
<link rel="https://cdn.rawgit.com/mfd/7c7a915eb31474cc8c6a65066a4c4dc3/raw/f0f2fb94c21dea904812a53e0eb6cf0bc87f3754/GTWalsheimPro.css">
import pyttsx3 | |
text = "When you invest for five years or above, you can expect gains that comfortably beat the inflation rate and are also higher than fixed income options. But be prepared for ups and downs in your investment value along the way. Aggressive"\ | |
" hybrid funds invest 65-80% of your money in equity shares and the rest in bonds and commodities. Their returns are slightly lower than pure equity funds which" | |
engine = pyttsx3.init(); | |
engine.setProperty('volume', 1) | |
engine.setProperty('rate', 160) | |
engine.say(text) |
<?php | |
/** | |
* @package frammenti | |
* @version 1.0 | |
* | |
* Plugin Name: Frammenti | |
* Plugin URI: http://wordpress.org/extend/plugins/# | |
* Description: This is a development plugin | |
* Author: Carlo Daniele | |
* Version: 1.0 |
[alias] | |
a = add | |
amend = commit --amend | |
c = commit | |
ca = commit --amend | |
ci = commit -a | |
co = checkout | |
d = diff | |
dc = diff --changed | |
ds = diff --staged |