This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.net.httpserver.Filter; | |
import com.sun.net.httpserver.HttpExchange; | |
import com.sun.net.httpserver.HttpHandler; | |
import com.sun.net.httpserver.HttpServer; | |
import java.io.IOException; | |
import java.net.HttpURLConnection; | |
import java.net.InetSocketAddress; | |
import java.util.Arrays; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.LocalDate; | |
import java.time.LocalDateTime; | |
import java.time.format.DateTimeFormatter; | |
import java.time.format.DateTimeFormatterBuilder; | |
import java.time.format.TextStyle; | |
import java.time.temporal.ChronoField; | |
import java.util.HashMap; | |
import java.util.Locale; | |
import java.util.Map; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.jupiter.api.Test; | |
import java.util.List; | |
import java.util.function.Function; | |
import java.util.function.Predicate; | |
import java.util.stream.Collector; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
import static org.hamcrest.MatcherAssert.assertThat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ql/config.hpp> | |
#include <cmath> | |
#include <iostream> | |
#include <ql/settings.hpp> | |
#include <ql/termstructures/yield/overnightindexfutureratehelper.hpp> | |
#include <ql/time/date.hpp> | |
#include <ql/time/frequency.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash -eu | |
EXTERNAL_URL_HOST_NAME="$1" | |
ADMIN_USERNAME="$2" | |
ADMIN_PASSWORD="$3" | |
CONCOURSE_VERSION=${CONCOURSE_VERSION:-v1.1.0} | |
apt-get update | |
apt-get install -y postgresql postgresql-contrib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
import java.util.Random; | |
public class CalculateStandardArray { | |
private static final Random RANDOM = new Random(); | |
public static void main(String[] args) { | |
int numStats = 12; | |
int numTrials = 10_000_000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ostream_state { | |
std::ostream::fmtflags flags; | |
std::streamsize precision = 6; | |
public: | |
class Save { | |
friend ostream_state; | |
friend std::ostream& operator<<(std::ostream& out, const Save& save) { | |
save.save(out); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
.tabs { | |
/* make this a horizontal flexbox, and make it capable of wrapping */ | |
display: flex; | |
flex-wrap: wrap; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-07-10T20:59:32+0100 rife systemd[2415]: Started dbus-:1.2-org.cinnamon.ScreenSaver@3.service. | |
░░ Subject: A start job for unit UNIT has finished successfully | |
░░ Defined-By: systemd | |
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel | |
░░ | |
░░ A start job for unit UNIT has finished successfully. | |
░░ | |
░░ The job identifier is 617. | |
2022-07-10T20:59:32+0100 rife cinnamon-screensaver[66385]: CsNotificationWatcher: Could not add match rule to bus - GDBus.Error:org.freedesktop.DBus.Error.MatchRuleInvalid: Invalid match rule | |
2022-07-10T20:59:32+0100 rife /usr/libexec/gdm-x-session[2529]: cinnamon-session[2529]: WARNING: t+169917.09334s: Detected that screensaver has appeared on the bus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 0.000000 | |
2 0.301030 | |
3 0.477121 | |
4 0.602060 | |
5 0.698970 | |
6 0.778151 | |
7 0.845098 | |
8 0.903090 | |
9 0.954243 | |
10 1.000000 |
NewerOlder