Skip to content

Instantly share code, notes, and snippets.

View doug-orchard's full-sized avatar
🏳️

Doug Orchard doug-orchard

🏳️
View GitHub Profile
@doug-orchard
doug-orchard / extensions.dart
Created February 12, 2020 20:41 — forked from lukepighetti/extensions.dart
Quick example of what an extensions file might look like in one of my projects
import 'package:email_validator/email_validator.dart';
import 'package:firebase_dynamic_links/firebase_dynamic_links.dart';
import 'package:flutter/material.dart';
import 'package:flutter/material.dart' as material;
import 'package:intl/intl.dart';
import 'package:rxdart/rxdart.dart';
extension BuildContextExtensions on BuildContext {
dynamic get arguments => ModalRoute.of(this).settings.arguments;
@doug-orchard
doug-orchard / create-usb.sh
Last active May 23, 2020 11:59 — forked from bmatcuk/create-usb.sh
Creating a Bootable Windows USB from ISO on a Mac
# First, we need to find our device. BEFORE inserting your USB drive, run the
# following:
diskutil list
# This will output a bunch of info about all of the disk drives connected to
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is
# some number starting at 0. Now, insert your USB drive and run the command
# again. You should see a new entry. Make note of the name (ie, /dev/diskX).
diskutil list