1. $git diff origin/master master (show me the changes between the remote master branch and my master branch). 需要注意的是,remotes/origin/master和origin/ma....
分类:
其他好文 时间:
2014-06-21 11:06:52
阅读次数:
212
组内有个同事,有个奇怪的需求需要matplotlib删除x轴效果图如下:关键代码:from matplotlib import pyplot as pltplt.plot(range(10))plt.tick_params(\ axis='x', # changes appl...
分类:
其他好文 时间:
2014-06-18 08:55:25
阅读次数:
324
修复被删除的磁盘链接文件和更新存储信息。无需重启服务器。删除/dev/sda后查看/dev/sd开头的设备:#ll/dev/sd*brw-r-----1rootdisk8,1606-1220:25/dev/sdb查看本机磁盘信息:#fdisk-lDisk/dev/vda:10.4GB,10485760000bytes255heads,63sectors/track,1274cylindersUnits=cylind..
分类:
其他好文 时间:
2014-06-17 17:35:29
阅读次数:
322
You are self-motivated.As a small business owner,you won't hava a boss to tell you when to get to work.If that's a problem,keep your day job.
You can work with number.You will spend a fair amount of time keeping track of money expenses,revenues,taxs...
分类:
其他好文 时间:
2014-06-14 12:10:26
阅读次数:
253
void CMainWindow::OnLButtonDown(UINT nFlags,CPoint
point){ //以下三个是在CMainWindow中定义 m_ptFrom=point; m_ptTo=point; m_track=TRUE;}void
CMainWi...
分类:
其他好文 时间:
2014-06-11 12:03:13
阅读次数:
1160
There are three DMVs you can use to track
tempdb
usage:sys.dm_db_task_space_usagesys.dm_db_session_space_usagesys.dm_db_file_space_usageThe
first two ...
分类:
数据库 时间:
2014-06-10 11:27:07
阅读次数:
307
CHS:柱面,磁头,扇区的简写
LBA:logic block address
一个硬盘包含磁盘,磁头,磁道,扇区,柱面
硬盘:hard drive
磁盘:platter
磁头:head
磁道:track
扇区:sector
柱面:cylinder
扇区是最小的存储单位,一般是512 bytes。
Unix 中专有存储...
分类:
其他好文 时间:
2014-06-07 02:01:54
阅读次数:
404
Ubiquitous ReligionsDescriptionThere are so
many different religions in the world today that it is difficult to keep track
of them all. You are intere...
分类:
其他好文 时间:
2014-06-02 00:37:06
阅读次数:
296
.oLi-lists-scroll::-webkit-scrollbar { width:5px;
padding:1px; background:url(../images/repeat-bar.png) repeat-y;}/* Track
*/.oLi-lists-scroll::-webki...
分类:
Web程序 时间:
2014-05-29 19:02:39
阅读次数:
386
作者:zccst重绘和重排之前也知道,但也没有可以详细了解他们的机制,区别,以及对性能的影响。A
repaint occurs when changes are made to an elements skin that changes
visibility, but do not affect i...
分类:
其他好文 时间:
2014-05-28 21:31:15
阅读次数:
519