自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(74)
  • 收藏
  • 关注

原创 诡异的python文件

诡异的python文件十分诡异十分诡异我有以下文件,放在文件夹A下执行 (Python.exe, VS code, jupyter notebook),第三行报错,找不到 TrieAPI.如果把该文件放到其他文件夹下,可以完美执行。真的是太诡异了。。。弄了2个小时。。。import clrclr.AddReference(r"C:\Users\×××\××××××\AI\TrieTree...

2018-10-09 17:37:03 179

原创 Linux 虚拟机 docker 上 搭建 python 机器学习 平台

本文介绍 Linux 虚拟机 docker 上 搭建 python 机器学习 平台1.申请虚拟机 VM with Linux: CentOS 7 (64-bit) 2.装MobaXterm, 远程访问虚拟机 3.在linux上装docker:sudo yum install docker4.启动docker: sudo systemctl start docker5.在...

2018-08-31 16:47:14 505

转载 git无法pull仓库: refusing to merge unrelated histories

本文讲的是把git在最新2.9.2,合并pull两个不同的项目,出现的问题如何去解决fatal: refusing to merge unrelated histories我在Github新建一个仓库,写了License,然后把本地一个写了很久仓库上传。先pull,因为两个仓库不同,发现refusing to merge unrelated histories,无法pull因为他们是两...

2018-08-01 15:03:49 202

原创 Python

dataframe column type conversion: df.apply(pd.to_numeric, errors=’ignore’) https://stackoverflow.com/questions/15891038/change-data-type-of-columns-in-pandas

2018-08-01 15:02:31 141

转载 28 Jupyter Notebook tips, tricks, and shortcuts[Re-post]

This post is based on a post that originally appeared on Alex Rogozhnikov’s blog, ‘Brilliantly Wrong’.We have expanded the post and will continue to do so over time — if you have a suggestion please...

2018-07-24 09:30:12 837

原创 What is the best way to calculate a checksum for a file that is on my machine?

The CertUtil is a pre-installed Windows utility, that can be used to generate hash checksums:CertUtil -hashfile pathToFileToCheck [HashAlgorithm]HashAlgorithm choices: MD2 MD4 MD5 SHA1 SHA256 SHA384 SH

2015-12-14 15:59:50 489

转载 Building MAPI Applications on 32-Bit and 64-Bit Platforms

https://msdn.microsoft.com/en-us/library/dd941355(office.14).aspxBuilding MAPI Applications on 32-Bit and 64-Bit PlatformsOffice 2010Other VersionsLast

2015-05-16 13:59:06 486

转载 Linux 查看进程 关闭进程

使用Linux服务器,最常用的就是查看后台进程、关闭不用的进程工具/原料一台装有Linux操作系统的计算机启动一个进程1先启动一个进程作为测试使用END查看启动的进程1可以使用以面命令来查看ps -ef |gre

2015-04-19 13:17:57 847

原创 阻止putty变成inactive

Frequent users of putty should have encountered the Putty (inactive) problem. This happens because servers are usually configured to disconnect idle sessions after they are inactive for a particular t

2015-04-19 12:38:09 2097

转载 linux终端里CTRL-Z和CTRL-C的区别

提问:CTRL-Z和CTRL-C区别?回答:CTRL-Z和CTRL-C都是中断命令,但是他们的作用却不一样.CTRL-C是强制中断程序的执行,而CTRL-Z的是将任务中断,但是此任务并没有结束,他仍然在进程中他只是维持挂起的状态,用户可以使用fg/bg操作继续前台或后台的任务,fg命令重新启动前台被中断的任务,bg命令把被中断的任务放在后台执行.例如:当你vi一个文件是,如

2015-04-18 16:50:09 5922

原创 Visual Studio使用DebuggerBrowsable和DebuggerDisplay自定义调试窗体

2011-10-25 09:46 Visual Studio使用DebuggerBrowsable和DebuggerDisplay自定义调试窗体使用DebuggerBrowsable特性可以自定义调试窗体。使用DebuggerDisplay特性可以自定义调试信息的显示。要使用这些特性,需要引用System.Diagnostics命名空间。技巧1、使用Debugg

2012-09-25 15:54:04 2002

原创 Visual Studio 2010 主题文件 保护眼睛

http://studiostyl.es/

2012-07-28 16:09:31 1775 1

原创 C# TextBox中只能输入数字的几种常用方法(C#)

private void tBox_KeyPress(object sender, KeyPressEventArgs e)        {            if (e.KeyChar == 0x20) e.KeyChar = (char)0;  //禁止空格键            if ((e.KeyChar == 0x2D) && (((TextBox)sender).T

2012-07-22 16:31:06 771

转载 Windows 7使用技巧大全(含键盘快捷键)

,这确实是一个令人感到振奋的举动。为了迎接Win7的到来,想必有很多朋友会和笔者一样开始收集整理有关Win7使用技巧的一些文章。一、Windows 7键盘快捷键在Windows 7中,组合快捷键数量得到进一步增加,活用以下一些快捷组合能让你日常操作更快捷更方便。首先是窗口管理和操作的快捷键。Win + 上下方向键:对程序窗口大小调整是经常会遇到的操作,尤其是默认窗口和最大化之间的切

2012-06-20 13:22:53 1303

原创 Cannot debug x64 Process with VS2010 SP1 under Win7 64

Delete the file "C:\Program" or "D:\Program".http://social.msdn.microsoft.com/Forums/ta/vsdebug/thread/63275f50-c640-4ee4-9408-cd47d42e9144I found the reason for my problem by comparing

2012-06-15 16:58:55 658

转载 How to Increase the Memory Limit for 32-bit Applications in Windows 64-bit OS

1. Go to Control Panel, and click view by “small icons” in the top right hand corner2. Click System3. As per the image below, next to System Type, it should say 64-bit operating system. If it does

2012-06-04 14:01:44 637

原创 Visual Studio: Track Active Item in Solution Explorer

2012-05-28 14:14:35 551

原创 系统的程序有问题怎么办

1.查原因,排错no success, 2.重装no success, 3.进入安全模式,逛一逛no success, 4.回到normal模式,说不定就行了(即使在安全模式下什么都没有做)。License server启动不了,种方法解决了。

2012-05-24 16:05:12 319

转载 常用尺寸

C M Y K 银 色 20 15 14 0 金 色 5 15 65 0 米 色 5 5 15 0 高亮灰 5 5 3 0 浅 灰 25 16 16 0 中 灰 50 37 37 0 深 紫 100 68 10 25 深紫红 85 95 10 0 海水色 60 0 25 0 柠檬黄 5 18 75 0 暗 红 20 100 80 5 橘 红 5 100 100 5 橙 色

2011-12-29 10:00:13 472

转载 MVC

Introduction to Model View Control (MVC) Pattern using C#: http://www.c-sharpcorner.com/UploadFile/rmcochran/MVC_intro12122005162329PM/MVC_intro.aspx?ArticleID=448db537-f236-497d-a16b-46c5d1141e3f

2011-11-22 00:29:51 341

转载 How to find if native dll is compiled as x64 or x86?

You can use dumpbin too. Use the /headers or /all flag and it's the first file header listed.dumpbin /headers cv210.dll64-bit:Micro

2011-09-24 12:11:02 510

原创 提高算法的performance

1. 时间换空间比如说 m*n 次invoke A(); 可以再A()的外层加Dictionary做Cache2. |-------|-------|----------|    current    md---->

2011-09-18 00:08:02 395

原创 BAT中的注释符

BAT中的注释符批处理的注释是什么,是:rem对了,是这个了,在这个后面跟的就不会给批,使用方法:rem 打开程式循环开始 在批处理中,段注释有一种比较常用的方法:     goto start      = 可以是

2011-09-16 15:10:06 775

原创 Design pattern

http://en.wikipedia.org/wiki/Software_design_pattern

2011-09-01 18:24:59 291

转载 Top 10 ways to dramatically increase your personal productivity

http://wayneharrel.zielix.com/10-ways-to-increase-your-personal-productivity/

2011-08-30 16:46:22 337

转载 FxCop介绍

FxCop是一个代码分析工具,它依照微软.NET框架的设计规范对托管代码assembly(可称为程序集,assembly实际上指的就是.net中的.exe或者.dll文件(不包括netmodule文件),这种文件中包含四种信息:assembly的清单(包括引用外部的assembl

2011-08-30 16:40:31 567

原创 一个软件,internal version 和external version, 安装有问题

现在我们做了一个软件,分为internal version 和external version。external version的功能受限。比如Interval verison 叫 software internal; external version 叫softwa

2011-08-29 17:26:06 923

原创 InstallShield, Product Codes, Package Codes, and Upgrade Codes, Oh my god!

So you’ve created an upgrade item with InstallShield (mine is 11.5), you’ve set everything up right as far as you can tell, and when you run

2011-08-29 15:14:49 2509

原创 Free installer for Windows programs

Inno Setup http://www.jrsoftware.org/isinfo.php

2011-08-29 15:13:45 463

转载 C语言中史上最愚蠢的Bug

http://coolshell.cn/articles/5388.html本文来自“The most stupid C bug ever”,很有意思,分享给大家。我相信这样的bug,就算你是高手你也会犯的。你来看看作者犯的这个Bug吧。。首先,作

2011-08-27 00:49:02 588

原创 Unit test, lack of the dlls

When you run unit test by NUnit, some times, it will say that "Some of the *.dll or its dependency could not be found", this time you should

2011-08-26 14:35:21 367

原创 ReSharper5.1注册码

使用ReSharper插件能够进行代码简化和智能提示Resharper 5.1 注册码User Name: UserKey: D9d09DSYJel9IyuDU4btAQwZcbLugUad

2011-08-21 16:25:48 1582

转载 Dynamic Code Generation using CodeDOM

http://www.codeproject.com/KB/cs/DynamicCodeGeneration.aspxDynamic Code Generation Why generate code? As the name suggests, dynamic co

2011-08-18 09:41:11 1040

原创 版本控制 不能checkout “configureration rule”

用版本控制如那件,不能chekcout我们的 “configureration rule”,虽然我有权限。但是message说“我没有权限”。Solution:1. 原来这个“configureration rule“已经被我气其他的revisionc

2011-08-01 09:10:03 337

转载 课后怎样复习效果好

课后怎样复习效果好如果在课后能抓住“黄金5分钟”的时间进行过电影似地回顾,那么之后他再回忆起来学过的知识会更快,复习真的很重要。     课堂教学对于师生来说是至关重要的。多年的教学经验告诉我,课后复习也同样重要。那么,课后怎样复习效果好呢?在这里谈自己的一点浅见。     1、

2011-07-23 13:42:08 737

转载 狂爱五!道!口!五道口资料大汇总!

SHREK使来客:终于去吃了这个小店,超级小的店面倒是别有特色,一共才能容纳不到十个人,我点了一个使来客饭卷和鱼糕,花了大约14吧,卷饭有很多种,价格在15-20左右,可以说还挺好吃的,特色有一个炒面棒还是什么,我记不太清楚了,肯定会再去的,唯一的问题就是上菜的速度太慢,很多人排队打包带走,我吃饭的时候旁边坐着一个微软的女生(工作牌),突然觉得很羡慕他们在五道口工作办公,早知道如此就去微软工作了。。。晋汾香:作为忠实的晋菜的拥护者,我终于在超市发对面找到了一个晋菜餐厅,和朋友冲进去,坐下,点菜,环境不错,但

2011-03-04 22:04:00 3527

原创 2011年1月23日长城游

好久没有写博客了,打算以后尽量抽空谢谢博客,练练笔。经过一年的努力,我们终于迎来了软件的Beta测试(1月17-21)。这次测试,我们请了大概15个人,其中有是个左右的老外。有来自美国,委内瑞拉,巴西,马来西亚,法国,英国的国际友人。。。 测试还算融洽,我们开发人员的活不是很重,测试的兄弟应该挺累的。我们1月21好,从早上测到晚上10点,才去吃饭,够囧吧。 Leonardo和Jason...

2011-02-07 23:14:00 900

原创 用”Windows Install Clean Up“ 可以卸载不好卸载的软件!!!!

<br />用”Windows Install Clean Up“ 可以卸载不好卸载的软件!!!!

2010-12-31 10:07:00 1787

原创 Can not run Dotfuscator 4.4-----Reference not set to an object.

I have installed only Visual Studio 2010, and Dotfuscator 4.4. Then I register the software Dotfuscator 4.4.But when I run Dotfuscator 4.4, an error message always appear "Reference not set to an object.", and the build is terminated.I uninstall/install my

2010-11-23 17:58:00 625

原创 如何从电脑中强力卸载软件,如果响应的文件上了,并且当时安装程序也找不到了。

我装了一个软件,我主动把这个软件目录下的所有文件全部删了, 但是它的信息在注册表中还存在,并且影响了我使用其他软件。这时我想把这个软件彻底卸载。于是我用windows自带的Add/Remove工具卸载,虽然Remove list 中有X的信息,当我click to uninstall, there iserror, because it could not find the uninstall program. I must repair it first. But I need the original

2010-11-03 10:02:00 4359

空空如也

空空如也

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

TA关注的人

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