Skip to content

Instantly share code, notes, and snippets.

View yyong37's full-sized avatar

yyong yyong37

  • Mars
View GitHub Profile
@yyong37
yyong37 / foomt.go
Created June 29, 2019 07:53 — forked from agrison/foomt.go
Sample Go App to mass insert 1M keys in redis using goroutines and unix socket
package main
import (
"fmt"
"log"
"net"
"runtime"
"sync"
"time"
@yyong37
yyong37 / .bashrc
Created June 10, 2020 05:08 — forked from vsouza/.bashrc
Golang setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell, fish or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
@yyong37
yyong37 / OverlayableContainerOnLongPress_sample.dart
Created February 16, 2024 20:26 — forked from boeledi/OverlayableContainerOnLongPress_sample.dart
How to display an overlay on top of a particular item, present in a Scroll Area, on longPress?
import 'package:flutter/material.dart';
import 'dart:math';
void main() {
///
/// Launch the application
///
runApp(const Application());
}
@yyong37
yyong37 / custom_drawer.dart
Created April 3, 2024 01:26
custom drawer with flutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@yyong37
yyong37 / mui_license_key.txt
Created June 27, 2024 06:49 — forked from EastArctica/mui_license_key.txt
MUI X License Key
NOTE: The MUI X License Key more than likely isn't going to work. It will have expired. The lifetime license key should... well... last forever...
MUI X License Key (from https://mui.com):
61628ce74db2c1b62783a6d438593bc5Tz1NVUktRG9jLEU9MTY4MzQ0NzgyMTI4NCxTPXByZW1pdW0sTE09c3Vic2NyaXB0aW9uLEtWPTI=
Order Number: MUI-Doc
Expiry Timestamp: 1683447821284(Sun May 7th 08:32:41)
Scope: Premium
Licensing Model: Subscription
Key Version: 2