Skip to content

Instantly share code, notes, and snippets.

@Egor-Skriptunoff
Egor-Skriptunoff / how_to_build_wlua_for_windows.md
Created May 22, 2021 22:16
How to build windowless Lua for Windows

What is "windowless Lua"?

Windowless Lua does not create a console window.
It runs invisible for user.

Please note that "windowless" means "doesn't have stdin, stdout and stderr".
You will not be able to see error message.
io.read(), io.write() and print() in your Lua script will not work.
But in some situations invisible Lua is just what you need very much.
For example, to avoid a GUI application (especially a game) to lose input focus when some background Lua script is started.

@MainasuK
MainasuK / CommodityClassificationInformationManagementController.java
Last active July 10, 2023 17:23
Add checkbox cell to tableView - JavaFX 8 with lambda
TableView<T> tableView;
TableColumn<T, Boolean> booleanColumn;
private void setupTableView() {
tableView.setEditable(true);
}
private void setupTableViewColumn() {
booleanColumn.setCellFactory(column -> new CheckBoxTableCell<>());
booleanColumn.setCellValueFactory(cellData -> {