Skip to content

Instantly share code, notes, and snippets.

View androidfanatic's full-sized avatar
🏠
Working from home

ManishRaj androidfanatic

🏠
Working from home
View GitHub Profile
class Todo {
final String label;
bool completed;
Todo(this.label, this.completed);
}
/// imports widgets from the material design
import 'package:flutter/material.dart';
void main() => runApp(TodoApp());
/// Stateless widgets must implement the build() method and return a widget.
/// The first parameter passed to build function is the context in which this widget is built
class TodoApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@androidfanatic
androidfanatic / index.html
Created February 17, 2020 12:54
Quick and easy authentication with useAuth()
<!DOCTYPE html>
<html>
<head>
<title>Quick and Easy Authentication with useAuth()</title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@androidfanatic
androidfanatic / layout.json
Created October 3, 2019 09:38
Layout serialized by golden-layout
{
"settings": {
"hasHeaders": true,
"constrainDragToContainer": true,
"reorderEnabled": true,
"selectionEnabled": false,
"popoutWholeStack": false,
"blockedPopoutsThrowError": true,
"closePopoutsOnUnload": true,
"showPopoutIcon": false,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8' />
<title>Leh 2019</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1'>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v1.2.1/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v1.2.1/mapbox-gl.css' rel='stylesheet' />
<style>
@androidfanatic
androidfanatic / index.html
Last active August 13, 2019 06:23
Accessibility on the Web
<!DOCTYPE html>
<html lang="en">
<head>
<title>Accessibility and The Web</title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
* {
font-family: 'Ubuntu Mono';
// ==UserScript==
// @name LinkedinIsFacebookNow
// @version 1
// @grant none
// @include https://www.linkedin.com/*
// @run-at document-end
// ==/UserScript==
// Idea:
// This script hides all the popular posts. I figured that most of the popular stuff

Keybase proof

I hereby claim:

  • I am androidfanatic on github.
  • I am manish_raj (https://keybase.io/manish_raj) on keybase.
  • I have a public key whose fingerprint is 1F85 AF6B 5A7B 5A89 7FB2 2E4B BB49 4AA5 B957 13A3

To claim this, I am signing this object: