Skip to content

Instantly share code, notes, and snippets.

View mosheduminer's full-sized avatar

Moshe Uminer mosheduminer

View GitHub Profile
@mosheduminer
mosheduminer / json.v3
Last active January 6, 2023 11:42
JSON parser for titzer/virgil
type JsonValue {
case Null {
def toString() -> string {
return "null";
}
}
case String(v: string) {
def toString() -> string {
return StringBuilder.new()
.putc('\"')
@mosheduminer
mosheduminer / main.dart
Last active July 16, 2021 12:11
Reactive Flutter
import 'package:flutter/material.dart';
import 'dart:collection';
import 'dart:async';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
@mosheduminer
mosheduminer / dropzone.dart
Created December 24, 2019 12:51
Implementation of a drag-and-drop zone for flutter web. Inspired by https://gist.github.com/PlugFox/ffe83a91ce50f9c78a5b1d6674e36d1b
import 'dart:async';
import 'dart:html';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
enum _DragState {
dragging,
notDragging,
}

Keybase proof

I hereby claim:

  • I am mosheduminer on github.
  • I am muminer (https://keybase.io/muminer) on keybase.
  • I have a public key ASAE0lbJpVNQ4nw4UEHE52O4knvo3Enmr817s6dTGuj2Xgo

To claim this, I am signing this object: