export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node
docker run -d --name clickhouse-server --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 -p 9009:9009 --privileged=true -v ~/db/clickhouse/log:/var/log/clickhouse-server -v ~/db/clickhouse/data:/var/lib/clickhouse clickhouse/clickhouse-server:22.1.4.30
然后 http://localhost:8123
验证.
使用客户端:
> docker exec -it clickhouse-server /bin/bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime default settings | |
# encoding: utf-8 | |
patch: | |
config_version: "1.6" | |
schema_list: | |
- schema: luna_pinyin_simp | |
switcher: | |
caption: 〔方案選單〕 |
# shell 载入
if [[ "~/opt/miniconda3" ]]; then
export PATH=$PATH:~/opt/miniconda3/bin
fi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useDialog } from "@/components/dialog/index"; | |
import DialogTitle from "@material-ui/core/DialogTitle"; | |
const App = () => { | |
const [openDialog, closeDialog] = useDialog(); | |
return <button | |
href="#!" | |
onClick={() => { | |
openDialog({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ConnectorNotFoundError, | |
UserRejectedRequestError, | |
RpcError, | |
ResourceUnavailableError, | |
SwitchChainNotSupportedError, | |
} from "wagmi"; | |
import { InjectedConnector } from "wagmi/connectors/injected"; | |
import { Chain, Ethereum } from "@wagmi/core"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Author: __rodx00__ | |
* | |
* Usefull functions while reversing frida scripts. | |
*/ | |
function bin2ascii(array) { | |
var result = []; |
- throttle 定义了一个函数一段时间内的最多执行次数,比如『执行这个函数最多每100ms执行一次』
- debounce 定义了一个函数在一定时间过去也没有被调用。比如『执行这个函数在没有被调用的100ms之后』
var throttle = function(fn, delay){
var last = 0
return function() {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unbind some default keybindings | |
unbind C-b | |
# set prefix key to ctrl-q | |
set -g prefix C-q | |
# lower command delay | |
set -sg escape-time 1 | |
# start first window and pane at 1, not zero |
NewerOlder