emacs使用 simple-httpd和impatient-mode插件实现livereload
摘要:现在用emacs写前段,自然想实现那种,编辑器里编辑,然后浏览器端页面自己刷新 使用 simple-httpd 和impatient-mode 两个插件,可以实现, 按照文档安装好使用就可以,我没找到.单独一个插件可以实现的 使用方式
阅读全文
posted @
2016-11-06 01:57
c3tc3tc3t
阅读(377)
推荐(0)
适合最新版docker自定义启动配置
摘要:docker不断发布新版本,以前默认的在 /etc/default/docker里修改,但是新版已经不推荐了 注意: 一些文章推荐在 /lib/systemd/system/docker.service 文见上修改配置 但是官方建议如下 /usr/lib/systemd/system or /lib
阅读全文
posted @
2016-09-29 20:41
c3tc3tc3t
阅读(514)
推荐(0)
ubuntu 16.04 64bit安装 Julia
摘要:sudo add-apt-repository ppa:staticfloat/juliareleases sudo add-apt-repository ppa:staticfloat/julia-deps sudo apt-get update sudo apt-get install julia
阅读全文
posted @
2016-09-19 12:28
c3tc3tc3t
阅读(837)
推荐(0)
华而不实啊。哈哈哈。
摘要:icosudo add-apt-repository ppa:nitrux-team/nitrux-artworksudo apt-get updatesudo apt-get install nitrux-icon-themetheme wget http://gnome-look.org/CON...
阅读全文
posted @
2015-10-27 20:09
c3tc3tc3t
阅读(176)
推荐(0)
安装rails遇到的问题
摘要:1 要安装js运行环境,例如Nodejs,如果使用nvm记得,安装完执行nvm use '版本号'2或者在Gemfile文件中加入:gem 'execjs'gem 'therubyracer'然后bundle install,再去执行rails s就成功了。3修改Gemfile文件的source '...
阅读全文
posted @
2015-07-12 06:40
c3tc3tc3t
阅读(165)
推荐(0)
gem install mysql遇到问题。解决方案
摘要:今天遇到的问题,是使用gem install mysql遇到的。报下面的错误Building native extensions. This could take a while...ERROR: Error installing mysql2:ERROR: Failed to build gem ...
阅读全文
posted @
2015-07-10 15:49
c3tc3tc3t
阅读(243)
推荐(0)
将应用图标添加到ubuntu dash中
摘要:1 在appplications中添加一个desktop文件sudo gedit /usr/share/applications/xdbe.desktop2 在desktop文件中添加如下[Desktop Entry]Name=xdbeComment=databaseToolsExec=/home/...
阅读全文
posted @
2015-07-10 10:12
c3tc3tc3t
阅读(381)
推荐(0)
ubuntu14.04.2安装 YouCompleteme
摘要:1 安装git ,按照这篇文章安装http://www.cnblogs.com/or2-/p/4350252.html2 安装编译需要的各种包sudo apt-get install build-essential cmakesudo apt-get install clangsudo apt-ge...
阅读全文
posted @
2015-07-09 20:49
c3tc3tc3t
阅读(423)
推荐(0)
虚拟机中Centos7搭建本地仓库
摘要:iso放入光驱(虚拟机光驱)后,设备目录是/dev/sr0 表示光驱,被挂载道 /run/media/c4t/CentOS\ 7\ x86_64目录下[c4t@localhost ~]$ df文件系统 1K-块 已用 可用 已用% 挂载点/dev/sda1 ...
阅读全文
posted @
2015-06-25 22:05
c3tc3tc3t
阅读(357)
推荐(0)
Building the main Guest Additions module [FAILED]
摘要:虚拟机中的centos7安装vbox的增强工具报错Building the main Guest Additions module [FAILED]查看日志发现unable to find the sources of your current Linux ker...
阅读全文
posted @
2015-06-25 20:10
c3tc3tc3t
阅读(564)
推荐(0)
CentOS 7 更新软件源和系统
摘要:[1] 首先备份/etc/yum.repos.d/CentOS-Base.repomv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup[2] 进入yum源配置文件所在文件夹[root@localho...
阅读全文
posted @
2015-06-25 19:47
c3tc3tc3t
阅读(1138)
推荐(0)
ubuntu使用ppa源安装最新版本的git
摘要:国内也有ubuntu镜像源。但是里面的git都是1.9版本。最新的已经是2.3了1 首先使用将ppa源加入Ubuntu,交大家sudo add-apt-repository ppa:pdoes/ppa2 然后根据提示,输入回车。加入密钥3 输入以下命令sudo apt-get updatesudo ...
阅读全文
posted @
2015-03-19 14:00
c3tc3tc3t
阅读(1299)
推荐(0)
mac os安装macvim
摘要:1 brew install macvim 安装 macvim2alias vim='/usr/local/Cellar/macvim/7.4-73_1/MacVim.app/Contents/MacOS/Vim' 在shell的配置文件中设置别名未完待续
阅读全文
posted @
2015-02-16 22:03
c3tc3tc3t
阅读(354)
推荐(0)
ubuntu下安装录屏软件
摘要:sudo add-apt-repository ppa:maarten-baert/simplescreenrecordersudo apt-get updatesudo apt-get install simplescreenrecorder# if you want to record 32-b...
阅读全文
posted @
2015-01-17 19:36
c3tc3tc3t
阅读(731)
推荐(0)
ubuntu install fonts
摘要:sudoapt-getinstallttf-wqy-zenhei
阅读全文
posted @
2014-12-25 22:43
c3tc3tc3t
阅读(292)
推荐(0)
关闭ubuntu讨厌的内部错误提示
摘要:修改/etc/default/apport浏览下/etc/init/apport.conf 内容你会发现,控制此服务是否启动的是/etc/default/apport所以把/etc/default/apport的enabled修改为0就ok了
阅读全文
posted @
2014-12-15 19:21
c3tc3tc3t
阅读(263)
推荐(0)
opensuse13.2安装 sass和compass
摘要:首先要先安装ruby 和 gem如果使用sudo zypper install ruby 安装后 当安装sass时会报错/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can...
阅读全文
posted @
2014-11-24 20:55
c3tc3tc3t
阅读(197)
推荐(0)
解决 下载额外数据文件失败 以下软件包要求安装后下载附加数据,但其数据无法下载或无法处理 ttf-mscorefonts-installer
摘要:ubuntu 14.04 今天安装完 wine,之后会出现这个问题 原因应该是需要的字体无法下载那你需要手动下载,到这个地址下载http://sourceforge.net/projects/corefonts/files/the%20fonts/final/除了wd97vwr32.exe,其余11...
阅读全文
posted @
2014-05-12 05:11
c3tc3tc3t
阅读(4023)
推荐(0)
opensuse13.1 安装 SqliteMan
摘要:Sqliteman是一个图形界面的sqliteman客户端官网 http://www.sqliteman.com/1 添加源http://download.opensuse.org/repositories/home:/subik/openSUSE_13.1/2sudo zypper in sqli...
阅读全文
posted @
2014-04-29 10:13
c3tc3tc3t
阅读(344)
推荐(0)
opensuse13.2国内源和设置命令
摘要:ustc-osshttp://mirrors.ustc.edu.cn/opensuse/distribution/13.2/repo/oss/ustc-non-osshttp://mirrors.ustc.edu.cn/opensuse/distribution/13.2/repo/non-oss/...
阅读全文
posted @
2014-04-24 05:59
c3tc3tc3t
阅读(3023)
推荐(0)