Categories
软件

Sublime Text Build 3059 发布及破解文件(Windows/Linux/32/64/Mac全版本)

全文转载自http://bbs.pediy.com/showthread.php?t=182774
Part 1
前天(12.17)ST放出了最新版sublime text build3059, 这个版本增加了很多功能,相信很多人看到这个消息应该很兴奋。
下面是Sublime text build 3059的更新内容:

  • Added tab scrolling, controlled by the enable_tab_scrolling setting
  • Added image preview when opening images
  • Encoding and line endings can be displayed in the status bar with the show_encoding and show_line_endings settings
  • Added settings caret_extra_top, caret_extra_bottom and caret_extra_width to control the caret size
  • Added index_exclude_patterns setting to control which files get indexed
  • Automatically closing windows when the last tab is dragged out
  • Changed tab close behavior: the neighboring tab is now always selected
  • When the last file is closed, a new transient file is created automatically
  • Ctrl+Tab ordering is stored in the session
  • Added minimap_scroll_to_clicked_text setting
  • Improved error messages when unable to save files
  • Auto complete now works as expected in macros
  • Minor improvements to Python syntax highlighting
  • Vintage: A block caret is now used
  • Vintage: Improved behavior of visual line mode with word wrapped lines
  • Find in Files will no longer block when FIFOs are encountered
  • Linux: Added menu hiding
  • Linux: Fixed incorrect handling of double clicks in the Find panel
  • Linux: Fixed incorrect underscore display in some menus
  • Posix: Fixed new files being created with unexpected permissions
  • Windows: SSE support is no longer required for 32 bit builds
  • API: Window.open_file now accepts an optional group parameter
  • API: Plugins may now call Settings.clear_on_change() within a callback from Settings.add_on_change()
  • API: Calling Settings.add_on_change() from within a settings change callback won’t cause the added callback to be run


还不心动吗? 还不立马去官网上下载一个试用一下:sublime_text_build_3059

Part 2
这个版本的更新除了功能上的更新,在软件加密方面也增加了难度。之前的版本只要把一个函数的返回值始终置为0就可以实现强力破解,但是这个版本增加了难度:原来的那个函数要在输入注册码的时候返回0,而在软件开启的时候返回1.这个就不好破了。
下面是今天搞的windows下的32和64位版本的破解后的exe,下载相应的exe后复制到软件原目录就可以。(必须先自己下载安装官方的原程序!)注册机正在想办法写,Linux下的破解文件也在搞。

破解思路可以看我原来的帖子,今天不详细写了,等把注册机写好之后一并再写。
http://bbs.pediy.com/search.php?searchid=5068774
http://bbs.pediy.com/showthread.php?t=172084
http://bbs.pediy.com/showthread.php?t=172089


这是效果图:
Sublime Text
下面是我修改的exe,欢迎交流学习。
Windows版本下载地址:
sublime_text_build_3059_win32
sublime_text_build_3059_win64

Edit:Linux版本的破解补丁在今天搞定了!
Linux版本下载地址:
sublime_text_build_3059_linux32
sublime_text_build_3059_linux64

Edit: MacOS版的也搞定了,
下载地址:
MacOS Sublime Text 3059 
 

Categories
生活琐碎

更换新的服务器啦~

服务器从30元/月的某供应商换到了5刀/月的DigitalOcean,感觉连接速度了不少,tracert了一下发现果然如此~
花了一两个小时把数据搬迁过来了,WordPress的导入/导出工具赞一个!

Categories
木有技术

Apache 虚拟主机 ERROR: Site blog.dayandcarrot.net does not exist! a2ensite

今天在新的DigitalOcean下安装apache2,配置虚拟主机用于我的博客服务,然后根据
http://www.neoease.com/apache-virtual-host/
的内容进行配置,因为以前做过相同操作,所以一路轻车熟路~
结果运行a2ensite时,提示
ERROR: Site blog.dayandcarrot.net does not exist!
当时我的配置文件直接就是blog.dayandcarrot.net这个名字,以前也这么用的
然后我翻了下apache的配置文件apache2.conf,发现目录结构描述中有

# It is split into several files forming the configuration hierarchy outlined
# below, all located in the /etc/apache2/ directory:
#
#	/etc/apache2/
#	|-- apache2.conf
#	|	`--  ports.conf
#	|-- mods-enabled
#	|	|-- *.load
#	|	`-- *.conf
#	|-- conf-enabled
#	|	`-- *.conf
# 	`-- sites-enabled
#	 	`-- *.conf

看到后缀都要是.conf的
然后我把文件名后加了个.conf的后缀,再
ensite blog.dayandcarrot.net
然后就搞定啦!~

Categories
生活琐碎

2014年4月 毕业生申请英国旅游签 一周到手

转载本文请务必注明来自http://blog.dayandcarrot.net/?p=1195

盈利性网站、企业转载请务必先与本人联系,否则后果自负

===================================================

恩,是我自己申请签证的经历。自我介绍一下吧:
本科大四,今年暑假毕业,去英国纯粹旅游,申请的是半年的旅游签,去年年底刚拿的护照,没有任何国家的签证记录。
有些人说英国签证很难,感觉有点唬人,事情办完之后回想一下,主要是材料准备的复杂问题,其他还好。
全程我没有找旅行社帮忙,一切DIY搞定。中间部分文档用了淘宝找的一家翻译公司,后来证明是没有必要的!

——————-

参考资料方面
1.参考穷游网,另外搜索各大旅行社需要准备的材料。我搜到的是携程的材料,还是比较详实的,地址是http://vacations.ctrip.com/visa/p55374s2.html###
2.搜索个人出行的经历,以时间最新的为主,我找到豆瓣的一篇http://www.douban.com/group/topic/45453044/
3.搜索各个文档的翻译模板,百度文库什么的相当多,我跟翻译公司的翻译结果对照了下,基本没什么出入。
4.找淘宝上办签证的旅游公司,问下需要什么材料,一半他们都会直接丢一个压缩包给你让你先看的,里面有些东西还是比较有用的。尽管你不必买他们的服务~
5.最重要的是查找英国官方机构的文档。我找到了两篇东西很有用
a)官方的签证申请说明,中文版的哟。http://pan.baidu.com/s/1kTqOzDd
b)签证申请网站中各问题的解释,这个是英文的。http://pan.baidu.com/s/1nthqRkH

——————————-

我的申请材料:
下面是我的申请材料,本人学生党一枚。为了方便工作人员,我还特地写了个目录,结果也被VFS的人员收进去了,看来还是有用的。
申请材料最终递交时分成两堆,第一堆是提交的原件,第二堆是复印件和翻译件,我把同一材料的复印件放在前,翻译件跟在复印件后面,然后那回形针别好,这样就比较有条理了。
下面是我提交材料的目录,这个文档我也打印出一并交掉了。递交申请材料时我的各项材料按照这个目录的顺序放好,不过VFS那边也会有一张打钩的表的,工作人员会跟你确认你提交了哪些东西。棕色的字是我编辑这篇文章后加的。

Table of Contents

The following table shows the documents provided to support my visa application GWF0——-.
 
Name Original Document 
原文档
Translation 
翻译件
Copies 
复印件
Holder 
/Owner
所有者

Passport

护照

Provided Provided in the same document Provided Myself

ID Card

身份证

Nil * Provided Provided Myself

Studying Certificate

在读证明。我们学校的档案馆花了20大洋翻译的,有盖章~要有学校抬头。

Provided Provided in the same document Provided Myself

Student ID

学生证

Nil * Provided Provided Myself

Personal Certificate of Deposit

我本人的存款证明(其实只冻结了1礼拜,5W存款)

Provided Provided in the same document Provided Myself

Itinerary

行程单,这个必须有,自己造一个就行,百度上也有模板

