From 22299f84d39c26dd661a217809ae3174ccfaf4eb Mon Sep 17 00:00:00 2001
From: Luke Smith We will be using the command
@@ -81,7 +81,7 @@
If you want to check both a username and password with an ip address, use the htpasswd to make username and password pairs.apt install apache2-utilssatisfy directive.location /api {
#...
- satify all ;
+ satisfy all ;
allow 192.168.1.23:8080 ;
deny 127.0.0.1 ;
diff --git a/bat.html b/bat.html
index a768223..be0f5a2 100644
--- a/bat.html
+++ b/bat.html
@@ -22,7 +22,7 @@
- You can receive these donations in BAT itself, or in another cryptocurreny of your choosing. + You can receive these donations in BAT itself, or in another cryptocurrency of your choosing.
@@ -33,7 +33,7 @@
Unlike Bitcoin and Monero, BAT is a token organized by a company, and as such, it has to comply with know-your-customer regulations. - What that means for you is that to get a payout in BAT, you must have an custodial cryptocurrency wallet with either Gemini or Uphold, the two services they are interfaced with. + What that means for you is that to get a payout in BAT, you must have a custodial cryptocurrency wallet with either Gemini or Uphold, the two services they are interfaced with. You can move your payouts elsewhere when you want, but those sites require real-world identification.
diff --git a/bitcoin.html b/bitcoin.html index 5da6b50..81fc641 100644 --- a/bitcoin.html +++ b/bitcoin.html @@ -75,7 +75,7 @@ In fact, as you use these up, the wallet will automatically add more.
- These addresses (which will all be generated with bc1 at the beginning can be used by others to send you Bitcoins.
+ These addresses (which will all be generated with bc1 at the beginning) can be used by others to send you Bitcoins.
Someone can just copy-and-paste the address into their wallet to send you funds.
@@ -88,7 +88,7 @@
In case you don't know, a QR code is a way of storing text information in a format that can be scanned by a phone. - If someone has a wallet program on a phone, then can easily scan the QR code on another screen to avoid having to copy your address over or even worse, write it manually. + If someone has a wallet program on a phone, they can easily scan the QR code on another screen to avoid having to copy your address over or even worse, write it manually.
diff --git a/certbot.html b/certbot.html
index eaa3f4d..a4dc027 100644
--- a/certbot.html
+++ b/certbot.html
@@ -76,8 +76,8 @@ ufw allow 443
- It will take a moment to create the certiticate, but afterwards, you will be asked if you want to automatically redirect all connections to be encrypted. - Since this is preferrable, choose 2 to Redirect. + It will take a moment to create the certificate, but afterwards, you will be asked if you want to automatically redirect all connections to be encrypted. + Since this is preferable, choose 2 to Redirect.
diff --git a/cron.html b/cron.html
index f2eb449..2206ffa 100644
--- a/cron.html
+++ b/cron.html
@@ -19,13 +19,13 @@
You can schedule anything! Some examples of what you might have done already include:
updatedb to update your locate database certbot to update renewing of your https certs updatedb to update your locate databasecertbot to update renewing of your https certsAnd many more, anything you can do can be turned into a cronjob. @@ -34,25 +34,25 @@
- This the preferred method for personal tasks and scripts, it's also the easiest to get started with. Run the command crontab -e to access your users crontab
+ This the preferred method for personal tasks and scripts; it's also the easiest to get started with. Run the command crontab -e to access your user's crontab
- Once you have figured out the command you want to run you need to figure out how often you want to run it and when. I am going to schedule my system updates once a week on at 3:30 AM on a Monday. + Once you have figured out the command you want to run you need to figure out how often you want to run it and when. I am going to schedule my system updates once a week on at 3:30 AM on Mondays.
We now have to convert this time (Every Monday at 3:30 AM) into a cron time. Cron uses a simple but effective way of scheduling when to run things.
- Crontab expressions look like this * * * * * command-to-run
+ Crontab expressions look like this * * * * * command-to-run
The five elements before the command tell when the command is supposed to be run automatically.
So for our Monday at 3:30AM job we would do the following:
-
.---------------- minute (0 - 59)
+ .---------------- minute (0 - 59)
| .------------- hour (0 - 23)
| | .---------- day of month (1 - 31)
- | | | .------- month (1 - 12
+ | | | .------- month (1 - 12)
| | | | .---- day of week (0 - 6)
| | | | |
* * * * *
@@ -67,7 +67,9 @@
More examples
- Let's add another job, our backup job (for the purposes of this our backup command is just called backup) We want to run backup Every evening at 11PM, once we work out the timings for this we can add the to the same file as the above by running crontab -e This would mean our full crontab would look like this:
+ Let's add another job, our backup job (for the purposes of this our backup command is just called backup).
+ We want to run backup every evening at 11PM.
+ Once we work out the timings for this we can add the to the same file as the above by running crontab -e This would mean our full crontab would look like this:
0 23 * * * backup
Consecutive times
@@ -87,21 +89,18 @@
We can also randomly specify non-consecutive arguments with a comma.
Suppose you have a script you want to run at the midday of the 1st, 15th, and 20th day of every month.
- You can specify that my putting 1,15,20 for the day of the month argument:
+ You can specify that by putting 1,15,20 for the day of the month argument:
0 12 1,15,20 * * /usr/bin/pay_bills_script
"Every X minutes/days/months"
- We can also easily run a command very several minutes or months, without specifying the specific times:
-
+ We can also easily run a command every several minutes or months, without specifying the specific times:
*/15 * * * * updatedb
-
- This cronjob will run the updatedb command every 15 minutes.
-
+ This cronjob will run the updatedb command every 15 minutes.
Beware of this Rookie Mistake Though...
@@ -146,13 +145,14 @@
- Run the command ls /etc/cron* you should see a list of directories and there contents. The directories should be something like the below
+ Run the command ls /etc/cron* you should see a list of directories and there contents. The directories should be something like the below:
+
- - /etc/cron.d This is a crontab like the ones that you create with
crontab -e
- - /etc/cron.hourly
- - /etc/cron.daily
- - /etc/cron.weekly
- - /etc/cron.monthly
+ - /etc/cron.d This is a crontab like the ones that you create with
crontab -e
+ - /etc/cron.hourly
+ - /etc/cron.daily
+ - /etc/cron.weekly
+ - /etc/cron.monthly
diff --git a/dns.html b/dns.html
index 060b8c6..7b7f0d1 100644
--- a/dns.html
+++ b/dns.html
@@ -76,7 +76,7 @@
Now let's get our IPv6 address, which is a little more hidden for some reason.
- IPv6 are important because we are running our of IPv4 addresses so it is highly important to allow connections via IPv6 as it will be standard in the future.
+ IPv6 is important because we are running out of IPv4 addresses, so it is highly important to allow connections via IPv6 as it will be standard in the future.
Anyway, now back on Vultr, click on the server name.
@@ -87,7 +87,7 @@
- Now just click on IPv6 submenu to reveal your IPv6 address.
+ Now just click on the IPv6 submenu to reveal your IPv6 address.
@@ -95,14 +95,15 @@
That ugly looking sequence of numbers and letters with colons in between (2001:19f0:5:ccc:5400:03ff:fe58:324a) is my IPv6 address.
Yours will look something like it.
- Now let's put it into Epik, this time, be sure to select to put in AAAA records as below:
+ Now let's put it into Epik.
+ This time, be sure to select to put in AAAA records as below:
Now just click "Save Changes."
- It might take a minute for the DNS settings to propgate across the internet.
+ It might take a minute for the DNS settings to propagate across the internet.
Test it out!
diff --git a/domain.html b/domain.html
index 8d60310..283c37d 100644
--- a/domain.html
+++ b/domain.html
@@ -126,7 +126,7 @@
NearlyFreeSpeech – People have signed up for this minor registrar because of its name that's actually tongue-and-cheek. I will let this post of theirs speak for itself.
Register a domain here only if you want to have it seized.
- Google, Amazon – Maybe this is obvious, but if you are trying to escape the control of Google or Amazon, it is a very, self-defeating thing to register your domain with them.
+ Google, Amazon – Maybe this is obvious, but if you are trying to escape the control of Google or Amazon, it is a very self-defeating thing to register your domain with them.
@@ -138,6 +138,6 @@
-
+