Giter Club home page Giter Club logo

soliloquize's Introduction

soliloquize

一个人自言自语,将 Issues 当草稿本使用。

soliloquize's People

Contributors

vale1534 avatar

Watchers

James Cloos avatar

soliloquize's Issues

create-react-app + antd + react-router + ...

因为 antd 这类比较成熟的 UI 架构,对 react 黑转粉。

试着用 dva 搭架 React 应用,使用 antd 组件做了一些 Hello World ,对 React 好感顿生。随着深入,产生了焦虑。 antd 一直有在更新,但 dva 好像很长时间没更新了,而且还用着 2.x 版本的 react-router ,也许等我熟悉了,这货已经成了过去式。

经过长时间的折腾,使我明白,不要选择一个 star 少于 5k 的库做项目的基础设施。还是选择更 React 一些的工具库, create-react-app 。

使用 create-react-app 生产了hello world ,怎么融入 antd 呢?

工作

由于工作缘故,切回 C++ 程序员模式一段时间…
很累,但要挣钱养家。

阿里云上安装 nginx 服务器

直接 yum 安装:

sudo yum install nginx

启动与开机启动:

sudo systemctl start nginx
sudo systemctl enable nginx

防火墙设置(需要的话):

sudo firewall-cmd --permanent --zone=public --add-service=http 
sudo firewall-cmd --permanent --zone=public --add-service=https
sudo firewall-cmd --reload

Linux 基础操作

tmux 使用

tmux new -s 会话名 //新起一个会话
tmux ls //查看现有的会话
tmux a //进入最近的会话
tmux a -t 会话名//进入指定会话
tumx kill-session -t 会话名 //干掉指定会话

^b + d // 退出会话

这几个够了,无非就是在后台挂个服务器而已。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.