liferaft/index.html

57 lines
3.2 KiB
HTML
Raw Normal View History

2024-02-04 21:35:25 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-02-04 21:36:59 +00:00
<title>This is your Life Raft</title>
2024-02-05 11:16:47 +00:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
2024-02-05 12:19:19 +00:00
<style>
:where(dl,ol,ul) li {
margin-bottom: calc(var(--typography-spacing-vertical) * 3);
}
button {
width: auto;
}
</style>
2024-02-04 21:35:25 +00:00
</head>
<body>
2024-02-05 11:15:19 +00:00
<main class="container">
<header>
<h1>🛟 This is your Life Raft</h1>
</header>
2024-02-05 12:10:15 +00:00
<ol>
<li>
<button onclick="copyCode()">click here to copy this code</button>
<code id="codeBlock">curl -O https://liferaft.altweb.me/rustdesk.sh && chmod +x rustdesk.sh && ./rustdesk.sh</code>
</li>
<li>
2024-02-05 12:19:19 +00:00
<p>Open the start menu either with your keyboard, by holding the <kbd>CTRL</kbd> key and clicking <kbd>ESC</kbd></p>
<p>or with your mouse, by clicking the button in the lower left hand corner of the screen.</p>
2024-02-05 12:10:15 +00:00
</li>
2024-02-05 12:15:24 +00:00
<li>
Open the terminal thusly:
<p>
2024-02-05 12:10:15 +00:00
<img decoding="async" width="812" height="237" alt="How to Open the Linux Terminal on Chromebook image 2" src="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png" data-lazy-type="image" data-lazy-src="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png" class="lazy wp-image-54440 lazy-loaded" data-lazy-srcset="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png 812w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-300x88.png 300w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-768x224.png 768w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-610x178.png 610w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-80x23.png 80w" data-lazy-sizes="(max-width: 812px) 100vw, 812px" srcset="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png 812w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-300x88.png 300w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-768x224.png 768w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-610x178.png 610w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-80x23.png 80w" sizes="(max-width: 812px) 100vw, 812px">
2024-02-05 12:15:24 +00:00
</p>
2024-02-05 12:10:15 +00:00
</li>
<li>
2024-02-05 12:15:24 +00:00
Paste into the terminal by clicking <kbd>CTRL-SHIFT-V</kbd> and then hit <kbd>ENTER</kbd>.
2024-02-05 12:10:15 +00:00
</li>
2024-02-05 12:15:24 +00:00
2024-02-05 12:10:15 +00:00
</ol>
2024-02-05 11:15:19 +00:00
</main>
2024-02-04 21:35:25 +00:00
<script>
function copyCode() {
const codeBlock = document.getElementById('codeBlock').innerText;
navigator.clipboard.writeText(codeBlock).then(() => {
alert('Code copied to clipboard!');
}, (err) => {
console.error('Error in copying text: ', err);
});
}
</script>
</body>
</html>