This file contains hidden or 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 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
This file contains hidden or 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 <Ethernet2.h> | |
#include <SPI.h> | |
#include <SkaarhojPgmspace.h> | |
// MAC address and IP address for this *particular* Arduino / Ethernet Shield! | |
// The MAC address is printed on a label on the shield or on the back of your device | |
// The IP address should be an available address you choose on your subnet where the switcher is also present | |
byte mac[] = { 0x90, 0xA2, 0xDA, 0x10, 0x0B, 0x68 }; // <= SETUP! MAC address of the Arduino | |
IPAddress clientIp(192, 168, 10, 99); // <= SETUP! IP address of the Arduino |
This file contains hidden or 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 <OneButton.h> | |
#include <MIDI.h> | |
#include <SoftwareSerial.h> | |
// Constants | |
const int timelineChannel = 1; | |
const int bigskyChannel = 2; | |
const int displayTx = 10; | |
const int displayRx = -1; |
This file contains hidden or 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
wmic baseboard get product,Manufacturer,version,serialnumber |
This file contains hidden or 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
World world = Bukkit.getWorlds().get(0); | |
Horse horse = (Horse) world.spawnEntity(new Location(world, 0, 128, 0), EntityType.HORSE); | |
horse.setCustomName("Spawn Point"); | |
horse.setCustomNameVisible(true); | |
WitherSkull skull = (WitherSkull) world.spawnEntity(new Location(world, 0, 128, 0), EntityType.WITHER_SKULL); | |
skull.setPassenger(horse); |
This file contains hidden or 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
' Blank Usernames | |
If IsNull(cboUsername) Or cboUsername = "" Then | |
MsgBox "Enter Username", vbOKOnly, "Required Data" | |
cboUsername.SetFocus | |
Exit Sub | |
End If | |
' Blank Passwords | |
If IsNull(txtPassword) Or txtPassword = "" Then | |
MsgBox "Enter Password", vbOKOnly, "Required Data" |
This file contains hidden or 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.HashSet; | |
import java.util.Set; | |
import org.bukkit.Location; | |
import org.bukkit.Material; | |
/** | |
* Utility class for searching for the natural bedrock formation used to assist | |
* in killing a Wither. | |
* @author LimeByte |
This file contains hidden or 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
---- Minecraft Crash Report ---- | |
// Hey, that tickles! Hehehe! | |
Time: 10/21/12 10:55 PM | |
Description: Exception in server tick loop | |
java.lang.IndexOutOfBoundsException: Index: 36, Size: 36 | |
at java.util.ArrayList.rangeCheck(Unknown Source) | |
at java.util.ArrayList.remove(Unknown Source) | |
at net.minecraft.server.World.tickEntities(World.java:1137) |
This file contains hidden or 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
package me.limebyte.bnhookexample; | |
import java.util.logging.Logger; | |
import me.limebyte.battlenight.core.BattleNight; | |
import org.bukkit.ChatColor; | |
import org.bukkit.entity.Player; | |
import org.bukkit.plugin.Plugin; | |
import org.bukkit.plugin.java.JavaPlugin; |