Skip to content

Instantly share code, notes, and snippets.

View seba47's full-sized avatar
🧉

Seba Cabrera seba47

🧉
View GitHub Profile
@seba47
seba47 / freeing_up_space_Mac.md
Last active July 22, 2022 11:43
Freeing up space on Mac

Freeing up space on Mac

Last update: Jun 3, 2020

After working with "Your disk is almost full" notification for a long time, I decided to research and create a cleanup list.

This recipe was applied on a Xamarin developer environment and has freed up over 80GB space but It could be used in several context because there are shared folders between the different technologies.

Basics:

@seba47
seba47 / test.cs
Created February 15, 2018 18:02
Test 2 #CustomControls
public class BooleanNegationConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return !(bool)value;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return !(bool)value;
@seba47
seba47 / BooleanConverter.cs
Created February 15, 2018 18:01
Test #c#
public class BooleanNegationConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return !(bool)value;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return !(bool)value;
@seba47
seba47 / test.cs
Last active May 13, 2017 17:57
descccc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Realitee.Interfaces
{
public interface IFileStorage
{
@seba47
seba47 / Badge.cs
Created March 4, 2016 20:34 — forked from rudyryk/Badge.cs
C# — Xamarin.Forms custom simple badge view + rounded box view via custom renderer
//
// Badge.cs
// Created by Alexey Kinev on 19 Jan 2015.
//
// Licensed under The MIT License (MIT)
// http://opensource.org/licenses/MIT
//
// Copyright (c) 2015 Alexey Kinev <alexey.rudy@gmail.com>
//
using System;