Skip to content

Instantly share code, notes, and snippets.

View Bryanmuloni's full-sized avatar
🏠
Let's do this.

Sirikye Brian Bryanmuloni

🏠
Let's do this.
View GitHub Profile
@Bryanmuloni
Bryanmuloni / Navigation Rail Demo Flutter Web
Created January 12, 2021 03:51
This gist demonstrates the use of the Flutter Navigation rail widget to implement a responsive side menu. Feel free to improve it.
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'ExpansionTile Collapse',
theme: ThemeData(
@Bryanmuloni
Bryanmuloni / fetch_data
Last active June 14, 2020 09:11
Importing Large Data from BigQuery to Firestore using CloudFunctions
const {BigQuery} = require("@google-cloud/bigquery");
const firebaseConfig = require('firebase-admin');
firebaseConfig.initializeApp();
const firestoreDb = firebaseConfig.firestore();
var batchCommits = [];
var batch = firestoreDb.batch();