Archive for 2013-01-16

SVN errcode= 160033 Could not open the requested SVN filesystem

Ha a következő hibát kapjuk akkor:

svnadmin recover <repo_helye>

 

iptables tartalom kiiratas

iptables szabalyainak kiratasa:

$sudo iptables -t nat -L -vn

C# Button Background, Foreground kep csereje kodban

var brush = new ImageBrush();
 brush.ImageSource = new BitmapImage(new Uri("Images/myImage.png", UriKind.Relative));
 button1.Background = brush;

 

Windows Phone 7 Application bar gomb futas kozbeni modositasa

mire meglett… -.-

private void MainPage_Loaded(object sender, RoutedEventArgs e)
{
    ApplicationBarIconButton button1 = ApplicationBar.Buttons[0] as ApplicationBarIconButton;
    if (button1 != null)
    {
        button1.Text = "p0wnage";
        button1.IconUri = new Uri("/appbarIcon.png",UriKind.Relative);
    }
    ApplicationBarMenuItem menuItem1 = ApplicationBar.MenuItems[0] as ApplicationBarMenuItem;
    if (menuItem1 != null)
    {
        menuItem1.Text = "Pure p0wnage";
    } 
}