Introduction

Recorded all my experiences Warning: Not everything in this site is in English(as I’m Chinese), however I’ll try my best to keep as much as possible the english content.

Development Environment

Code Quality

CodeQuality ### StyleCop ### Simian ### MSTest ### OpenCover & ReportGenerator

Manual-Detect Rule

CI Tool

Jenkins

Bug Track

Redmine

Siebel

Source Control

Git

Gitlab

Bitnami Version

Reference: * http://wiki.bitnami.com/Applications/BitNami_GitLab * http://bitnami.com/stack/gitlab/README.txt * http://bitnami.com/stack/gitlab/virtual-machine * http://wiki.bitnami.com/Virtual_Appliances_Quick_Start_Guide

Problem & Solution

How to restart apache service: sh sudo /opt/bitnami/ctlscript.sh restart apache

How to host gitlab in virtual directory(subdirectory)?

Like <http://community.bitnami.com/t/gitlab-doesnt-support-relative-url/14628> said, gitlab is not well supported this.
            <s>edit `/opt/bitnami/apps/gitlab/conf/httpd-app.conf`, and you can find guide inside this file.</s>

ClearCase

Server

Linux

Windows

IDE

Visual Studio

Code::Blocks

Development Solution

Code Generation

MVC3

SmartGenerator

Server

C# Pure

Client

C# + WPF

Chosen Component: * Caliburn.Micro * WPF Extended DataGrid

Web

C# + MVC

Node.js + CoffeeScript + Semantic + MongoDB + Express.js

Embedded

Python

Development Shortcut

WPF

DataGrid TemplateColumn does not go into edit mode when tabbed to first time

Solution: add later

Trace/Diagnostic binding

  • using following code for xaml xaml <TextBlock Text="{Binding ToSomething, diagnostics:PresentationTraceSources.TraceLevel=High}" xmlns:diagnostics="clr-namespace:System.Diagnostics;assembly=WindowsBase" />
  • using following code for programmatically bind cs System.Diagnostics.PresentationTraceSources.SetTraceLevel(binding, System.Diagnostics.PresentationTraceLevel.High);

To avoid error in Xaml, I need to detect if the code running in design mode

In DataContext(ViewModel), you should use following code: cs // true for design mode (bool)(DesignerProperties.IsInDesignModeProperty.GetMetadata(typeof(DependencyObject)).DefaultValue)

If you are inside UserControl, you should use following code: cs // true fo design mode DesignerProperties.GetIsInDesignMode(this)

Reference Articles

Reference Framework

Personal Improvement

Vim

Vimwiki

Technique Writings

Translation

Original

Lectures

Shallow Research

Robot

PLC

HomeAutomation

Materials

About this site