主题
Ubuntu使用命令行永久更改显示器分辨率
查看可以设置的分辨率
xrandr
永久更改显示器分辨率
xrandr --output Virtual1 --mode 1440x900
哪种模块化JavaScript写法是最棒的
结构化写法,只是简单的将函数按功能放在不同的js文件中,算一个模块。
Welcome to Jekyll!
You’ll find this post in your
_posts
directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to runjekyll serve
, which launches a web server and auto-regenerates your site when a file is updated.Mac 使用Apache和PHP
Mac OS X内置了Apache和PHP,所以我们只需要简单的配置就可以使用PHP。我这里以Mac OS X EI Capitan 版本10.11.3为例子。
让Apache支持PHP语言
Apache是一个容器,但是默认是不支持PHP语言的,那么我们需要让Apache能够帮助我们学习和使用PHP。