Skip to content

Instantly share code, notes, and snippets.

View gsgou's full-sized avatar

Giorgos Sgouridis gsgou

View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
"additionalInfo/Accessibility/0/Wheelchair accessible entrance","additionalInfo/Accessibility/1/Wheelchair accessible parking lot","address","categories/0","categories/1","categoryName","checkInDate","checkOutDate","cid","city","claimThisBusiness","countryCode","description","googleFoodUrl","hotelDescription","hotelReviewSummary","hotelStars","imageCategories/0","imageCategories/1","imageCategories/2","imageCategories/3","imageCategories/4","imagesCount","isAdvertisement","locatedIn","location/lat","location/lng","menu","neighborhood","openingHours/0/day","openingHours/0/hours","openingHours/1/day","openingHours/1/hours","openingHours/2/day","openingHours/2/hours","openingHours/3/day","openingHours/3/hours","openingHours/4/day","openingHours/4/hours","openingHours/5/day","openingHours/5/hours","openingHours/6/day","openingHours/6/hours","peopleAlsoSearch/0/category","peopleAlsoSearch/0/reviewsCount","peopleAlsoSearch/0/title","peopleAlsoSearch/0/totalScore","peopleAlsoSearch/1/category","peopleAlsoSearch/1/re
@myrup
myrup / LICENSE
Last active December 12, 2024 13:30 — forked from mattjohnsonpint/LICENSE
Unified global Unhandled Exception event for .NET MAUI
MIT License
Copyright (c) 2022 Matt Johnson-Pint
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mattjohnsonpint
mattjohnsonpint / LICENSE
Last active August 15, 2025 15:07
Unified global Unhandled Exception event for .NET MAUI
MIT License
Copyright (c) 2022 Matt Johnson-Pint
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@aguytech
aguytech / ffmpeg-audacity.md
Last active July 22, 2022 16:15
[ffmpeg] ffmpeg tips #bash #tips #pinned

format for audacity

Export / Export Audio / (external program)

ffmpeg -i - -codec:a libopus -b:a 64k -vbr on -compression_level 10 "%f" # whithout space in path file
@bawkee
bawkee / SerialReactiveCommand.cs
Last active December 5, 2025 13:09
A reactive command which isn't restricted by double-tap protection, such that it can be executed multiple times
using System;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading;
using System.Threading.Tasks;
using ReactiveUI;
@simonemarra
simonemarra / NoSwipeBackPageRenderer.cs
Created January 10, 2020 10:00
Xamarin Forms (iOS): disable swipe back on provided page via custom renderer
using Xamarin.Forms;
[assembly: ExportRenderer(typeof(Appname.Views.DeviceInfoPage), typeof(Appname.iOS.Renderers.NoSwipeBackPageRenderer))]
namespace Appname.iOS.Renderers
{
// Custom Rendered to disable the swipe back of provided page type (in this case DeviceInfoPage...)
// source: https://forums.xamarin.com/discussion/26966/how-to-disable-swipe-gesture-on-pushed-page
public class NoSwipeBackPageRenderer : PageRenderer
{
public override void ViewDidAppear(bool animated)
@mecvillarina
mecvillarina / AndroidScrollBarColorEffect.cs
Last active April 21, 2022 20:57
Xamarin Forms ScrollView - Change ScrollBarColor using RoutingEffect
using UIEffects = ScrollView.UI.Effects;
[assembly: ResolutionGroupName(Constants.EffectsNamespace)]
[assembly: ExportEffect(typeof(ScrollBarColorEffect), nameof(ScrollBarColorEffect))]
namespace ScrollView.Droid.Effects
{
public class ScrollBarColorEffect : PlatformEffect
{
protected override void OnAttached()
using System;
using Android.Content.PM;
namespace ContactListSample.Droid
{
public static class PermissionUtil
{
/**
* Check that all given permissions have been granted by verifying that each entry in the
* given array is of the value Permission.Granted.
@aniongithub
aniongithub / ObserveLatestOn.cs
Last active May 25, 2023 06:28
An extension method on Observable to observe the latest value of an Observable. This was based on a solution from http://www.zerobugbuild.com/?p=192, adapted to use non-materialized streams to reduce GC pressure.
using System;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
namespace ObserveLatestOn
{
public static class ObservableExtensions
{
@aleksas
aleksas / trim_and_combine_two_audio_files.sh
Last active December 15, 2021 20:15
FFMPEG trim silence from audio files and concatenate them with specified lengh silence interval.
#!/bin/sh
in_1_fname=./wavefile1.wav
in_2_fname=./wavefile2.wav
out_fname=./out.wav
threshold=-50dB
pause=1.5 # seconds
ffmpeg -loglevel verbose -y \