Skip to content

Instantly share code, notes, and snippets.

View arjava's full-sized avatar
🤒
Out sick

arjava arjava

🤒
Out sick
View GitHub Profile
@sma
sma / star_rating.dart
Created March 24, 2019 11:09
A simple star display and interactive star rating widget
import 'package:flutter/material.dart';
class StarDisplayWidget extends StatelessWidget {
final int value;
final Widget filledStar;
final Widget unfilledStar;
const StarDisplayWidget({
Key key,
this.value = 0,
@zubaer-ahammed
zubaer-ahammed / Reset MySQL Root Password in Mac OS.md
Last active April 4, 2024 10:38
Reset MySQL Root Password in Mac OS

Reset mysql root password in Mac OS:

First Stop MySQL:

  1. Go to: 'System Preferences' >> 'MySQL' and stop MySQL

OR,

  1. sudo /usr/local/mysql/support-files/mysql.server start
  2. sudo /usr/local/mysql/support-files/mysql.server stop
@mobiRic
mobiRic / Boast.java
Last active January 25, 2022 07:23
Android Toast replacement allowing cancellation
/*
* Copyright (C) 2012 Glowworm Software
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software