when trying to connect to DSM with vscode:
The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++
https://community.synology.com/enu/forum/10/post/153781
when trying to connect to DSM with vscode:
The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++
https://community.synology.com/enu/forum/10/post/153781
In the olden days, HTML was prepared by the server, and JavaScript was little more than a garnish, considered by some to have a soapy taste.
After a fashion, it was decided that sometimes our HTML is best rendered by JavaScript, running in a user's browser. While some would decry this new-found intimacy, the age of interactivity had begun.
But all was not right in the world. Somewhere along the way, we had slipped. Our pages went uncrawled by Bing, time to first meaningful paint grew faster than npm, and it became clear: something must be done.
And so it was decided that the applications first forged for the browser would also run on the server. We would render our HTML using the same logic on the server and the browser, and reap the advantages of both worlds. In a confusing series of events a name for this approach was agreed upon: Server-side rendering. What could go wrong?
In dark rooms, in hushed tones, we speak of colours.
Just a walkthrough of the containerized way to get NAS stats to Datadog.
The tl;dr is the container can monitor the host, processes, grab logs and SNMP. If you're using your NAS as a quick dev box you could also monitor other containers.
With ASDF, you can manage version of Node, Yarn, PNPM, PHP, Python, and more than 400 other tools, languages and binaries.
Uninstall nvm
Install asdf
Install nodejs plugin for asdf
Add legacy_version_file = yes to ~/.asdfrc file
Install gnupg
| #!/bin/bash | |
| tail -n +0 $1 \ | |
| | nl -ba \ | |
| | fzf --multi \ | |
| --ansi \ | |
| --no-sort \ | |
| --reverse \ | |
| --tac \ | |
| --preview 'sed -n "$(({n}-4)),$(({n}+6))p" '$1' | nl -v $(({n}-4)) -ba' \ |
Hey Apple users:
If you're now experiencing hangs launching apps on the Mac, I figured out the problem using Little Snitch.
It's trustd connecting to http://ocsp.apple.com >
| mappings: | |
| - match: 'airflow\.(.+)_(start|end|heartbeat_failure)$' | |
| match_type: regex | |
| help: "Number of status jobs" | |
| name: "airflow_jobs" | |
| labels: | |
| status: "$2" | |
| job_name: "$1" | |
| - match: "airflow.local_task_job.task_exit.*.*.*.*" | |
| help: "Number of LocalTaskJob terminations with a return_code while running a task of a DAG." |
| #!/usr/bin/env python | |
| ''' | |
| List all available versions of Kindle for Mac and Kindle for PC. | |
| Dependencies: | |
| - asyncio==3.4.3 | |
| - aiohttp==3.6.3 | |
| ''' | |
| import os | |
| import sys |
| #!/bin/bash | |
| # Inspired on https://david-kerwick.github.io/2017-01-04-combining-zsh-history-files/ | |
| set -e | |
| history1=$1 | |
| history2=$2 | |
| merged=$3 | |
| echo "Merging history files: $history1 + $history2" | |
| test ! -f $history1 && echo "File $history1 not found" && exit 1 |
| ### Basic ### | |
| # The directory to store the downloaded file. | |
| dir=${HOME}/Downloads | |
| # Downloads the URIs listed in FILE. | |
| input-file=${HOME}/.aria2/aria2.session | |
| # Save error/unfinished downloads to FILE on exit. | |
| save-session=${HOME}/.aria2/aria2.session | |
| # Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
| save-session-interval=60 | |
| # Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |