Skip to content

Instantly share code, notes, and snippets.

View leregi's full-sized avatar

Victor reginald leregi

View GitHub Profile
@leregi
leregi / System Design.md
Created May 13, 2021 13:53 — forked from vasanthk/System Design.md
System Design Cheatsheet

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?
@leregi
leregi / CustomShowDialog.dart
Created May 11, 2021 16:26 — forked from bostrot/CustomShowDialog.dart
showDialog with rounded corners
// Copyright 2015 The Chromium Authors. 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:async';
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
How to Install phpMyAdmin with Nginx (LEMP) on Ubuntu
Step 1: Download and Install phpMyAdmin
sudo apt update
sudo apt install phpmyadmin
**During the installation, it will prompt you to select a web server to configure. Nginx isn’t in the list, so press the Tab key and hit OK to skip this step.
Step 2: Create Nginx Server Block