Skip to content

Instantly share code, notes, and snippets.

@mpmazim
mpmazim / content.component.css
Created August 29, 2019 16:11 — forked from urkopineda/content.component.css
Masonry implementation in Angular 2+ only with JS and CSS, ordered horizontaly
.card-img-overlay-gradient {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.flex-container {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
grid-auto-rows: 20px;
}
.flex-item {}
@mpmazim
mpmazim / AppDelegate.m
Created December 10, 2018 08:01 — forked from branflake2267/AppDelegate.m
Flutter - Native Platform Interactions - Code for the youtube video.
#include "AppDelegate.h"
#include "GeneratedPluginRegistrant.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
// Override point for customization after application launch.
FlutterViewController* controller = (FlutterViewController*)self.window.rootViewController;
@mpmazim
mpmazim / AndroidManifest.xml
Created April 24, 2017 12:34 — forked from bjoernQ/AndroidManifest.xml
Creating a System Overlay (Always on Top over all Apps) in Android
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.mobilej.overlay"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="14" />
<application android:label="SystemOverlay" >
<activity