Skip to content

Instantly share code, notes, and snippets.

View umaqs's full-sized avatar
🎯
Focusing

Umair M umaqs

🎯
Focusing
  • London
View GitHub Profile
@spirit11
spirit11 / AsyncCommand.cs
Created August 3, 2017 10:27
AsyncCommand
class AsyncCommand : ICommand, INotifyPropertyChanged
{
public AsyncCommand(Func<Task> Action)
{
action = Action;
canExecute = true;
}
public event EventHandler CanExecuteChanged;
@garyharan
garyharan / _mixins.scss
Created May 5, 2011 15:46
Useful scss mixins (rounded corners, gradients, text-field, button)
@mixin box-shadow($top, $left, $blur, $color, $inset: false) {
@if $inset {
-webkit-box-shadow:inset $top $left $blur $color;
-moz-box-shadow:inset $top $left $blur $color;
box-shadow:inset $top $left $blur $color;
} @else {
-webkit-box-shadow: $top $left $blur $color;
-moz-box-shadow: $top $left $blur $color;
box-shadow: $top $left $blur $color;
}