Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
import { useSyncExternalStore } from "react"; | |
// For more on the useSyncExternalStore hook, see https://react.dev/reference/react/useSyncExternalStore | |
// The code is almost identical to the source code of zustand, without types and some features stripped out. | |
// Check the links to see the references in the source code. | |
// The links are referencing the v5 of the library. If you plan on reading the source code yourself v5 is the best way to start. | |
// The current v4 version contains lot of deprecated code and extra stuff that makes it hard to reason about if you're new to this. | |
// https://github.com/pmndrs/zustand/blob/fe47d3e6c6671dbfb9856fda52cb5a3a855d97a6/src/vanilla.ts#L57-L94 | |
function createStore(createState) { |
/etc/pacman.conf
:
cat << EOF >> /etc/pacman.conf
[git-for-windows]
Server = https://wingit.blob.core.windows.net/x86-64
Mostly adapted from here: https://www.reddit.com/r/truenas/comments/lgf75w/scalehowto_split_ssd_during_installation/
I am using a 500GB nvme as a boot+app drive, and don't want any mirroring for it. Most steps are similar execpt where creating the zfs pool
Here I need to get the partition uuid from ll /dev/disk/by-partuuid/
and use the symlink to execute next step which again wasn't a mirror config:
zpool create -f name-something /dev/disk/by-partuuid/<from last step>
zpool export name-something
I should preface this by saying that I got a Withings Smart Body Analyzer for Christmas last year and I’ve been generally happy with it. It purports to be able to take my heart rate through my bare feet and that seems not to work for my physiology, but overall I’m a fan. If if their Wikipedia page is to be believed they are having a pretty rad impact on making the Quantified Self movement more for normal people and they only have 20 full time employees. Also they try hard to use SI units, which I can get behind. Anyway, on to the rant.
I originally called this post “Everything wrong with the Withings API” and I meant it. For every useful field I can extract from their “award winning” app, I have spent an hour screaming at the inconsistencies in their implementation or inexplicable holes in their data
Starting a personal node project could be easy; starting a team node project could be challenging.
I am a developer currently working in SEEK Australia.
In my experience, common mistakes developer make when starting a projects are:
Всем привет. Хочу поделиться полученными знаниями. Сразу спасибо Илье Кирову за наводку. Далее - за основу брал этот топик - Adapter debuggen mit VSCode.
Итак - идея - в wsl поставить линукс, в него иоброкер, но среду разработки и отладки использовать родную виндовую - vscode.
Теперь опишу по порядку:
How to make an application icon for macOS using
iconset
&iconutil
/* | |
robin verton, dec 2015 | |
implementation of the RC4 algo | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define N 256 // 2^8 |