Author: Haidong Ji

  • Index compression script generation

    I wrote a script to generate script for non-clustered index page compression in SQL Server. I’ve since made improvements and here it is. Highlights: This script generates index compression script on a partition by partition basis, if the underlying index is partitioned; Like the previous version, it still works for non-partitioned indexes; Like the previous […]

  • Yanking and sorting lines matching a pattern

    One of the best investments I’ve ever made is to be proficient with a good cross-platform editor, in my case Vim. It took me a good few months before I really became comfortable with it, but those few months’ struggle yielded huge dividend since then! So after years of Vim usage, I consider myself a […]

  • Ubuntu更新、Python和R软件包安装、和Firefox下载插件演示

    视频演示: 1. 怎么更新Ubuntu Linux; sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential 2. 怎么安装Python包; sudo apt-get install python-pip sudo apt-get install python-dev sudo pip install numpy sudo pip install ggplot… 3. 怎么安装R和R包; sudo apt-get install r-base sudo apt-get install openjdk-7-jdk sudo R install.packages(“xlsx”) 4. 如何方便快捷下载视频: Firefox, 插件DownThemAll

  • 建立中文版Linux虚拟机

    最近在几个QQ和微信IT群里灌水,注意到不少同学在大学或工作中没接触过Linux。而很多IT项目如大数据、机器学习、服务器等都需要Linux技能,所以很多人想开始接触、学习Linux。我就动手做了以下视频给初学者,希望能有帮助。这是我第一次做screencast,很希望能听到你的批评和建议。 更新:视频上传到优酷后,效果并不理想。我又尝试了其它视频分享网站如乐视、QQ视频、新浪视频、和土豆。乐视的上传网页没有上传渠道,或许因为我的IP地址在国外?我在新浪视频网页也碰到同样问题。QQ视频倒是允许上传,但最终告诉我“您的视频可能包含有相关主管机关明确规定不能出现的违规内容,因此无法通过审核。请修改后再重新上传。”,真是令人匪夷所思。 最后上传到土豆,效果还可以。我是把几个小视频合并到一个文件,但由于操作错误,我没有把一开始介绍VirtualBox软件的那部分合并进去。你只要记得VirtualBox在Windows、Linux、Mac上都可以免费运行并去下载安装就可以啦。

  • Convert Excel file with hyperlinks to CSV

    It seems the venerable file format CSV (Character/Comma-separated values) never goes out of style. According to CSV wikipedia page, IBM Fortran started supporting this format in 1967, before many of us were born. CSV has been with us, through thick and thin, silently but steadfastly, ready to spring into action when duty calls. For sure, […]