Skip to content

Instantly share code, notes, and snippets.

@chaschev
chaschev / main.dart
Created March 29, 2021 07:46 — forked from jogboms/main.dart
Studio Pro
import 'dart:async' as async;
import 'dart:math' as math;
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
void main() => runApp(
@chaschev
chaschev / FXBrowser.java
Created November 22, 2013 01:36
SimpleBrowser demo
package view;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Priority;
@chaschev
chaschev / GoogleApp.java
Created November 15, 2013 08:58
JavaFX Google Maps demo
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebEvent;
@chaschev
chaschev / HavingMethodSignature.java
Created November 10, 2013 09:35
Java Relfection - Method matching example.
package chaschev.lang.reflect;
import com.google.common.primitives.Primitives;
import java.util.Arrays;
/**
* @author Andrey Chaschev [email protected]
*/
public abstract class HavingMethodSignature {
package chaschev.t1;
import com.google.common.io.CharStreams;
import com.google.common.io.Files;
import it.unimi.dsi.lang.MutableString;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;