Skip to content

Instantly share code, notes, and snippets.

View ephrimlawrence's full-sized avatar

Lawrence Ephrim ephrimlawrence

View GitHub Profile
@ephrimlawrence
ephrimlawrence / mysql-db-setup-code-example.sql
Created November 21, 2022 23:23
The script demonstrates how to create a MySQL database with tables and some records in it
-- Create new a database
-- Replace 'hello_db' with any name of your choice
CREATE DATABASE hello_db;
--
-- Use the created database
-- Replace 'hello_db' with the same name your used to create the database
USE hello_db;
-- categories table
@ephrimlawrence
ephrimlawrence / marker_selector.dart
Last active November 17, 2019 05:08
Programmatically selecting a marker on google map - flutter android
/// This example uses google_maps_flutter: ^0.5.21+8
/// For guide on how to setup google maps flutter, visit
/// https://pub.dev/packages/google_maps_flutter
/// Preview of this example is available at https://kutt.it/2VlCi9
import 'dart:async';
import 'dart:math';
import 'dart:ui';
import 'package:flutter/material.dart';