Skip to content

Instantly share code, notes, and snippets.

View OmegaRogue's full-sized avatar
🏳️‍⚧️

OmegaRogue OmegaRogue

🏳️‍⚧️
View GitHub Profile
@OmegaRogue
OmegaRogue / file.txt
Created September 23, 2018 11:09
file.txt
test
@OmegaRogue
OmegaRogue / OreType.java
Created October 6, 2018 14:42
OreType.java
NAQUADAH
local mysql = require('luamysql')
dbarg = {
host = "127.0.0.1", -- required
port = 3306, -- required
user = "ouonline", -- optional
password = "foobar", -- optional
db = "test", -- optional
}
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
#include <mysql/mysql.h>
static const char* MySQLLib = "MySQL.lib";
static const char* MySQLResult = "MySQLResult";
/* ------------------------------------------------------------------------- */
local mysql = require('luamysql')
dbarg = {
host = "127.0.0.1", -- required
port = 3306, -- required
user = "ouonline", -- optional
password = "foobar", -- optional
db = "test", -- optional
}
@OmegaRogue
OmegaRogue / Darcula.user.css
Last active February 2, 2019 14:12
A custom version of https://userstyles.org/styles/31267/global-dark-style-changes-everything-to-dark made to look like the Darcula Theme known from Jetbrains IDEs
/* ==UserStyle==
@name Darcula
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author OmegaRogue
==/UserStyle== */
@-moz-document url-prefix("ftp://"),
url-prefix("file://"),
url-prefix("about"),
Checking if file is mod C:\Program Files (x86)\Steam\steamapps\common\Nimbatus\Windows64\Mods\API.dll
Checking for modmeta at C:\Program Files (x86)\Steam\steamapps\common\Nimbatus\Windows64\Mods\API.modMeta
Generating metadata for API.dll
Adding global::Assets.Nimbatus.Scripts.WorldObjects.Items.DroneParts.BindableDronePart
Adding global::Assets.Nimbatus.Scripts.WorldObjects.Items.DroneParts.SensorParts.SensorPart
Adding global::Assets.Nimbatus.GUI.MainMenu.Scripts.ShowVersionNumber
CREATE PROCEDURE doturn(PLAYER INT, BRoW INT, BColumn INT)
BEGIN
DECLARE CellBuffer INT;
IF BColumn = 1 THEN
SELECT BColumn1 INTO CellBuffer FROM tictactoe WHERE Row = BRoW;
IF CellBuffer = 0 THEN
UPDATE tictactoe
SET BColumn1=PLAYER
WHERE Row = BRoW;
END IF;
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is
configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (53): Der Netzwerkpfad wurde nicht gefunden
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstanc
e, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProvider
import java.io.*;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;