Provided Provided in the same document Nil Myself

Flight Booking Confirmation

航班预定证明。这个我上携程订的,不用付钱,把延迟出票勾上就行,就是邮箱里那个延迟出票确认

Provided Provided Provided Myself

Hotel Booking Confirmation

酒店预订单。这个是妹子在booking上帮我订的,也是不要钱的。预订这种还有个好处,就是填签证表的时候,在英国期间的联系地址有了。

Provided Provided in the same document Provided Myself

Household Register

户口本。本来我没打算交原件,但是VFS的说基本上大部分都交了,于是我也随大流。

Provided Provided Provided My mother

Employment Certificate

老妈的在职证明。单位人事处开的,有单位抬头。

Provided Provided in the same document Provided My mother

Personal Current Account Detail List

我妈的工资卡流水单,6个月的。

Provided Provided Provided My mother

Certification of Deposit

我妈的存款证明。5W

Provided Provided Provided My mother

Financial Support Statement

我妈给我的经济资助证明,里面的东西就是我妈本人同意我去英国旅行啊愿意资助我啊什么什么,然后签字一个。

网上据传有学生没交这个然后被拒,不知道是真是假。

Provided Provided in the same document Nil My mother

Housing Property Ownership Certificate #1

房产证

Nil * Provided Provided My mother

Housing Property Ownership Certificate

#2

房产证

Nil * Provided Provided My mother

 
* :  The document will be provided when I deliver my visa application.
另外,四个问题
1、由于官方文件中,在校学生出行要提供准假信,但是那时候我已经毕业了提供不了,所以我自己写了个Information Note,信息如下,意思就是我毕了业有去处,但是两边学校都不管我,所以没办法提供相应证明。此外留了几个电话(学校网站找的),以示清白:)这个文件打印出后自己签了个名。

Information Note

I am a graduating student of Southeast University and I will finish my diploma project (Bachelor Engineering) in this semester. This trip will be a part of my after-graduation trips. Since the planned journey (from 21st Jun 2014 to 30th Jun 2014) will be in the time of summer vacation, at which time I will no longer be the student of Southeast University, the related departments cannot offer me the furlough certificate.
I will continue my postgraduate study in Zhejiang University as a recommended graduate student. Because the letter of admission will be sent in May or June I am currently unable to provide any official files. If you need to confirm the information I provided above, here is the contact information:
a)       Dean’s office of Southeast University: 025-52090218/52090227
b)      Graduate School of Zhejiang University: 0571-87951349
c)       College of Computer Science and Technology, Zhejiang University: 0571-87952168
2、关于翻译件的问题。我是花了冤枉钱请了淘宝的翻译公司翻译了大部分文档,然后才在网上搜索到其实旅游签证自己翻可以的。我妈的存款流水就是我自己翻译的,后面注明“”然后自己签个名,事实证明的确是可以的。翻译绝大多数都有模板,我觉得过了六级的人完全可以自己翻。

3、英国有关部门是找外包公司负责签证材料的递交的,所以他们黑心钱可以狂赚,还好自己看过攻略,那边很多大妈复印东西拍照啥花了好多钱的。能复印的东西尽量自己复印好,因为那边复印1元/张,签证相片找照相馆拍好,那边35元4张,其他的见官网吧不想吐槽了……
4、网上在线申请时,如果申请内容有一点填错的话,打印出来自己手工用黑笔将错误部分划去,边上直接修改即可。

===================================

由于3月底至4月初英国部门改革,然后国内的外包公司据说也换了,所以我申请的时候没有给我track number,我网上无法跟踪记录,只能凭60大洋收费EMS服务的单号查。不过总体还是顺利的,4月8日递材料,16号能查到EMS,17号收到东西。哦我是在杭州递签的。

Categories
不学无术

word中公式居中,编号右对齐的设置方法!

