0%

我想,这个标题或许是很多初学者的问题。尤其是像我这样的对C/C++比较熟悉,刚刚进入python殿堂的朋友们
。C/C++的函数参数的传递方式根深蒂固的影响这我们的思维–引用?传值?究竟是那种呢。
语言的特性决定了是使用的方法,那么,现在我们来探究一下python的函数参数传递方式。

Read more »

当我们在github申请一个pages之后,很多人会选择自定义域名,给自己的github pages一个属于自己的名字。
那么,从申请到域名到最后的github自定义域名设置,中间究竟发生了什么,本文就来说说域名那些事。

Read more »

Helm has been released a long time, but I am always get used to ido.

But based on some article recently, and I am really like new things, so I decided to use the this helm package.

So, let’s start.

Read more »

对于日本旅游来讲,大多数人是不会单独去冲绳旅行的。
而我这次是为了日本的三年签证,所以来了一次冲绳的短期旅行。
因为是只有两天时间的短期旅行,所以并没有进行冲绳的深度游,不能和很多的攻略大神比。
这里只是记录一下旅行中的小片段,和大家分享。

Read more »

I do not notice this issue when I try to use the npm from emacs eshell.
I found that the npm can be found from bash in iTerm2 but cannot be found from emacs eshell.
Then I notice that the emacs do not sync the interal PATH with what you can check from bash.

Read more »

My emacs is mainly using git submodule to organise the packages. I do not use any package management for my emacs currently. But recently, i lose the evil package git repository access. That makes me to really the potential issue about git-submodule. Meanwhile, I found the git-subtree, so i decide to move all my packages from git-submodule to git-subtree.

Read more »

After deploy the asp.net web api application, I found that when a error (exception) occurs, the return message would only be

1
2
3
{
"Message": "An error has occurred."
}

But when in local debug, the message would be more detail:

1
2
3
4
5
6
{
"Message": "An error has occurred.",
"ExceptionMessage": "The remote server returned an error: (409).....",
"ExceptionType": "System.Net.WebException",
"StackTrace": " at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)...."
}
Read more »

In common C# Unit test, we always meet the problem that our final application is depending on many 3rd party or system references. But for unit test, we need to separate and control the dependency libraries behaviour. One of the solution will be Microsoft Fake.

Here let me talk about Microsoft Fake , and how to unit test your application which depends on many system or other references.

Read more »

Just register a new domain name from godaddy, so this blog will use this new domain name as long as I can.

I have to say that the git hub page custom domain manual is really unclear. And thanks for that someone could give more detail.

About how to setup godaddy, here is good reference article.

Done~~

Let’s blog~~!

Read more »