Thursday 29 September 2011

Cascade link type 'NoCascade' is invalid for Delete. while importing customizations

If rollups installing/uninstalling does not helps, try exucute this sql on your _mscrm database:

UPDATE [dbo].[RelationshipView] SET [CascadeDelete] = 2
WHERE [IsCustomRelationship] = 0 AND [CascadeDelete] = 0

Crm routing check

* rollup matches?
* can import customization with out issue
* all code builds

Wednesday 28 September 2011

New EA wiki tips and tricks

http://eawiki/TipsAndTricks.ashx
Nav Solution wiki template
Create a client page first with client short code e.g. WAIMIL
Create a solution page name in this format {client short code]_[Project Name] e.g. WAIMIL_CRM

What to do in the handover process?

The following tells you what to do in the handover process

The main theme is that when a request coming, you know enough to do your job. where the server is. How to compile all the code? How to deploy? Know who to ask for support, e.g. infrastructure support.

Initial meeting -> Handover meetings -> Handover closer meeting

* Initial meeting. Who is who? What is our goals?

* Another way to think about it. Where is the test? The test scripts will tell the business process.

* When will the warranty period finish? Who will determine if the case come to Management Services or the Delivery team?

* Wiki page requirement: This documentation should be completed to a level where a developer could setup a development environment, make changes, test and release the changes to UAT and Live. Use the Support Handover questions to guide you in the sort of information required.
+ Where is the code in tfs
+ Grant us sufficient tfs permission and remove permission of developer.

* We must retain all project documentation plus the dev environment. Not allow the delivery team to delete anything.

* Dev environment - Can the dev environment be setup successfully by import customisation or import org?

* Seen through the code and see the code in action in its environment/platform

* Find out the overall business process with the requirements in mind.

* Where are the servers?

* Where are the environment?

* Solution diagram

* How do the users use the system? For example, A CERA user creates an contact -> A CETAS user ticks an assessment check box -> Hit save -> A workflow will generate a household record automatically.

* Be careful with any SHARED projects or resources.

* All the Source Code is checked in, can be built successfully and deploy successfully too. Basically, the entire source code base need to be downloaded to a separated computer and build and deploy.

Sunday 25 September 2011

Fixed my roof from leaking.

The tile is made of concrete

The Ridges are made of Mortar. Mortar is like concrete but finer.

Chimney's cap is called cowling

Edward's & hardy is only doing cleaning and re-paint which need to be re-done every three years.
Re-coating however will last 30 years. Jeremy is using a industry coating which is really good.

Cladding = external wall.

A chimney pipe is called flute. Chimney has outer flute, middle flute and internal flute.

-----Key Words / Terminology-------

Ridge

Chimney cowling

Mortar

concrete

re-coating - booking immediately after Christmas for a March job.

clean and re-spay

Saturday 24 September 2011

How to Parallel Park

Start position: Your car should be 30 cm away from the car, will be in front of you, in parallel. The rear wheel of your car should be next to the rear wheel of the "front" car approximately.



Turn sharp to the left.

Back in slowly

Once you back passenger door is even with the rear bumper of the "front" car, turn the steering wheel back to straight up the car.

Continue reverse straightly until the curb just disappeared from your side mirror.
--OR--
Continue reverse straightly until the rear wheel facing the curb is nearly as close as the final distance desired from it (no more than 1 foot (30 cm) ultimately being desirable) and the rear end of the car is still a few feet (about a meter) from the car behind. Use the side mirror to check the position of the panel top of you rear wheel to determine you position. A rule of thumb is that if the curb disappears in the mirror when they are pointed down, you are probably too close to the curb.

Turn to the right sharply until the car parallel to the curb.

Tips:
Be careful not to cut it too soon or too quickly, as this will result in being too far away from the curb. It is much harder to adjust your position in a space when you are too far away from the curb as opposed to being too close.

If you are parking in an area with shops, take advantage of the eventual reflection of your car in shop windows.

When backing up and lining up the cars, look in the driver's side mirror, and use the sides of the cars to know exactly how far your car has gone in towards the curb. I.e. how closely you've aligned them. That view of the sides of the cars (your car and the one behind you) offers a good easy view and check to know that you've positioned the car correctly. In particular, the side of your car above the rear wheels offers the best, most accurate view of where exactly your car is.

http://www.youtube.com/watch?v=TMrO_-bsooQ&feature=player_embedded

