This blog was moved to sink.io.
Blogger, or "blogspot", sucks. It always did, and I always hated it. I'm glad it's dead.
Neuro Tap
18 November 2023
10 April 2012
Character-level diff in git gui
Per-character differences are often more usable than line-level differences.1 WinMerge has pretty decent character-scoped diffing:
...but git gui defaults to line-level "unified diff":
To get word-level diff, you can specify:
...but git gui defaults to line-level "unified diff":
To get word-level diff, you can specify:
--color-words --word-diff...but I want something closer to character-level diff.
18 July 2011
Project reference strictness in Visual Studio 2010
Visual Studio 2008 happily allows you to reference .NET 3.5-dependent projects from a project that targets .NET framework 2.0—because the CLR version is the same for both frameworks. On the contrary, Visual Studio 2010 refuses to build such a solution, perhaps out of a desire to enforce Best Practices For Creating Reliable Builds, and gives missing namespace errors:
The name 'FooTools' does not exist in the current context
and warnings such as:
The primary reference "System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
16 August 2010
How to root the Samsung Vibrant SGH-T959 (Galaxy S)
The general procedure for rooting a Samsung Vibrant (Galaxy S) on t-mobile has been posted by others (basically restating justadude's xda forum post). However, those posts are missing some details, especially if you've never rooted an Android before; I've added explanatory notes below.
[update] A new XDA thread makes it even easier.
[update] A new XDA thread makes it even easier.
Subscribe to:
Posts (Atom)