Sharing host OS www-data
directories as a volume is tricky for Alpine images. User ID (UID) and Group ID (GID) are different.
UID/GID | Ubuntu | Alpine |
---|---|---|
33 | www-data | xfs |
82 | - | www-data |
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
{{ with getJSON "https://noti.st/rarst.json" }} | |
<h3 class="text-left">Latest Talk</h3> | |
{{ $talks := (index .data 0).relationships.data }} | |
{{ $latest :=index $talks 0 }} | |
<a href="{{ $latest.links.self }}"> | |
<img src="{{ $latest.attributes.image.src }}" alt="{{ $latest.attributes.title }}" | |
class="img-responsive" style="max-height: 210px;border: 1px solid #eee" loading="lazy"/> | |
</a> | |
{{ end }} |
Unfortunatelly the new Nextcloud Text App is not yet usable in production because it does not support plain text editing very well and breaks the exibition and editing of many plain text formats. It may also cause data loss when trying to format some file types (this may not be the case anymore, check the devs).
Seems like the main issue is to align the Colaboration with the rich/raw modes. But there are other problems as well.
In any case, we will just disable the current Text app and manually install the old App.
Your icon
> Apps
:root { | |
--custom-accent-color: white; | |
} | |
/* Hide "Close Multiple Tabs" menu */ | |
#context_closeTabOptions { | |
display: none !important; | |
} |
Did you just check out / clone a repository and forget --recursive / --recurse-submodules? Well, do this:
git submodule update --init --recursive --remote
For information about why this nugget was lost and burried in another stack exchange article, see this: https://meta.stackoverflow.com/questions/400424/how-can-i-request-that-a-question-merge-be-reversed
import subprocess | |
from pathlib import Path | |
import os | |
import click | |
from livereload import Server | |
@click.command() | |
@click.argument("pathsource", default=".", type=Path) | |
@click.option("-o", "--outputdir", default="_build/html", type=Path, show_default=True) |
useradd zfsbackup --create-home --system
mkdir /home/zfsbackup/.ssh
zfs allow -u zfsbackup send,hold tank/dataset
echo 'restrict,command="restrict_commands.sh" ssh-ed25519 ...' > /home/zfsbackup/.ssh/authorized_keys
const log_el = document.getElementById('log') | |
function log(...messages) { | |
console.log(...messages) | |
log_el.innerText += '\n' + messages.map(m => JSON.stringify(m, null, 2)).join(' ') | |
} | |
function error(message) { | |
console.error(message) | |
log_el.innerText += '\n' + message |
Twitter ID | Screen name | Followers | Removal observed | Before | After | |
---|---|---|---|---|---|---|
17461978 | SHAQ | 15612791 | 2022-02-26T22:24:52Z | SHAQ.ETH | SHAQ.SOL | |
21910850 | jakeowen | 2119904 | 2022-02-26T15:45:18Z | jakeowen.eth | Jake Owen | |
7846 | ijustine | 1811449 | 2022-03-09T14:43:37Z | iJustine.eth | iJustineUltra | |
1666038950 | BoredElonMusk | 1752290 | 2022-02-17T08:05:47Z | bored.eth | Bored | |
381051960 | ethRuby | 1267133 | 2022-03-19T08:08:11Z | CryptoSolis.eth | Ruby | |
1282418324228337665 | wsbmod | 832406 | 2022-02-24T06:52:07Z | wsbmod.eth | wsbmod | |
20882981 | EclecticMethod | 495235 | 2022-02-18T04:39:30Z | eclecticm.eth | Eclectic Method | |
811350 | alexisohanian | 479340 | 2022-02-08T06:31:55Z | AlexisOhanian.eth 7️⃣7️⃣6️⃣ | Alexis Ohanian 7️⃣7️⃣6️⃣ | |
22784458 | Fwiz | 410813 | 2022-03-22T08:54:42Z | Ryan Wyatt - fwiz.eth 💜 | Ryan Wyatt - @ GDC |