Skip to content

Instantly share code, notes, and snippets.

Valeriu Caraulean vcaraulean

Block or report user

Report or block vcaraulean

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vcaraulean
vcaraulean / DoubleClickEvent
Created Nov 18, 2010
Mouse Double Click event implementation for Silverlight and Caliburn.Micro
View DoubleClickEvent
public static class DoubleClickEvent
{
public static readonly DependencyProperty AttachActionProperty =
DependencyProperty.RegisterAttached(
"AttachAction",
typeof (string),
typeof (DoubleClickEvent),
new PropertyMetadata(OnAttachActionChanged));
public static void SetAttachAction(DependencyObject d, string attachText)
@vcaraulean
vcaraulean / profile.ps1
Created Aug 17, 2010
Poweshell profile to combine posh-git and posh-hg prompts
View profile.ps1
Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent)
$profilePath = split-path $profile
# Load posh-git and posh-hg modules from default profile directory
Import-Module $profilePath\posh-git\posh-git
Import-Module $profilePath\posh-hg\posh-hg
function prompt {
Write-Host($pwd) -nonewline
You can’t perform that action at this time.