So if you're using Proxmox you need to open up ssh and run the following commands:
- Setup a root password
sudo passwd root
export class MyComponent { | |
polling$ = interval(60000); | |
data$ = this.service.getData(); | |
dataPolling$ = this.polling$.pipe( | |
switchMap(() => this.data$) | |
); | |
//Now you have two options, either .subscribe() in the constructor or use the async pipe |
// useTimer.tsx | |
function useTimer(timer: Timer) { | |
const { dispatch } = useContext(TimersContext); | |
const timeoutRef = useRef<number>(); | |
useEffect(() => { | |
if (timer.done || timer.paused) { | |
cleanUp(); | |
timeoutRef.current = 0; | |
} else { |
First, let's see how to mount the remote directory. Assume that there is a shared folder over the network at \\192.168.1.1\users\self\shared
which is accessible with user myuser
and password secret123
.
We could mount it manually in /mnt/winshare
with:
# mount -t cifs //192.168.1.1/users/self/shared /mnt/winshare -o user=myuser,password=secret123
This should work on your Linux box, because systemd will basically call mount with the same arguments: What
(//192.168.1.1/users/self/shared
), Where
(/mnt/winshare
) and Options
(user=myuser,password=secret123
).
card: | |
type: custom:mushroom-template-card | |
primary: הורים | |
secondary: '' | |
icon: mdi:bed-double | |
layout: vertical | |
fill_container: false | |
multiline_secondary: false | |
tap_action: | |
action: navigate |