Skip to content

Instantly share code, notes, and snippets.

@kinmanlam
kinmanlam / camera.dart
Last active August 29, 2021 16:48
A refactored camera widget based on the "Take a Picture Using the Camera" cookbook found on flutter.dev. For full walkthru see: https://www.kinmanlam.com/2021/08/flutter-framework-refractored-camera.html
import 'package:flutter/material.dart';
import 'package:camera/camera.dart';
import 'dart:io';
// A screen that allows users to take a picture using a given camera.
class TakePictureScreen extends StatefulWidget {
const TakePictureScreen({
Key? key,
}) : super(key: key);
@kinmanlam
kinmanlam / personal_and_burner_email_provider_domains.txt
Last active September 26, 2019 21:55 — forked from tbrianjones/free_email_provider_domains.txt
A list of personal and burner email providers domain addresses. Combined https://gist.github.com/tbrianjones/5992856 and https://github.com/wesbos/burner-email-providers/blob/master/emails.txt along with additional domains I found.
0-mail.com
001.igg.biz
027168.com
0815.ru
0815.ry
0815.su
0845.ru
0ak.org
0box.eu
0clickemail.com
@kinmanlam
kinmanlam / Synology-Diskstation-Git.md
Created August 14, 2019 07:15 — forked from walkerjeffd/Synology-Diskstation-Git.md
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation