自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hunter

May you: do good and not evil,share freely, never taking more than you give.

  • 博客(34)
  • 收藏
  • 关注

转载 linux:vim front end some plugins

VundleVundle 是一个 Vim 的插件管理工具,类似于 Bundle 的功能。它可以让你通过配置 .vimrc 文件来安装多个 Vim 插件。安装 VundleVundle 代码 直接下载到你的 ~/.vim/bundle/ 目录下,通过脚本就是:$ mkdir -p ~/.vim/bundle$ git clone https://github.com/VundleV

2017-12-28 15:09:08 220

转载 linux:vimplus

From : http://www.cnblogs.com/highway-9/p/5984285.htmlFrom : http://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.htmlFrom : http://www.cnblogs.com/youxia/p/linux002.htmlFrom : http://blog.c

2017-12-28 12:02:32 1476 3

转载 health:rhinitis

rhinitis :很多人都不把鼻炎当回事,我刚得鼻炎的时候也不在乎,就是经常流鼻涕,越来越严重,总是鼻塞,也上网查了很多鼻炎的最佳治疗方法相关资料,众说纷纭,偏方都是不少,真正对治疗鼻炎管用的方法不多。鼻炎久拖不治或久治不愈,容易导致鼻炎反复发作,会影响咽喉,甚至转化为鼻炎癌。因此提醒广大鼻炎患者,得了鼻炎一定要上心,及时的去治疗 要进行体育锻炼,每天早上起来跑步,有助于增强体质,增强机体免

2017-12-28 09:27:58 173

转载 database:sql.js: Using SQLite Databases with Firefox OS Apps

sql.js: Using SQLite Databases with Firefox OS Apps时间 2014-11-23 12:26:30 Aniruddha's Blog原文  http://blog.adhikary.net/2014/11/sqlite-firefox-os-sql/ 主题 SQLite JavaScriptDeve

2017-12-27 15:05:57 319

转载 front end:firefox os :manifest.webapp

http://blog.csdn.net/nxh_love/article/details/10328849在Firefox OS 学习——Gaia 编译分析  这篇文章多次提到manifest.webapp文件,对于做过android app 开发的人来说,都很熟悉Android.mk 和Manifest.xml文件。在Firefox OS中,manifest.webapp的作用是综合了

2017-12-27 10:48:50 265

转载 linux:vim completion

http://efe.baidu.com/blog/vim-javascript-completion/最近微软出了个Visual Studio Code,听说很diao,尤其是对JavaScript的补全支持很令人惊艳!如果你是一个vim党,那么请淡定!在JavaScript开发过程中,使用vim内置的ins-completion再加上一些插件,我们同样可以获得很牛逼的compl

2017-12-25 10:29:23 558

原创 linux:personal setting of .vimrc

"BASIC SETTINGS""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set nu set showmatch " 高亮显示匹配的括号 set matchtime=6 " 匹配括号高亮的时间(单位是十分之一秒) set sc

2017-12-25 10:12:31 218

转载 linux:vim setting of auto insert comment

Vim的强大就不用我多说了,很多的自定义功能可以由自己更改Vim的配置文件以实现,本文将介绍的是:创建新文件时,自动添加头部注释信息保存文件时,自动重写“修改时间”先来看看效果,当直接创建一个新文件的时候(vim filename.php),就会出现以下注释文字0102#************

2017-12-25 09:51:18 202

转载 database:alter mysql

MySQL 添加列,修改列,删除列ALTER TABLE:添加,修改,删除表的列,约束等表的定义。查看列:desc 表名;修改表名:alter table t_book rename to bbb; 添加列:alter table 表名 add column 列名 varchar(30); 删除列:alter table 表名 drop column 列名; 修改列名MySQL:

2017-12-22 14:05:29 183 1

转载 database:mysql.h: No such file or directory

在Ubuntu体系中,已经安装了mysql,即应用sudo apt-get install mysql-server mysql-client但是用C编译mysql数据库时,报错fatal error: mysql.h: No such file or directory出现这个错误是因为体系没有安装mysql开发库 执行下面指令安装sudo apt-get install

2017-12-22 11:00:15 3024

转载 back_end:C++ ,g++

我也碰到这个问题,试着用以下方法解决:aptitude可以比apt-get更加智能地解决依赖问题,先安装它:sudo apt-get install aptitude使用aptitude:sudo aptitude install build-essential作者:知乎用户链接:https://www.zhihu.com/question

2017-12-22 10:46:47 173

转载 database: C and mysql

https://yq.aliyun.com/ziliao/1408741. MySQL的安装与配置:在Ubuntu下安装MySQL方法很简单,使用如下命令:复制代码 代码如下:sudo apt-get install mysql-server安装的过程中系统会提示设置root密码,此过程可以跳过,但是建议在安装时提示设置root密码的时候自行设置,免得后面设置麻

2017-12-22 10:06:14 318 2

转载 chinese:garble

fixed my problem.Ubuntu系统使用Firefox浏览器的时候部分中文成了乱码重装中文字体。sudo apt-get install ttf-wqy-microhei #文泉驿-微米黑sudo apt-get install ttf-wqy-zenhei #文泉驿-正黑sudo apt-get install xfonts-

2017-12-22 09:25:14 165

原创 database:sql.js the note demo

question query:1.to create notes from html page(1)input from textarea label,(2) save button,finish the function of write it into data base(INNSERT)2.save it to database(1)a button

2017-12-21 11:29:26 269

转载 database:mysql(C++)

http://www.cnblogs.com/lovebread/archive/2009/11/24/1609936.html由于课程大实验需要使用c++操作MySQL数据库,经过一番研究终于成功实现VS2008中与MySQL的连接。 环境设置:安装完MySQL之后,将安装目录中的include目录下的libmysql.lib文件拷到VS2008安装目录中的VC\lib\

2017-12-21 11:25:41 248

转载 linux :vim fold

在VIM下,折叠文本一般情况下我是使用Visual模式选中一些文本,然后用zf命令把他折叠出来,但是经常使用visual模式,感觉不是很方便,不过经常使用感觉不是很方便,找到帮助时.发现可以使用命令模式:开始行号,结束行号folder命令就可以折叠了,同样多行缩进可以使用:110,120>来将110行到120行缩进复制:110,120 yank 复制到默认寄存器或者:110,120 y

2017-12-21 10:48:34 482 1

原创 database:sql.js

study of sql.jsthe readme.md file from github# SQLite compiled to javascript[![Build Status](https://travis-ci.org/kripken/sql.js.svg?branch=master)](http://travis-ci.org/kripken/sql.js)F

2017-12-20 11:13:43 1141

原创 database:SQL in 10 minutes

