Skip to content

Instantly share code, notes, and snippets.

Petar Shomov pshomov

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am pshomov on github.
  • I am pshomov (https://keybase.io/pshomov) on keybase.
  • I have a public key ASDzICgKnlLnp8K_3BFZLUowyleKqBLj_iH4yNeeTxdLNgo

To claim this, I am signing this object:

View LoginPageViewModel_FodyPropertyChanged_And_MVVMCommand.cs
using System;
using Prism.Mvvm;
using Xamarin.Forms;
using System.ComponentModel;
using System.Threading.Tasks;
namespace MVVMEasy.Pages
{
public class LoginPageViewModel_FodyPropertyChanged_And_MVVMCommand : INotifyPropertyChanged
{
View MVVMCommand.cs
using System;
using Xamarin.Forms;
using System.Linq.Expressions;
using System.ComponentModel;
using System.Reflection;
namespace MVVMEasy
{
class MVVMCommand : Command {
public MVVMCommand (Action<Object> action, Expression<Func<Object, bool>> propExpression)
View LoginPageViewModel_FodyPropertyChanged.cs
using System;
using Prism.Mvvm;
using Xamarin.Forms;
using System.ComponentModel;
using System.Threading.Tasks;
namespace MVVMEasy.Pages
{
public class LoginPageViewModel_FodyPropertyChanged : INotifyPropertyChanged
{
View LoginPageViewModel_Prism.cs
using System;
using Prism.Mvvm;
using Xamarin.Forms;
using System.Threading.Tasks;
namespace MVVMEasy.Pages
{
public class LoginPageViewModel_Prism : BindableBase
{
private string _errorMessage;
View gist:f44a1c8c751f59da9314
RUN \
echo "===> add webupd8 repository..." && \
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list && \
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \
apt-get update && \
\
\
echo "===> install Java" && \
echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
@pshomov
pshomov / harridarrri_game_of_life
Created Jun 24, 2013
Harri Darri Game of Life implementation
View harridarrri_game_of_life
// HarrisGameOfLife.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <vector>
#include <iostream>
class HarWay
{
public:
@pshomov
pshomov / gist:3775524
Created Sep 24, 2012
Example of creating a fylgibréf
View gist:3775524
using System;
using System.Linq;
using NUnit.Framework;
using Test.Support;
using Test.Support.FlytjandiServices;
namespace fylgibref.AcceptanceTests.CreateFylgibref
{
[TestFixture]
public class CreatedFylgibrefMatchesSubmittedInfo : ConfiguredCreateFylgibrefTestBase
@pshomov
pshomov / gist:1046698
Created Jun 25, 2011
Riak experiment
View gist:1046698
using System;
using System.Collections.Generic;
using System.Data.RiakClient;
using System.Data.RiakClient.Models;
using System.Linq;
using System.Security.Cryptography;
using System.Web.Script.Serialization;
using Frog.Domain.RepositoryTracker;
using riak.net.ProtoModels;
@pshomov
pshomov / gitignore
Created Dec 26, 2010
this is my standard .gitignore file for .net repos
View gitignore
bin/
obj/
*.sln
_ReSharper*/
*.user
*.suo
You can’t perform that action at this time.