Wonderjar's Blog

rabbitmqadmin CMD

Server
./rabbitmqadmin -u XXX -p XXX -V / list queues./rabbitmqadmin -u XXX -p XXX -V / list bindings./rabbitmqadmin -u XXX -p XXX -V / list exchanges ./ ...
Read more

Yarn Workspace

Frontend
StructureRoot A B C Root package.json123456"private": true,"workspaces": [ "A", "B", "C"], ...
Read more

crontabCmd

Server
crontab -lcrontab -e 123456751 * * * * root run-parts /etc/cron.hourly24 7 * * * root run-parts /etc/cron.daily22 4 * * 0 root run-parts /etc/cron ...
Read more

操作Dom

Javascript
修改一个node的class 1234567891011document.getElementById("MyElement").className = 'MyClass';document.getElementById("MyElement ...
Read more

dockerCmd

sudo docker exec -it XXXX /bin/bash
Read more

title: reactFiberdate: 2019-03-25 16:48:53tags: React categories: ReactGoals,pause work and come back to it later.assign priority to different ty ...
Read more

margin为负产生的影响

CSS
双飞燕布局https://codepen.io/anon/pen/LaazGm
Read more

React SetState

React
1234// Inside React DOMconst inst = new YourComponent();inst.props = props;inst.updater = ReactDOMUpdater; 12345// A bit simplifiedsetState(partia ...
Read more

tmuxCommand

tmux lstmux new -s sessionNametmux attach -t sessionName CTRL + B then[ 光标移动S 切换tmuxD 退出tmux,不销毁
Read more

python2.7日期操作

Python
python2.7里的日期处理 string > datetime1str.strftime("%Y-%m-%d %H:%M:%S") datetime > string12import datetimedatetime.datetime.strptime(s ...
Read more
Prev Next