Setup Emscripten
Require fastcomp compiler for MAME compile.
#include <windows.h> | |
#include <stdio.h> | |
int main() | |
{ | |
// The drive letter of the hard drive you want to get the serial number for | |
wchar_t drive[] = L"C:\\"; | |
// Buffer to receive the volume serial number | |
DWORD serial_number; |
Require fastcomp compiler for MAME compile.
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
/* | |
* Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. | |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
* | |
* This code is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 only, as | |
* published by the Free Software Foundation. Oracle designates this | |
* particular file as subject to the "Classpath" exception as provided | |
* by Oracle in the LICENSE file that accompanied this code. | |
* |
"For comprehension" is a another syntaxe to use map
, flatMap
and withFilter
(or filter) methods.
yield
keyword is used to aggregate values in the resulting structure.
This composition can be used on any type implementing this methods, like List
, Option
, Future
...
import java.util.List; | |
import java.util.regex.Pattern; | |
import javafx.application.*; | |
import javafx.collections.FXCollections; | |
import javafx.event.*; | |
import javafx.scene.*; | |
import javafx.scene.control.*; | |
import javafx.scene.effect.*; | |
import javafx.scene.image.*; | |
import javafx.scene.web.HTMLEditor; |