看了《學徒模式》一書後,凍仁試著用 Gist 管理自己的待讀書單,並不時修改其閱讀順序。您可以在 revisions 找到編修記錄。
目錄:
#!/bin/sh | |
# Auto update | |
yum update | |
# Install the required packages | |
yum install libgearman-devel gcc | |
# Install php | |
yum -y install php php-pear php-mysql php-mcrypt php-mbstring |
<?php | |
highlight_file(__FILE__); | |
$dir = 'sandbox/' . $_SERVER['REMOTE_ADDR']; | |
if ( !file_exists($dir) ) | |
mkdir($dir); | |
chdir($dir); | |
$args = $_GET['args']; | |
for ( $i=0; $i<count($args); $i++ ){ |
{"lastUpload":"2020-06-18T22:29:09.889Z","extensionVersion":"v3.4.3"} |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
快捷键: | |
ctrl+tab: switcher,在已打开文件之间或者工具窗口间切换 | |
alt+alt: 连续两次快速按下alt键不放,显示tool windows(project,database ...) | |
ctrl+k: 快速调用 commit changes 对话框 | |
alt+F3: 显示搜索窗格,对当前文件进行搜索,然后配合ctrl+alt+r,可以进行替换操作 | |
ctrl+shift+f: find in path 在指定文件夹或者整个project内搜索,ctrl+shift+r进行替换操作 | |
ctrl+shift+alt+t: 快速rename,里面有好几个选项,慢慢理解吧 | |
shift+F6: rename,自动重命名该变量所有被调用的地方 | |
ctrl+shift+n: 快速导航到指定文件,弹出一个dialog,输入文件名即可 |