Skip to content

Instantly share code, notes, and snippets.

View DyadicGit's full-sized avatar

Olgerd Ševiakov DyadicGit

  • Lithuania
View GitHub Profile
@DyadicGit
DyadicGit / MainActivity.java
Created January 7, 2021 14:00 — forked from creotiv/MainActivity.java
ReactNative permission model fix for Android
package com.example.app;
import android.content.Intent;
import android.net.Uri;
import android.provider.Settings;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
@DyadicGit
DyadicGit / mixins.scss
Created February 5, 2020 09:54
IE 11 - CSS Grid - SASS mixins
// Ensure CSS grid works with IE 11 spec.
// https://css-tricks.com/browser-compatibility-css-grid-layouts-simple-sass-mixins/
// sass-lint:disable no-vendor-prefixes, no-duplicate-properties
@mixin display-grid {
display: -ms-grid;
display: grid;
}
// $columns values should be delimited by a space
@mixin grid-template-columns($columns...) {