- 浏览: 647477 次
- 性别:
- 来自: 青岛
最新评论
-
mojingqing:
感谢!
MySQL修改my.ini后,出现错误:Incorrect information in file: '.\xx\xx.frm -
qq3061280:
qq3061280 写道
FATAL ERROR in native method: JDWP No transports i -
qq3061280:
FATAL ERROR in native method: JDWP No transports i -
xiebo1983:
http://sqkoo.com/mysql-function ...
Date format -
java_xiaoyi:
...
[SQLServer]传入的表格格式数据流(TDS)远程过程调用(RPC)协议流不正确
文章列表
brew 安装 Permission
- 博客分类:
- Mac
brew install carthage
报错:Permission denied @ dir_s_mkdir - /usr/local/Frameworks
cd /usr/local/
mkdir Frameworks
之后报错:
Linking /usr/local/Cellar/carthage/0.32.0... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks/CarthageKit.framework
sudo chown $(whoami):admin /usr/l ...
http://registry.cnpmjs.org
http://registry.npm.taobao.org
设置:
npm config set registry http://registry.npm.taobao.org
$ nrm ls
* npm ----- https://registry.npmjs.org/
cnpm ---- http://r.cnpmjs.org/
taobao -- https://registry.npm.taobao.org/
nj ------ https://registry. ...
Django 版本查看
- 博客分类:
- Mac
python
>>> import django
>>> print django.VERSION
(1, 8, 0, 'final', 0)
Mac:
export PATH=$PATH:/usr/local/mysql/bin
Ubuntu:
sudo apt-get install libmysqlclient-dev
参考:https://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-found
使用
sudo pip install django-bootstrap
不成功,改为:
pip install --user django-bootstrap
rm -rf /Library/Application Support/VMware
rm -rf /Library/Application Support/VMware Fusion
rm -rf /Library/Preferences/VMware Fusion
rm -rf ~/Library/Application Support/VMware Fusion
rm -rf ~/Library/Caches/com.vmware.fusion
rm -rf ~/Library/Preferences/VMware Fusion
rm -rf ~/Library/Prefer ...
rpm -ivh jdk-8u131-linux-x64.rpm
查看安装信息:
java -version
CentOS 32位与64位查看
- 博客分类:
- JAVA
getconf LONG_BIT
CentOS 版本:
cat /etc/issue
查看CentOS内核版本:
cat /proc/version
uname -a
关闭本地源:
修改/etc/yum.repos.d/CentOS-Media.repo
enabled=1改成enabled=0
卸载Centos里的OpenJDK
- 博客分类:
- JAVA
列出安装的Java信息:
yum list installed |grep java
依次卸载列出的openjdk:
yum -y remove java-1.6.0-openjdk.x86_64
mac 安装maven
- 博客分类:
- JAVA
tar xzvf apache-maven-3.3.9-bin.tar.gz
sudo mv apache-maven-3.3.9 /opt
sudo vi /etc/profile
添加如下代码:
export PATH=/opt/apache-maven-3.3.9/bin:$PATH
mvn -v
参考:http://maven.apache.org/install.html
RVM 安装Ruby Linner
- 博客分类:
- Ruby
curl -L get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm -v
sudo chown -R $(whoami) /usr/local
brew update
rvm install ruby-2.4.0
sudo gem install linner
安装:
1.下载并安装Node.js
2.安装cordova及Ionic
sudo npm install -g cordova ionic
Cordova创建工程
cordova create hello com.example.hello HelloWorld
cd hello
cordova platform add ios
cordova platform add amazon-fireos
cordova platform add android
cordova platform add blackberry10
cordova platform ...
xcode-select --install
使用 cdnjs.cloudflare.com 的IP,比如:198.41.215.67
修改hosts
sudo vi /etc/hosts
打开是快了,不过还是报那个错,看样子还是自己在内网架个服务器比较方便