rootsongjc / cheatsheets Goto Github PK
View Code? Open in Web Editor NEWJimmy's cheatsheet for developers https://jimmysong.io/cheatsheets/
License: Apache License 2.0
Jimmy's cheatsheet for developers https://jimmysong.io/cheatsheets/
License: Apache License 2.0
Bitcoin address with private key WIF with balance.
版本和配置信息
说明
IP
导致该问题的操作或现象
依据 rstacruz's cheatsheets 提示进行
yarn install
bundle install
SET PORT=4001
yarn run dev
之后, telnet 127.0.0.1:4001
能通, 内网与公网 telnet 不通.
防火墙已开4001端口.
日志或报错信息
ubuntu@VM-0-12-ubuntu:~$ telnet 127.0.0.1 4001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
ubuntu@VM-0-12-ubuntu:~$ telnet 172.16.0.12 4001
Trying 172.16.0.12...
telnet: Unable to connect to remote host: Connection refused
ubuntu@VM-0-12-ubuntu:~$
经查, yarn run dev
是 运行的 make dev
, 通过Makefile
, 知, 运行的是下面部分
dev-jekyll:
if [ -f _site ]; then \
bundle exec jekyll serve --safe --trace --drafts --watch --incremental --port $(PORT); \
else \
bundle exec jekyll serve --safe --trace --drafts --watch --port $(PORT); \
fi
那么如何在这bundle exec jekyll serve
里面绑定IP, 从而使得能够通过
wget http://172.16.0.12:4001/
获取
wget http://127.0.0.1:4001/
一样的效果呢?
另问, 这个项目是yarn run dev
启动形成服务网页的么? 难道我的方式本身就不对?
Surely a good one to have for the most common SQL queries for setting up a database, tables, joins and CRUD operations
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.