http://www.videojug.com/film/parallel-parking-4

Tuesday 20 September 2011

What is WPF DependencyProperty?

When you register a DependencyProperty you provide a callback to be called when the value changes.

Here (http://wpftutorial.net/DependencyProperties.html) you have more details. I don't think anything else is public about the internals of WPF. I might be wrong.

JK Rowling Harvard Speech Quotes

Failure means striping way of the inessential. I was stopped pretending to myself I was anything other than what I was. And began to direct all my energy into finishing the only work matter to me. The rock bottom become the solid foundation.

-- J.K. Rolling

Monday 19 September 2011

Roof contractors Wellington

http://roofandpaint.co.nz/roofcoatings.html

http://www.edwardsandhardy.co.nz/index2.html

Cancelling workflows via the SDK

Hi guys,

Quick query

Does anyone know if it’s possible to cancel workflows via the SDK in CRM 2011? I find this hugely useful for cancelling long running workflows when a contacts state changes.

The CRM 4.0 code has been changed to crm 2011 style and throws the error:

[System.ServiceModel.FaultException] = {"The 'SetStateDynamicEntity' method does not support entities of type 'asyncoperation'."}


SetStateRequest request = new SetStateRequest();
request.State = new OptionSetValue(3); // completed
request.Status = new OptionSetValue(AsyncOperationStatus.Canceled);
request.EntityMoniker = new EntityReference("asyncoperation", singleWorkflowInstance.Id);
SetStateResponse updated = (SetStateResponse) CRMInstance.Execute(request);


Got it guys:

Set state is not supported, but strangely a manual update works:

Entity workflowToCancel = new Entity("asyncoperation");

workflowToCancel.Id = workflowID;
workflowToCancel["statecode"] = new OptionSetValue(3);
workflowToCancel["statuscode"] = new OptionSetValue(32);

myCRMService.Update(workflowToCancel);

I eventually found this article on it which mentioned that an update works

http://www.resultondemand.nl/support/sdk/78340765-afb7-47eb-a024-6c2dfd41cd6f.htm#bkmk_retrieve

possible statuscodes:

Canceled = 32;
Canceling = 22;
Failed = 31;
InProgress = 20;
Pausing = 21;
Succeeded = 30;
Waiting = 10;
WaitingForResources = 0;

Not sure on the rest of the state codes but I’m sure they would be reasonably simple

Saturday 17 September 2011

How to improve concentration?

怎样思想集中
1。集中力是要有精神力,然后对事物的集中还需要你对它的一定兴趣度。另外要心境平和,练瑜伽,定时间看算术量都可以。(一定要精力充沛)
2。意志力我建议是长跑,爬山这类耗体能的锻炼,而且需要有人陪同,互相鼓励,同时也是竞争,这样效果不错。

保持良好的注意力,是大脑进行感知、记忆、思维等认识活动的基本条件。在我们的学习过程中,注意力是打开我们心灵的门户,而且是唯一的门户。门开得越大,我们学到的东西就越多。而一旦注意力涣散了或无法集中,心灵的门户就关闭了,一切有用的知识信息都无法进入。正因为如此,法国生物学家乔治.居维叶说:“天才,首先是注意力。”

在正常情况下,注意力使我们的心理活动朝向某一事物,有选择地接受某些信息,而抑制其它活动和其它信息,并集中全部的心理能量用于所指向的事物。因而,良好的注意力会提高我们工作与学习的效率。注意力障碍,主要表现为无法将心理活动指向某一具体事物,或无法将全部精力集中到这一事物上来,同时无法抑制对无关事物的注意。造成这种情况的原因比较复杂,许多较严重的心理障碍都可以引起注意力障碍。而对于学生来说,主要是由于学习负担重,心理压力过大,而造成高度的紧张和焦虑,从而导致了注意力无法集中的障碍。另外,睡眠不足,大脑得不到充分休息,也可能出现注意力涣散的情况。

因此,当你因注意力无法集中而影响学习,倍感苦恼时,不妨采用以下方法来矫治:

(1)、养成良好的睡眠习惯

一些同学因学习负担重,因此,一到晚上便贪黑敖夜,有的同学甚至在宿舍打电筒读书,学到深夜;有的同学不能按时睡眠,在宿舍和同学闲聊等等。结果早晨不能按时起床,即便勉强起来,头脑也是昏沉沉的,一整天都打不起精神,有的甚至在课堂上伏桌睡觉。作为学生,主要的学习任务要在白天完成,白天无精打采,必然效率低下。所以,如果你是“夜猫子”型的,奉劝你学学“百灵鸟”,按时睡觉按时起床,养足精神,提高白天的学习效率。

(2)、学会自我减压

高中学生的学习任务本来就很重,老师、家长的期望,又给同学们心理加上一道法码;一些同学自己对成绩、考试等看得很重,无异是自己给自己加压,必然不堪重负,变得疲惫、紧张和烦躁,心理上难得片刻宁静。因此,我们要学会自我减压,别把成绩的好坏看得太重。一分耕耘,一分收获,只要我们平日努力了,付出了,必然会有好的回报,又何必让忧虑占据心头,去自寻烦恼呢?

(3)、做些放松训练

舒适地坐在椅子上或躺在床上,然后向身体的各部位传递休息的信息。先从左脚开始,使脚部肌肉绷紧,然后松驰,同时暗示它休息,随后命令脚脖子、小腿、膝盖、大腿,一直到躯干部休息,之后,再从脚到躯干,然后从左右手放松到躯干。这时,再从躯干开始到颈部、到头部、脸部全部放松。这种放松训练的技术,需要反复练习才能较好地掌握,而一旦你掌握了这种技术,会使你在短短的几分钟内,达到轻松、平静的状态。

(4)、做些集中注意力的训练

我国年轻的数学家杨乐、张广厚,小时候都曾采用快速做习题(e.g.编程习题)的办法,严格训练自己集中注意力。这里给大家介绍一种在心理学中用来锻炼注意力的小游戏。在一张有25个小方格的表中,将1-25的数字打乱顺序,填写在里面,然后以最快的速度从1数到25,要边读边指出,同时计时。

研究表明:7-8岁儿童按顺序导找每张图表上的数字的时间是30-50秒,平均40-42秒;正常成年人看一张图表的时间大约是25-30秒,有些人可以缩短到十几秒。你可以自己多制做几张这样的训练表,每天训练一遍,相信你的注意力水平一定会逐步提高。“培养良好注意品质,提高学生学习成绩”

第二阶段:

注意力的集中作为一种特殊的素质和能力,需要通过训练来获得。那么,训练自己注意力、提高自己专心致志素质的方法有哪些呢?

方法之一:运用积极目标的力量

这种方法的含义是什么?就是当你给自己设定了一个要自觉提高自己注意力和专心能力的目标时,你就会发现,你在非常短的时间内,集中注意力这种能力有了迅速的发展和变化。

同学们要在训练中完成这个进步。要有一个目标,就是从现在开始我比过去善于集中注意力。不论做任何事情,一旦进入,能够迅速地不受干扰。这是非常重要的。比如,你今天如果对自己有这个要求,我要在高度注意力集中的情况下,将这一讲的内容基本上一次都记忆下来。当你有了这样一个训练目标时,你的注意力本身就会高度集中,你就会排除干扰。

同学们知道,在军事上把兵力漫无目的地分散开,被敌人各个围歼,是败军之将。这与我们在学习、工作和事业中一样,将自己的精力漫无目标地散漫一片,永远是一个失败的人物。学会在需要的任何时候将自己的力量集中起来,注意力集中起来,这是一个成功者的天才品质。培养这种品质的第一个方法,是要有这样的目标。

方法之二:培养对专心素质的兴趣

有了这种兴趣,你们就会给自己设置很多训练的科目,训练的方式,训练的手段。你们就会在很短的时间内,甚至完全有可能通过一个暑期的自我训练,发现自己和书上所赞扬的那些大科学家、大思想家、大文学家、大政治家、大军事家一样,有了令人称赞的注意力集中的能力。

同学们在休息和玩耍中可以散漫自在,一旦开始做一件事情,如何迅速集中自己的注意力,这是一个才能。就像一个军事家迅速集中自己的兵力,在一个点上歼灭敌人,这是军事天才。我们知道,在军事上,要集中自己的兵力而不被敌人觉察,要战胜各种空间、地理、时间的困难,要战胜军队的疲劳状态,要调动方方面面的因素,需要各种集中兵力的具体手段。同学们集中自己的精力,注意力,也要掌握各种各样的手段。这些都值得探讨,是很有兴趣的事情。

方法之三:要有对专心素质的自信

千万不要受自己和他人的不良暗示。有的家长从小就这样说孩子:我的孩子注意力不集中。在很多场合都听到家长说:我的孩子上课时精力不集中。有的同学自己可能也这样认为。不要这样认为,因为这种状态可以改变。

如果你现在比较善于集中注意力,那么,肯定那些天才的科学家、思想家、事业家、艺术家在这方面还有值得你学习的地方,你还有不及他们的差距,你就要想办法超过他们。

对于绝大多数同学,只要你有这个自信心,相信自己可以具备迅速提高注意力集中的能力,能够掌握专心这样一种方法,你就能具备这种素质。我们都是正常人、健康人,只要我们下定决心,不受干扰,排除干扰,我们肯定可以做到高度的注意力集中。希望同学们对自己实行训练。经过这样的训练,能够发生一个飞跃。

方法之四:善于排除外界干扰

要在排除干扰中训练排除干扰的能力。毛泽东在年轻的时候为了训练自己注意力集中的能力,曾经给自己立下这样一个训练科目,到城门洞里、车水马龙之处读书。为了什么?就是为了训练自己的抗干扰能力。同学们一定知道,一些优秀的军事家在炮火连天的情况下,依然能够非常沉静地、注意力高度集中地在指挥中心判断战略战术的选择和取向。生死的危险就悬在头上,可是还要能够排除这种威胁对你的干扰,来判断军事上如何部署。这种抗拒环境干扰的能力,需要训练。

我在你们这么大的年纪时曾有意做过这种训练。就是不管环境多么嘈杂,当我进入我要阅读和学习的科目时,对周围的一切因素置若罔闻。这是可以训练成功的。

方法之五:善于排除内心的干扰

在这里要排除的不是环境的干扰,而是内心的干扰。环境可能很安静,在课堂上,周围的同学都坐得很好,但是,自己内心可能有一种骚动,有一种干扰自己的情绪活动,有一种与这个学习不相关的兴奋。对各种各样的情绪活动,要善于将它们放下来,予以排除。这时候,同学们要学会将自己的身体坐端正,将身体放松下来,将整个面部表情放松下来,也就是将内心各种情绪的干扰随同这个身体的放松都放到一边。常常内心的干扰比环境的干扰更严重。

同学们可以想一下,在课堂上,为什么有的同学能够始终注意力集中呢?为什么有的同学注意力不能集中呢?除了有没有学习的目标、兴趣和自信之外,还有一个就是善于不善于排除自己内心的干扰。有的时候并不是周围的同学在骚扰你,而是你自己心头有各种各样浮光掠影的东西。要去除它们,这个能力是要训练的。如果你就是想浑浑噩噩、糊糊涂涂、庸庸俗俗过一生,乃至到了三十岁还要靠父母养活,或者你就是想混世一生,那你可以不训练这个。但是,如果你确实想做一个自己也很满意的现代人,就要具备这种事到临头能够集中自己注意力的素质和能力,善于在各种环境中不但能够排除环境的干扰,同时能够排除自己内心的干扰。

方法之六:节奏分明的处理学习与休息的关系

同学们千万不要这样学习:我这一天就是复习功课,然后,从早晨开始就好像在复习功课,书一直在手边,但是效率很低,同时一会儿干干这个,一会儿干干那个。十二个小时就这样过去了,休息也没有休息好,玩也没玩好,学习也没有什么成效。或者,你一大早到公园念外语,坐了一个小时或两个小时,散散漫漫,说念也念了,说不念也跟没念差不多,没有记住多少东西。这叫学习和休息、劳和逸的节奏不分明。正确的态度是要分明。那就是我从现在开始,集中一小时的精力,比如背诵80个英语单词,看我能不能背诵下来。高度地集中注意力,尝试着一定把这些单词记下来。学习完了,再休息,再玩耍。当需要再次进入学习的时候,又能高度集中注意力。这叫张弛有道。一定要训练这个能力。永远不要熬时间,永远不要折磨自己。一定要善于在短时间内一下把注意力集中,高效率地学习。要这样训练自己:安静的时候,像一棵树;行动的时候,像闪电雷霆;休息的时候,流水一样散漫;学习的时候,却像军事上实施进攻一样集中优势兵力。这样的训练才能使自己越来越具备注意力集中的能力。

方法之七:空间清静

这个方法,非常简单,当你在家中复习功课或学习时,要将书桌上与你此时学习内容无关的其他书籍、物品全部清走。在你的视野中,只有你现在要学习的科目。这种空间上的处理,是你训练自己注意力集中的最初阶段的一个必要手段。同学们常常会发现这样生动的场面,你坐在桌子前,想学数学了,这儿有一张报纸,本来是垫在书底下的,上面有些新闻,你止不住就看开了,看了半天,才知道我是来学数学的。一张报纸就把你牵挂走了。或者本来你是要学习的,桌子一角的小电视还开着呢,看着看着,从数学王国出去了,到了张学友那儿了。这是完全可能的。甚至可能是一个小纸片,上面写着什么字,看着看着又想起一件事情。

所以,作为训练自己注意力的最初阶段,做一件事情之前,首先要清除书桌上全部无关的东西。然后,使自己迅速进入主题。如果你能够做到一分钟之内没有杂念,进入主题,你就了不起。如果你半分钟就能进入主题,就更了不起。如果你一坐在那里,十秒、五秒,当下就进入,那就是天才,那就是效率。有的人说,自己复习功课用了四个小时,其实那四个小时大多数在散漫中、低效率中度过,没有用。反之,你开始学习,一坐在那里,与此无关的全部内容置之脑外,这就是高效率。

方法之八:清理大脑

收拾书桌是为了用视野中的清理集中自己的注意力,那么,你同时也可以清理自己的大脑。你经常收拾书桌,慢慢就会有一个形象的类比,觉得自己的大脑也像一个书桌一样。

大脑是一个屏幕,那里面也堆放着很多东西,一上来,将在自己心头此时此刻浮光掠影活动的各种无关的情绪、思绪和信息收掉,在大脑中就留下你现在要进行的科目,就像收拾你的桌子一样。

同学们,这样的训练希望你们从今天开始就要做,它并不困难。当你将思想中的所有杂念都去除的时候,一瞬间你就进入了专一的主题,你的大脑就充分调动起来,你才有才智,你才有发明,你才有创造,你才有观察的能力、记忆的能力、逻辑推理的能力和想象的能力。如果不是这样,你坐在那里,十分钟之内脑袋瓜里还是车水马龙,还是风马牛不相及,还是天南海北,那么这十分钟是被浪费掉的。再有十分钟,不是车水马龙了,但依然是熙熙攘攘的街道,又十分钟过去了。到最后学习开始了,难免三心二意,效率很低。这种状态我们以后不能再要了,要善于迅速进入自己专心的主题。

方法之九:对感官的全部训练

我们讲了清理自己的书桌,其实更广义说,我们可以进行视觉、听觉、感觉方方面面的类似训练。同学们可以训练自己在视觉中一个时间内盯视一个目标,而不被其他的图像所转移。你们可以训练在一段时间内虽然有万千种声音,但是你们集中聆听一种声音。你们也可以在整个世界中只感觉太阳的存在或者只感觉月亮的存在,或者只感觉周围空气的温度。这种感觉上的专心训练是进行注意力训练的有用的技术手段。

方法之十:不在难点上停留

同学们都会意识到,我们理解的事物、有兴趣的事物,当我们去探究它、观察它时,就比较容易集中注意力。比如说我喜欢数学,数学课就比较容易集中注意力,因为我理解,又比较有兴趣。反之,因为我不太喜欢化学,缺乏兴趣,对老师讲的课又缺乏足够的理解,就有可能注意力分散。

在这种情况下,我们就有了正反两个方面的对策。正的对策是,我们要利用自己的理解力、利用自己的兴趣集中自己的注意力。而对那些自己还缺乏理解、缺乏兴趣的事物,当我们必须研究它、学习它时,这就是一个特别艰难的训练了。

首先,同学们听老师讲课的过程中,出现任何不理解的环节,你不要在这个环节上停留。这一点不懂,没关系,接着听老师往下讲课。你在研究一个事物的时候,这个问题你不太理解,不要紧,你接着往下研究。你读一本书的时候,这个点不太理解,你做了努力还不太理解,没关系,放下来,接着往下阅读。千万不要被前几页的难点挡住,对整本书望而止步。实际上,在你往下阅读的过程中可能会发现,后边大部分内容你都能理解。前边这几页你所谓不理解的东西,你慢慢也会理解。

如果你对这些内容还缺乏兴趣,而你有必要去研究它和学习它,那么,你就要这样想,兴趣是在学习、掌握和实践的过程中逐步培养的。

http://www.eastudy.com/blog/more.asp?name=%C7%F3%D6%AA&id=149
参考资料:http://www.sunwang.cn/wz/lw/wxll/200510/909.html
参考资料:http://zhidao.baidu.com/question/1493723.html


1.专稿】据调查,"孩子注意力不集中",是使许多父母头痛的问题,要矫正此毛病,可从孩子的健康情况、个性及家庭环境入手。

研究显示,孩子分心的程度与年龄成反比:两岁的儿童,平均注意力集中的时间长度为七分钟;四岁为十二分钟,五岁为十四分钟。孩子年龄越大越会逐渐懂得将注意力放在重要的事情上,而日渐增加专注的时间。因此,判断孩子是否专心,应依据其年龄的专心时间长度,而非依据家长的主观感觉。

孩子不专心,通常表现为两种情况:其一是注意力飘浮不定,专注的目标会经常转移;其二是心不在焉,常沉浸于白日梦而忘记眼前的事情,后者其实不是注意力不集中的孩子,只是将注意放错。只要家长用心纠正,使他们将心事转移到主要事情上去,往往会有惊人的表现和成就。注意力不集中的原因甚多,在生理方面,孩子若身体不适,警力或知觉发展不良,天生好动,以及神经系统或大脑微功能发生问题时,都会出现注意力不集中的现象,这些情况都必须由医生检查和治疗。 此外,心理上的安全感和自信心不足,过分依赖、缺乏耐心或情绪困扰,亦是注意力不集中的原因。这些情况大多数是教育方式和成长的环境所造成的。 除了解决生理上的问题外,家长应该认识到,专心其实是一种可以训练、学习和培养的行为习惯。因此在埋怨孩子不专心的同时,亦要反省自己有无不对之处。

例如,孩子玩游戏时全身投入,正是在培养聚精会神的习惯,此时家长切不可任意打扰、干涉和打断。平时家长可以将游戏时间与日常生活配合恰当,并指定一个固定的玩游戏的角落,将环境安排得有条不紊,以减少孩子分心的外界事物。家长亦切勿要求孩子做不感兴趣或超过能力所及的事。以免他们借着不断变换活动来逃避大人的责备。

此外,家中的气氛亦必须稳定,避免经常搬家及家中太多的人出入。亦切忌同时买太多的玩具及图书给孩子;使他们左顾右盼,不知所措,而无从培养仔细、有耐心、反复和专注一件物件的习惯。

家长应该以身作则,表现出专心、坚持和耐心的榜样。一但发现孩子有专心的表现,更应加以鼓励和称赞。

Friday 16 September 2011

WPF markup extensions


is called a markup or markup tag
{StaticResource ...} is called a markup extension

Markup extension enables the XAML parser to translate value to primitives or objects. There two major categories of extensions: XAML-Defined Markup Extensions and WPF-Specific Markup Extensions

XAML-Defined Markup Extensions
x:Type
x:Static
x:Null
x:Array

WPF-Specific Markup Extensions (Listed 3 most important extensions below)
StaticResource
DynamicResource
binding

http://msdn.microsoft.com/en-us/library/ms747254.aspx

Thursday 15 September 2011

Intergen vm platform setup process

* Use a VM Requirement template to specify the VM requirement
* Ask Resource Manager to review and raise a case with IS to setup the VM.

Rubik's cube ALGORITHMS and theory

-LIST OF ALGORITHMS-

1) Fi U Li Ui (right place face wrong side - first layer edge)