1、首先,显示标尺。正常情况直接见于word界面中上部。
2、光标停在公式所在的行,不要求行中的具体位置。
3、选择标尺左端的制表符格式。(这一点是这样子滴)
Word制表符
3.1、选择居中式┻制表符,然后在标尺中间点击鼠标左键,即出现一个居中式制表符。可以拖动制表符到任意位置。
3.2、选择右对齐式┛制表符,然后在标尺末端点击鼠标左键,即出现一个右对齐式制表符。可以拖动制表符到任意位置。
注:3.1和3.2顺序不分先后。也可以先拖动任意制表符到指定位置,再设置制表符属性。
4、在公式的前面加入一个TAB(按一下Tab键),在公式与编号之间再加入一个TAB。
5、大功告成!
 
 
http://www.cnblogs.com/rwxybh/archive/2009/05/06/1450987.html

Categories
不学无术

支持向量机 Support Vector Machine

网上翻了好几篇,发现这个博客里的支持向量机的东西介绍的比较全,里面的公式看着也比较顺眼哈哈~
来自http://blog.pluskid.org/

支持向量机系列

Categories
生活琐碎

英国签证状态查询 2014年4月起

原来的VFS-cn外包公司不干了,现在换成了vfs-global,于是乎签证状态查不来了,不过目前还是有办法使用UK签证移民局的邮件服务或即时通讯服务(付费)查询到的。
网站是这个,不过需要到墙外才行https://ukvi-international.faq-help.com/
如果有需要查询状态的话,可以将您的申请号码(GWF开头)及出生年月日发送至iorange$126.com,楼主可以帮忙免费查询,不过邮件服务是24小时内回复的哦(将邮箱地址中的$替换为@)

Categories
不学无术

距离计算方法总结

查看全文:http://www.cnblogs.com/xbinworld/archive/2012/09/24/2700572.html

距离计算方法总结

  在做分类时常常需要估算不同样本之间的相似性度量(Similarity Measurement),这时通常采用的方法就是计算样本间的“距离”(Distance)。采用什么样的方法计算距离是很讲究,甚至关系到分类的正确与否。
本文的目的就是对常用的相似性度量作一个总结。
本文目录:
1. 欧氏距离
2. 曼哈顿距离
3. 切比雪夫距离
4. 闵可夫斯基距离
5. 标准化欧氏距离
6. 马氏距离
7. 夹角余弦
8. 汉明距离
9. 杰卡德距离 & 杰卡德相似系数
10. 相关系数 & 相关距离
11. 信息熵
Categories
不学无术

Data compression format (Format #65534) is not supported | 28smilePcm: bogus wave/riff header or file in wrong format

今天语音转换出来的wav文件能用其他播放器打开,但是openSMILE和matlab读入都报错,弄了快两个小时终于搞定了。
先说第一个问题,就是Data compression format (Format #65534) is not supported
这个问题可能是音频文件的位宽度带来的问题,建议用转换工具把位宽度转换成24bits以下,最好是16bits。
然后我matlab能用wavread/audioread读取音乐文件了,但是openSMILE还是报错,提示文件头不对
用了个猥琐办法解决,就是matlab读入后再把文件写一遍(wavwrite),然后竟然尼玛好了。
估计openSMILE对文件头的要求太高吧。

Categories
木有技术

openSMILE 语音处理库的Visual Studio 2013编译版本 – v2.0-rc1 Release

openSMILE是一个很全能的语音信号处理方面的工具库,详见http://opensmile.sourceforge.net/
编译版本/Build revision : v2.0-rc1
自己本地编译的版本,适合运行.net Framework 4.5的Visual Studio 2013.给有需要的人吧~
Requirements:
-Visual Studio 2013 run-time (release) or above
-.net Framework 4.5 run-time or above
网盘下载:
http://pan.baidu.com/s/1c0DwFnE
Download:
https://mega.co.nz/#!ZU1jDDYC!cN5klBVYpyWerA08_-yu3anMzRHNuHCaU1bfl9bFO6g