摘要: 遇到的汉字输入问题http://zhulinpinyu.github.io/ubuntu/2013/05/17/ubuntusublime-text-2-/需要注意的是打开sublime-text-2.desktop后,将Exec=/usr/bin/sublime-text-2 %F修改为Exec=bash -c 'LD_PRELOAD=/usr/lib/libsublime-imfix.so /usr/bin/sublime-text-2' %F将Exec=/usr/bin/sublime-text-2 --new-window修改为Exec=bash -c 'LD_ 阅读全文
posted @ 2013-12-23 20:50 金发萌音 阅读(362) 评论(0) 推荐(0) 编辑
摘要: rails 数据库相关操作命令2013-12-21 16:11rake db:abort_if_pending_migrations # Raises an error if there are pending migrationsrake db:charset # Retrieves the charset for the current environment's databaserake db:collation # Retrieves the collation for the current environment's databaserake db:create # 阅读全文
posted @ 2013-12-23 20:49 金发萌音 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1.桌面程序选择sudo add-apt-repository ppa:gnome3-team/gnome3sudo add-apt-repository ppa:ricotz/testingsudo apt-get updatesudo apt-get install gnome-shell # 安装Gnome-shell 桌面sudo apt-get install gnome-shell-extensions # 安装extensionssudo apt-get install gnome-tweak-tool # 安装配置工具`完成后Log out,在登陆的时候选择Gnome即可。2. 阅读全文
posted @ 2013-12-23 20:47 金发萌音 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1.host任何一个可以上网的设备都是一个hosthost包括ip地址 主机名字和域名ip地址唯一指定网络上的一台机器(世界级的身份证号)ipv4 ipv6主机名字多用在本地,局域网内(姓名,一个区域内唯一)域名多用在世界级别的(江苏省南京市一样的)2.网络连接的两种角色服务端和客户端服务端的端口: 如223.3.68.116:8080中的8080一个服务器可能拥有很多服务的时候用于分辨服务类型0~1023被征用为系统专用的3.连接建立在两个host两个端口的之间的联系4.java网络编程java。net.*InetAddress简介Abstraction of a network addre 阅读全文
posted @ 2013-12-23 20:45 金发萌音 阅读(173) 评论(0) 推荐(0) 编辑