2) Ri Di R D (repeat six times then the cube will return to its original position)
also for resolve RIGHT side corner piece for the first layer.

3) U R Ui Ri Ui Fi U F (Middle layer - go right)

4) Ui Li U L U F Ui Fi (Middle layer - go left)

5) F R U Ri Ui Fi (L on the up left hand of the face than use this to turn L to 1)

6) R U Ri U R U U Ri (when cross is formed on the last layer. color match one directly opposite me and one on the right side then use this)

7) U R Ui Li U Ri Ui L (Hold the correct corner on the bottom right then do this. Should not be more than twice.)

8) Ri Di R D (to solve piece on the bottom right corner and do this

-Theory-
commutator - http://www.ryanheise.com/cube/commutators.html
group theory - http://en.wikipedia.org/wiki/Group_theory
http://www.youtube.com/watch?v=7yZoDi_B1lI

Sunday 11 September 2011

How to expand a virtual hard disk size

1. Expand the virtual hard disk

2. Expand the disk in the windows Disk Management

Wednesday 7 September 2011

Difference between Virtual Directory and an Application in IIS

Major reason for that is because in IIS 5.0 and IIS 5.1 we did not have the concept of AppPools, which has come up in the later versions.

Essentially, now an Application is directly mapped to the AppPool through it's AppDomain. Therefore, your Asp.Net application may contain various Virtual Directories but will run within the same AppDomain.

http://www.iisworkstation.com/2008/05/difference-between-virtual-directory.html

ribbons modification tool for crm 2011

Tristyan found this tool for modifying ribbons in 2011. I’ve had a play with it and it seems pretty good and should do what you are after 

http://pragmatoolkit.codeplex.com/

Screen capture or snapshot screen.

http://www.techsmith.com/jing/
http://www.gadwin.com/download/

Monday 5 September 2011

Invalid Action error when trying to open Microsoft CRM 4.0; CrmWRPCTokenKey Expires

I was getting the Invalid Action error when trying to open Microsoft CRM 4.0.

CrmWRPCTokenKey
CrmKey(Id:f2325117-8ab9-e011-9379-00155d009105, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:07/29/2011 02:25:58, ExpiresOn:08/31/2011 02:25:58, CreatedOn:07/29/2011 02:25:58, CreatedBy:NT AUTHORITY\NETWORK SERVICE
CrmKeySetting(Id:a24534e8-f95d-4885-9b90-91894176bba3, KeyType:CrmWRPCTokenKey, KeyLength:128, KeyGenerationInterval:720, KeyTimeToLive:792, CryptoTimeToLive:72, Algorithm:HMACSHA256, ArchiveLength:1, Enabled:True, ActiveKeys:[ScaleGroupId=00000000-0000-0000-0000-000000000000,ActiveKeyId=f2325117-8ab9-e011-9379-00155d009105])

Fix:
Starting the Microsoft CRM Asynchronous Processing Service.
If the Crm Asynchronous service can NOT be started, restart the server or all related servers.

How to configure a server to belong to a domain? Cannot remote into a server in the Intergen VM environment.

How to configure a server to belong to a domain?
Cannot remote into a server in the Intergen VM environment.


* Change your IP4 Protocol settings of the LAN settings FROM

TO

* just moved the VM to temporary Workgroup then disable firewall so that you can still remote to the service after restart. Then restart the server and added it back to the domain. When re-joining server to the new domain you desire with the new domain name, in this case it is "wms".

To move the VM to workgroup
+ Go control panel -> System
+ Click on the "Change settings" link on the right of the screen.

+ Click on "Change..." on the System Properties window.

+ Select the "Workgroup" option on the "Computer Name/Domain Changes" window

* Then restart the server

* Then switch the vm from workgroup to the new domain with the same method above

You can check all the servers or nodes belong to the domain in the DNS Manager of the AD server

Sunday 4 September 2011

Christmas travel plan with Erica, holiday plan, 2011

Destination options:
罗托鲁瓦(Rotorua)[Mud spa][Farm Tour - http://www.agrodome.co.nz]→汤加里罗国家公园(Tongariro National Park)→惠灵顿, Matamata, Tauranga[Golden beach],Napier(Wine tour)

Christchurch,→库克山国家公园(Mount Cook National Park)→蒂卡波(Tekapo)→瓦那卡(Wanaka)→箭镇(Arrow town)→皇后镇(Queenstown)—蒂阿瑙(Te Anau)[stay one day]→ Milford sound -> 丹尼丁(Dunedin)→阿卡罗阿(Akaroa - Akaroa is next to ChristChurch)


Travel plan:

Deluxe Lake Spa - http://www.polynesianspa.co.nz/polynesianspa/deluxe-lake-spa/

hawkes bay wine taste
http://www.hbscenictours.co.nz/wine_experience_tour.htm
http://www.hawkesbaynz.com/prinsys
http://www.baytours.co.nz/winerytours-option1.php

hawkes bay accommodation stay on the vineyard
http://www.clearviewestate.co.nz/accommodation/
http://www.tuki.co.nz/
http://www.blackbarn.com/property.asp?id=8 (Expensive)

Friday 2 September 2011

Burnt exhaust valve in lawn mower engine; Lawn mower won't start

The most common cause being too much heat in the combustion chambers. The heat will melt slots in the valve face. Anything causing it to run hot, or hotter than designed, needs to be addressed.

In my case, that is not enough engine oil.