start new:
tmux
start new with session name:
tmux new -s myname
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
[ Update 2025-03-24: Commenting is disabled permanently. Previous comments are archived at web.archive.org. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
This gists contains a collection of docker-compose config for Polkadot and Substrate. You can find it here.
You may clone this gist with:
git clone git@gist.github.com:be461d11c56baecb0e7bbcb920e964fb.git
| # Copied from https://github.com/aseprite/aseprite/blob/master/INSTALL.md#skia-on-linux | |
| sudo yum install -y gcc-c++ cmake ninja-build libX11-devel libXcursor-devel mesa-libGL-devel fontconfig-devel | |
| mkdir $HOME/deps | |
| cd $HOME/deps | |
| git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
| git clone -b aseprite-m71 https://github.com/aseprite/skia.git | |
| export PATH="${PWD}/depot_tools:${PATH}" | |
| cd skia |
| ### | |
| ### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
| ###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
| ###. things to watch out for: | |
| ### - Check out the `nix-darwin` instructions, as they have changed. | |
| ### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
| ### | |
| # I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
| # So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
Use this documentation on benchmarking. It is very good and will give all info you need.
To start existing benchmark tests I propose following steps:
pallets/rmrk-core/src/weights.rs to old_weights.rs. Just to keep it for referrencebenchmarks.rs files. They will produce measurements for the new weights.rs file--profile=release in cargo build.
Therefore instead of:cd bin/node/cli| // next.js usage | |
| export default function handler() { | |
| return frameResponse({ | |
| image: `https://domain.com/image.gif`, | |
| buttons: [ | |
| { text: 'Action 1' }, | |
| { text: 'Action 2' }, | |
| ] | |
| }); |
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |