Skip to content

Instantly share code, notes, and snippets.

View Husseinbeygi's full-sized avatar
😎
Practice Make Perfection ;)

Hussein Beygi Husseinbeygi

😎
Practice Make Perfection ;)
View GitHub Profile
@Husseinbeygi
Husseinbeygi / Toast.qml
Created March 13, 2020 15:53 — forked from jonmcclung/Toast.qml
Toast in QML. This implementation creates black toast with white text that appears at the bottom of the screen. It also supports adding multiple toast at a time using ToastManager with the newest toast at the bottom.
import QtQuick 2.0
/**
* adapted from StackOverflow:
* http://stackoverflow.com/questions/26879266/make-toast-in-android-by-qml
*/
/**
* @brief An Android-like timed message text in a box that self-destroys when finished if desired
*/
@Husseinbeygi
Husseinbeygi / VagrantFile
Created January 23, 2025 15:40
Vagrant Config
IMAGE_ubuntu_2204 = "bento/ubuntu-22.04"
IMAGE_Debian_12 = "bento/debian-12"
Vagrant.configure("2") do |config|
config.vm.box = IMAGE_Debian_12
config.vm.network "public_network", ip: "192.168.1.150"
config.vm.hostname = "debain12-lite"
config.vm.provider "virtualbox" do |my_vm|
my_vm.name = "debian12-lite"
my_vm.memory = 1024