Originally from http://stackoverflow.com/questions/6725890/location-host-vs-location-hostname-and-cross-browser-compatibility/11379802#11379802
- deal with anchors to be able to copy links
- make parts contenteditable
Originally from http://stackoverflow.com/questions/6725890/location-host-vs-location-hostname-and-cross-browser-compatibility/11379802#11379802
| import java.awt.image.BufferedImage; | |
| import java.io.*; | |
| import java.text.SimpleDateFormat; | |
| import java.util.*; | |
| import java.util.concurrent.*; | |
| import java.util.logging.*; | |
| import javafx.application.*; | |
| import javafx.beans.binding.*; | |
| import javafx.beans.property.*; | |
| import javafx.beans.value.*; |
| import javafx.application.*; | |
| import javafx.geometry.HPos; | |
| import javafx.geometry.Pos; | |
| import javafx.scene.*; | |
| import javafx.scene.control.*; | |
| import javafx.scene.image.*; | |
| import javafx.scene.layout.*; | |
| import javafx.stage.Stage; | |
| public class ImageScaler extends Application { |
| import Foundation | |
| operator postfix ‽ {} | |
| @postfix func ‽<T>(value: T?) -> T? { | |
| return (arc4random_uniform(2) == 1) ? value : nil | |
| } |
| // Copyright Ben Leggiero 2017 BH-1-PS | |
| // https://github.com/BlueHuskyStudios/Licenses/blob/master/Licenses/BH-1-PS.txt | |
| import Foundation | |