SELECT vend_name,prod_name,prod_priceFROM Vendors INNER JOIN ProductsON Vendors.vend_id = Products.vend_id;SELECT cust_name,cust_contact FROM CustomersWHERE cust_id IN (SELECT cust_id FROM

2017-12-19 17:39:22 338

转载 database:concat

http://blog.csdn.net/pythonkiddz/article/details/55059162在谈计算字段之前,我们先想一想。储存在数据库中的原始表给我们提供了足够的数据,比如products表中就有商品id,商品名,供应商id,单价。但是实际生活中,比如超市收银员,他们在打单据的时候可不是直接提取原始表单打出来,而是打出一个有商品名,商品单价,和总价的新格式的表单。这

2017-12-18 17:08:42 184

转载 database:ubuntu oracle sql developer

http://blog.csdn.net/github_35965351/article/details/78592046?locationNum=1&fps=1thank to the author.系统环境:Ubuntu16.041.安装oracle client客户端从oracle官网下载如下图三个文件网速较差,作者提供百度云盘下载链接: ht

2017-12-18 10:45:03 181

转载 database:mysql in linux

http://www.cnblogs.com/zhuyp1015/p/3561470.html  ubuntu上安装mysql非常简单只需要几条命令就可以完成。  1. sudo apt-get install mysql-server   2. apt-get install mysql-client   3.  sudo apt-get in

2017-12-18 10:15:54 169

转载 linux:vim setting

basic vim setting:从VIM 复制到系统:"shift" + "y"也有:“+y从系统复制,后粘贴到VIM:shift 加 ctrl 加  v set clipboard=unnamed,就默认使用windows的剪贴板了___________________________________________________

2017-12-15 16:25:45 328

原创 show the link

(1) --> 显示链接 .Body { text-align: center; } .Divshowlink { position: relative; left: 37%;

2017-12-14 15:47:05 176

转载 front-end:map ,jump to some area

html开发中可能会需要用到点击一张图片的某区域进行跳转操作。例子如下:"#Map ">"Map ">    <area   shape= "rect "   coords= "600,1,700,40 "   href= "../../a.html ">    x1,y1,x2,y2 "   href= "../../b.html ">

2017-12-13 17:15:25 152

转载 js :zoomin ,out

/** * 已知图片的宽度和高度的等比例缩放 */ function knowImgSize(id) { var idWidth = $(id).width(), // 容器的宽度和高度 idHeight = $(id).height(); $(id + ' img').each(function(index,img){ var img_

2017-12-13 16:51:31 1208

转载 game : steam

http://blog.csdn.net/qq_21397217/article/details/71940794Linux中启动Steam报错libGL error的解决办法安装好Steam之后,点击启动器一直没有反应,所以去终端用命令steam启动Steam查看日志,发现终端输出如下内容,然后一直卡着,使用Ctrl C结束进程。~ $ steamRunning Steam o

2017-12-12 17:40:50 427 1

原创 the second project , total thinking

2017.12.11 mondaythe thought of this function,two parts :function NO.1 :  favorites !mark or favorites,1.get or make the labels,need to edit yourself 2.store it in storage

2017-12-11 10:50:47 147

转载 sublime Licence keys

[2017.09.15]Sublime Text 2.X, 3.X 注册码 License Key 集合(更新至3144) 2015/07/02 | HTML/CSS| 31 条评论| (20评)| 虽然Sublime Text不用购买注册码也能使用,但是使用过程中偶尔会弹出让购买的小窗口也不是很爽。记录一些搜集的 Sublime Text 3

2017-12-07 12:12:12 1972

原创 sublime text3 install in ubuntu with tar file

1.download the sublime_text_3_build_3143_x64.tar.bz2 file and take it out.if you can not find it,do it from here:sudo tar -jxvf sublime_text_3_build_3143_x64.tar.bz22.copy the file to th

2017-12-07 11:53:59 293

转载 linux:unzip files,tar bz2 zip tar.gz gz

Linux下解压命令大全 解压缩 tar bz2 zip tar.gz gz2008年05月25日 星期日 下午 04:57大致总结了一下linux下各种格式的压缩包的压缩、解压方法。但是部分方法我没有用到,也就不全,希望大家帮我补充,我将随时修改完善,谢谢!整理:会游泳的鱼来自:www.LinuxByte.net最后更新时间:2005-2-20.tar

2017-12-07 09:53:56 234

转载 mac in thinkpad

在thinkpad t530上安装mac os x 10.10黑苹果全记录时间 2015-07-25 08:00:00 邓安良的网络日志原文  http://denganliang.com/2015/07/thinkpad-t530-mac-os-x-1010/ 主题 ThinkPad Mac OS X好久没有用markdown语法来写东西了,里面链

2017-12-07 09:10:31 1289

转载 linux:bash shell

#!/bin/sh ##!/usr/bin/env bash改写文件如果你刚刚创建了一个文件,比如touch a.txt,a 里面现在是空的。你想要往里面加上一句话,怎么操作。你可以打开文件,用 vim,用 atom 都可以。但你要可以用 shell 命令直接插入一句话。echo 'I want to instert a sentence' > a.txt

2017-12-06 16:13:35 134

转载 ubuntu chinese input

ubuntu16.04 英文环境安装中文输入法1. 安装语言包System Settings–>Language Support–>Install/Remove Languages选中chinese,点击Apply应用即可,等待下载安装完成。2.安装ibus框架sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gt

2017-12-06 10:15:48 2958

转载 ubuntu network ip setting

the setting of ip in ubuntu:1.sudo vim /etc/network/interfaces# interfaces(5) file used by ifup(8) and ifdown(8)auto loiface lo inet loopback# The primary network interface - use DHCP to f

2017-12-05 16:15:53 789

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除