我们都知道 Mac 出厂的时候系统里预置了一个 PHP 而我们用的是 MAMP 的 PHP,可能问题就出在这了,在 Terminal 运行一下: which php 查看php的路径 sudo nano ~/.bash_profile # 添加一行。注意 PHP5.4.10 修改成你正在运行的 PH ...
分类:
Web程序 时间:
2016-08-21 16:31:35
阅读次数:
153
对于没有登录的新用户:使用组策略的方法:在Windows2008中找到组策略管理器,打开同时设置下面的策略:ComputerConfiguration\AdministraiveTemplates\WindowsComponents\TerminalServices\SetPathforTSRoamingPrifiles或TSuserHomeDirecory如果SetPathforTSRoamingPrifiles没..
分类:
其他好文 时间:
2016-08-19 13:27:02
阅读次数:
114
今天在windows的PowerShell中执行git log命令的时候报错: WARNING: terminal is not fully functional 网上查找方法,最后 1、打开windows的高级系统设置 2、环境变量 3、系统变量中新建一个变量名为TERM,值为cygwin 重试一 ...
分类:
Windows程序 时间:
2016-08-19 12:46:20
阅读次数:
1292
首先要引入import sys模块 sys.argv 功能:获取向脚本文件传入的参数,返回的列表,列表里的第一个元素是脚本文件路径和名称,后面的元素是传入的向脚本传入的参数 使用方法:sys.argv 格式如:a = sys.argv 在pycharm的Terminal模式下调试 输入脚本文件路径和 ...
分类:
其他好文 时间:
2016-08-18 00:58:23
阅读次数:
96
1.字体 cd~ curl -O https://raw.githubusercontent.com/donnemartin/dev-setup/master/.bash_profile curl -O https://raw.githubusercontent.com/donnemartin/de ...
分类:
系统相关 时间:
2016-08-17 01:37:45
阅读次数:
380
DEBIAN操作系统 预备操作: 安装 gcc g++ make cmake 开启Terminal 切换到超级用户 下载安装上述软件 // makefile 内容如下 同一目录下有三个文件 main.cpp Test1.cpp Test1.h Test2.cpp Test2.h 最后结果: 内容解释 ...
分类:
其他好文 时间:
2016-08-13 15:30:29
阅读次数:
174
由于网络防火墙默认禁止所有的通信,因为,只有对其进行适当配置后,才能实现正常的网络通信。 1.进入全局配置模式 ciscoasa# configure terminal 2.选择欲作为网络防火墙外部接口的网络接口 ciscoasa(config)# interface interface-id 3. ...
分类:
系统相关 时间:
2016-08-13 12:37:50
阅读次数:
196
一、mac下安装 1. 可直接在官网下载(http://nodejs.cn/),可使用命令查看版本: 同样npm同时也安装下来,可使用下面命令查看: 2. mac下可用homebrew进行安装 安装homebrew只需要在terminal 执行 mac osx是自带ruby环境和python环境,安 ...
分类:
其他好文 时间:
2016-08-12 10:10:59
阅读次数:
209
When using a git command that can have a large amount of output (like git log, git diff, or git blame), Git opens the command output in our terminal " ...
分类:
其他好文 时间:
2016-08-10 06:33:05
阅读次数:
139
(1) 安装:npm install -g react-native-cli react-native-cli是用来开发React Native的命令行工具 上面这行代码将会帮助你在terminal中安装react-native命令。当然,你只需要运行一次这行代码。 (2) 由于众所周知的网络原因, ...
分类:
移动开发 时间:
2016-08-09 19:05:24
阅读次数:
290