I hereby claim:
- I am sbeitzel on github.
- I am sbeitzel (https://keybase.io/sbeitzel) on keybase.
- I have a public key ASDSRPzYqRDxw1-6TS8VmMjjXLbFUdY_YOaEzEOZgcehXgo
To claim this, I am signing this object:
private void notifyListeners(ListDataEvent lde) { | |
synchronized (_listeners) { | |
for (ListDataListener ldl : _listeners) { | |
switch (lde.getType()) { | |
case ListDataEvent.CONTENTS_CHANGED: | |
ldl.contentsChanged(lde); | |
break; | |
case ListDataEvent.INTERVAL_ADDED: | |
ldl.intervalAdded(lde); | |
break; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Decimal Degrees to Degrees-Minutes-Seconds</title> | |
<script>function convert() | |
{ | |
var dd = document.getElementById("dd").value; | |
var sign=""; | |
// TODO - degrees should be normalized to the range [0,365] |
var newText = text.replace(/(^|\s)([Ii])t's/g, "$1$2t is"); |
I hereby claim:
To claim this, I am signing this object:
@FXML public TableView<ServerInstance> _serverTable; | |
@FXML public TableColumn<ServerInstance, Number> _smtpPort; | |
@FXML public TableColumn<ServerInstance, Number> _popPort; | |
@FXML public TableColumn<ServerInstance, Number> _messageCount; | |
@FXML public TableColumn<ServerInstance, Number> _receivedCount; | |
// ... | |
@Override | |
@SuppressWarnings("unused") |
import 'dart:async'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
class S { | |
const S(); | |
static const SLocalizationsDelegate delegate = |
extension FileManager { | |
func tempFileURL(prefix: String = "", suffix: String = "") -> URL { | |
let uniqueString = UUID().uuidString | |
let fullFileName = "\(prefix)\(uniqueString)\(suffix)" | |
return temporaryDirectory.appendingPathComponent(fullFileName) | |
} | |
} |
import SwiftUI | |
/// UI View which presents a list of items, any number of which may | |
/// be selected. Each item must conform to `Identifiable` and | |
/// to `Hashable`. | |
struct MultiSelectItemList<T: Identifiable & Hashable>: View { | |
private let items: [T] | |
private let modified: (Set<T>) -> Void | |
private let itemString: (T) -> String |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
sub hash_file { | |
my $fileName = shift(@_); | |
my $sumString = `md5sum $fileName`; | |
if ($sumString =~ /([a-f0-9]{32})/) { | |
return $1; |