Skip to content

Instantly share code, notes, and snippets.

View hmtriit's full-sized avatar
🏍️
Working from home

hmtri hmtriit

🏍️
Working from home
View GitHub Profile
import 'package:flutter/material.dart';
class GoogleMapsClonePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: <Widget>[
CustomGoogleMap(),
CustomHeader(),
@hmtriit
hmtriit / postgres_command.md
Created July 12, 2024 04:39 — forked from oNguyenNgocTrung/postgres_command.md
Tổng hợp những câu lệnh khi dùng Postgres SQL
@hmtriit
hmtriit / manual-uninstall-parallels.sh
Created May 15, 2024 01:09 — forked from guycalledseven/manual-uninstall-parallels.sh
Manually remove Parallels Desktop v15 leftovers MacOS
# used different forum posts/guides to figure this out like:
# The uninstall script is located at /Library/Parallels/Parallels Service.app/Contents/Resources
# https://github.com/danijeljw/remparallels/blob/master/remprls.sh
# https://kb.parallels.com/122461
# sudo find / -iname "*parallels*"
# sudo find / -iname "*prl*"
#before uninstalling deactivate your licencse - this won't be possible after uninstall
prlsrvctl deactivate-license
@hmtriit
hmtriit / AndroidManifest.xml
Created March 16, 2023 03:49 — forked from hugocore/AndroidManifest.xml
Android Deep Linking Activity
<activity
android:name="com.your.app.activity.ParseDeepLinkActivity"
android:alwaysRetainTaskState="true"
android:launchMode="singleTask"
android:noHistory="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter android:autoVerify="true">
<data android:scheme="http" android:host="yourdomain.com" />
<data android:scheme="https" android:host="yourdomain.com" />
@hmtriit
hmtriit / Graph.java
Created August 26, 2022 17:34 — forked from kienmatu/Graph.java
Sample implementation of dijkstra by Java use OOP and priority queue
package com.kiendt;
import java.util.*;
public class Graph {
private static int INFINITY = 9999;
private int[][] matrix = {
{0, 10, 20, 9999, 9999, 9999},
{9999, 0, 9999, 50, 10, 9999},
{9999, 9999, 0, 20, 33, 9999},