December 2011
7 posts
Stranded on Git without a branch →
Flying by the seat of your pants on Git, I find myself without a branch for my just-committed changes. Getting back on was basically this:
git commit -a -m “commit merge with svn to head” git checkout -b merged_with_svn git checkout original_branch git merge merged_with_svn
Using ObservableVector (For Now) →
Without a reliable collection class that implements INotifyCollectionChanged, using ObservableVector is a a stopgap measure until (hopefully) the Beta bits are released.
Like Learning →
Challenge Accepted
//Given a list of numbers and a target number X, find the pairs of numbers in the list that add to yield X
//FIRST ATTEMPT: "THE LOOP"
public class Pair
{
int First{get;set;}
int Second{get;set;}
public Equals(Pair x, Pair y)
{
if(x.First == y.First && x.Second == y.Second || x.Second == y.Second && x.Second == y.First) return true;
else {return...
Broccoli Salad
Ingredients
2 heads fresh broccoli
1 red onion
1/2 pound bacon
3/4 cup raisins
3/4 cup sliced almonds
1 cup mayonnaise
1/2 cup white sugar
2 tablespoons white wine vinegar
Directions
Place bacon in a deep skillet and cook over medium high heat until evenly brown. Cool and crumble.
Cut the broccoli into bite-size pieces and cut the onion into thin bite-size slices. Combine with the bacon,...
If looking for pairs, a hash is there →
HTML5 Beginners Resources
Here are a few useful HTML5 resources to get you started:
http://en.wikipedia.org/wiki/HTML5
http://www.html5rocks.com/
http://diveintohtml5.org/
http://html5demos.com/
http://www.html5test.com/
http://www.w3schools.com/html5/html5_reference.asp
http://dev.w3.org/html5/html4-differences/
Source: http://www.adobe.com/devnet/html5/articles/html5-basics.html