diff --git a/articles/rsync-android.html b/articles/rsync-android.html index cc296a3..05eb0d1 100644 --- a/articles/rsync-android.html +++ b/articles/rsync-android.html @@ -23,9 +23,8 @@ vertical-align: middle; } /* CSS for syntax highlighting */ - html { -webkit-text-size-adjust: 100%; } pre > code.sourceCode { white-space: pre; position: relative; } - pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } + pre > code.sourceCode > span { line-height: 1.25; } pre > code.sourceCode > span:empty { height: 1.2em; } .sourceCode { overflow: visible; } code.sourceCode > span { color: inherit; text-decoration: inherit; } @@ -36,7 +35,7 @@ } @media print { pre > code.sourceCode { white-space: pre-wrap; } - pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } + pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } @@ -139,8 +138,8 @@ rsync
If network (such as eduroam) is blocking ssh trafic between machines,
-open a Wi-Fi Hotspot on your Linux machine and connect the Andoid device
-to it before using rsync or ssh.
rsync or ssh.
Install the openssh server on Termux.
pkg install opensshConnecting to Android via
ssh
Make sure you have an ssh key pair on the Linux system. If not
-generate one using ssh-keygen
-Now connect to Android by ssh
+generate one using ssh-keygen.
+Now connect to Android by ssh.
ssh <username>@<ip_address> -p 8022
Syncronising files with
diff --git a/articles/rsync-android.md b/articles/rsync-android.md
index a80256f..073d627 100644
--- a/articles/rsync-android.md
+++ b/articles/rsync-android.md
@@ -22,7 +22,7 @@ termux-setup-storage
# Establishing an ssh connection
If network (such as eduroam) is blocking ssh trafic between machines, open a Wi-Fi Hotspot
-on your Linux machine and connect the Andoid device to it before using `rsync` or `ssh`.
+on your Linux machine and connect the Android device to it before using `rsync` or `ssh`.
## Configuring Android
Install the openssh server on Termux.
@@ -78,9 +78,9 @@ passwd
## Connecting to Android via ssh
Make sure you have an ssh key pair on the Linux system.
-If not generate one using `ssh-keygen`
+If not generate one using `ssh-keygen`.
-Now connect to Android by `ssh`
+Now connect to Android by `ssh`.
```sh
ssh @ -p 8022
```
diff --git a/public_html/eh/eh/eh/eh-eh/rsync-android.html b/public_html/eh/eh/eh/eh-eh/rsync-android.html
index cc296a3..05eb0d1 100644
--- a/public_html/eh/eh/eh/eh-eh/rsync-android.html
+++ b/public_html/eh/eh/eh/eh-eh/rsync-android.html
@@ -23,9 +23,8 @@
vertical-align: middle;
}
/* CSS for syntax highlighting */
- html { -webkit-text-size-adjust: 100%; }
pre > code.sourceCode { white-space: pre; position: relative; }
- pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
+ pre > code.sourceCode > span { line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@@ -36,7 +35,7 @@
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
- pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
+ pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
@@ -139,8 +138,8 @@ rsync
Establishing an ssh
connection
If network (such as eduroam) is blocking ssh trafic between machines,
-open a Wi-Fi Hotspot on your Linux machine and connect the Andoid device
-to it before using rsync or ssh.
+open a Wi-Fi Hotspot on your Linux machine and connect the Android
+device to it before using rsync or ssh.
Configuring Android
Install the openssh server on Termux.
pkg install openssh
@@ -174,8 +173,8 @@ class="sourceCode sh">Connecting to Android via
ssh
Make sure you have an ssh key pair on the Linux system. If not
-generate one using ssh-keygen
-Now connect to Android by ssh
+generate one using ssh-keygen.
+Now connect to Android by ssh.
ssh <username>@<ip_address> -p 8022
Syncronising files with
diff --git a/public_html/eh/eh/eh/eh-eh/style.css b/public_html/eh/eh/eh/eh-eh/style.css
index afefadd..a76531a 100644
--- a/public_html/eh/eh/eh/eh-eh/style.css
+++ b/public_html/eh/eh/eh/eh-eh/style.css
@@ -28,7 +28,8 @@ html {
background: var(--html-background);
background-repeat: repeat-y;
background-size: cover;
- font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
+ font-family: serif;
+ font-size: 14pt;
}
body {
@@ -246,7 +247,7 @@ blockquote {
}
code {
- font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
+ font-family: monospace;
font-size: 85%;
margin: 0;
hyphens: manual;
diff --git a/style.css b/style.css
index afefadd..a76531a 100644
--- a/style.css
+++ b/style.css
@@ -28,7 +28,8 @@ html {
background: var(--html-background);
background-repeat: repeat-y;
background-size: cover;
- font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
+ font-family: serif;
+ font-size: 14pt;
}
body {
@@ -246,7 +247,7 @@ blockquote {
}
code {
- font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
+ font-family: monospace;
font-size: 85%;
margin: 0;
hyphens: manual;