Skip to content

Instantly share code, notes, and snippets.

Working from home

KhoPhi seanmavley

Working from home
View GitHub Profile
ffeu / main.dart
Created Aug 3, 2018
Flutter Main Example with StreamBuilder
View main.dart
import 'dart:async';
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return new MaterialApp(
mjohnsullivan / quote.dart
Created Jun 25, 2018
Simple Flutter app to retrieve and display a quote of the day
View quote.dart
import 'dart:async';
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
collinjackson / main.dart
Last active Jul 10, 2021
PageView example with dots indicator
View main.dart
// Copyright 2017, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
trandaison /
Last active Jun 30, 2021
Get full version of StarUML
keeferrourke /
Last active Jun 20, 2021
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
# Written by: Keefer Rourke <>
# Based on AUR package <>
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git
sudo apt-get install fonts-cantarell ttf-ubuntu-font-family git
MichalZalecki / index.js
Created Mar 12, 2016
How to import RxJS 5
View index.js
// Import all
import Rx from "rxjs/Rx";
.map(x => x + "!!!")
vasanthk / System
Last active Jul 25, 2021
System Design Cheatsheet
View System

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
lgg / run_letsencrypt
Created Jan 10, 2016
Let's encrypt auto authenticator runner for multiply domains
View run_letsencrypt
function check_ssl {
sgnn7 /
Created Dec 22, 2015
Mongodb 3.2 on Ubuntu 15.10
echo '[Unit]
Description=High-performance, schema-free document-oriented database
ExecStart=/usr/bin/mongod -f /etc/mongod.conf
joepie91 /
Last active Jul 25, 2021
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.