Stratum挖矿协议: 该协议是由SlushPool制定的,请参阅其官方文档:https://slushpool.com/help/manual/stratum-protocol
以下所有报文均使用\n做为行结束符。
矿机订阅:
{"id": 1, "method": "mining.subscribe", "params": []}
# If you're looking into the C10M problem (10 million concurrent connections) | |
# you might want to play with DPDK (Originally proprietry Intel, now open source) | |
# | |
# C10M: http://c10m.robertgraham.com/ | |
# DPDK: http://dpdk.org/ | |
# | |
# This is a quick summary how to install dpdk on ubuntu | |
# running inside virtualbox on a mac | |
# On my Mac: |
Stratum挖矿协议: 该协议是由SlushPool制定的,请参阅其官方文档:https://slushpool.com/help/manual/stratum-protocol
以下所有报文均使用\n做为行结束符。
矿机订阅:
{"id": 1, "method": "mining.subscribe", "params": []}
// Find the sheet music images on the page | |
const elements = document.getElementsByClassName('split-image'); | |
// Check that there are actually images on the page | |
if (elements.length === 0) { | |
console.error('No images found'); | |
} else { | |
// If images were found, extract the base url from the 1st one | |
const imageUrl = elements[0].src; | |
const imageIdMatch = /\/sheets\/([\w\d]+)\//; |
/** | |
*Submitted for verification at Etherscan.io on 2020-07-26 | |
*/ | |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.5.16; | |
interface IERC20 { | |
function totalSupply() external view returns (uint256); |
Cannot access filenames containing non-ASCII characters.
Steam Deck's SteamOS 3 provides only one locale named en_US.utf8
(as configured in /etc/locale.gen) but /etc/locale.conf sets LANG
to en_US.UTF-8
. They don't match, so the effective locale for programs is C
and the character set becomes limited to ASCII.
Set the game's launch options in Steam to LANG=en_US.utf8 %command%
to solve this.
To fix this for all applications running in desktop mode (eg. to correctly extract games), create a file named ~/.config/plasma-workspace/env/utf8.sh
containing (restart desktop mode to apply):