Skip to content

Instantly share code, notes, and snippets.

View cyberzed's full-sized avatar

Stefan Daugaard Poulsen cyberzed

View GitHub Profile
var serverUri = new Uri(@"http://foo:8080/tfs/");
using( var collection = new TfsTeamProjectCollection( serverUri, CredentialCache.DefaultCredentials ) )
{
var server = collection.GetService<ICommonStructureService>();
var projects = server.ListProjects();
var homeProject = (from p in projects
where
@cyberzed
cyberzed / gist:8f37613564c91d11904c
Last active August 29, 2015 14:03
Motivation abstract

#OSS creates heroes...you can be next!!!

What drives the heroes of open source projects...is it fame, is it a road to an MVP or something like it, what is the actual drive behind all this hard labor?

In this session we will dig down and have a look at what drives magnificent people in the industry. It's not always for the carrot in front and it sure ain't due to the threat of being beaten with a stick. It might not be for the awesome reference on the CV, but when we have passed through all the obvious reasons standing out we look at the deeper meanings behind our sleepless hours. We all have a great piece of motivation in our mind...we just need to find it.

public class AutoMapperInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.Register(
Classes.FromThisAssembly()
.BasedOn<Profile>()
.WithService
.Base()
);
var devices = new HidEnumerator().Enumerate();
var device = devices.Last();
device.OpenDevice();
var success = device.Write(new byte[]{ 0x00, 0x01, 0x80, 0x33, 0x01, 0x00, 0x00, 0x00, 0x00 });
if(success)
{
sudo apt-get update
sudo apt-get -y install ruby ruby-dev gem 1.9.3
sudo apt-get -y install ruby-bundler g++ make
sudo apt-get -y install nodejs
sudo gem install dashing
sudo update-alternatives --set ruby /usr/bin/ruby1.9.1
# -*- mode: ruby -*-
# vi: set ft=ruby :
install_mono_cmd = 'sudo apt-key adv --keyserver pgp.mit.edu' \
' --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;' \
'echo "deb http://download.mono-project.com/repo/debian' \
' wheezy main"' \
' | sudo tee /etc/apt/sources.list.d/mono-xamarin.list;' \
'sudo apt-get update;' \
'sudo apt-get dist-upgrade -y;' \