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
package com.modcrafting.islands; | |
import com.modcrafting.populators.GrassPopulator; | |
import com.modcrafting.populators.OrePopulator; | |
import com.modcrafting.populators.CavePopulator; | |
import com.modcrafting.populators.DungeonPopulator; | |
import com.modcrafting.populators.TreePopulator; | |
import java.util.ArrayList; | |
import org.bukkit.generator.BlockPopulator; | |
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.util.Arrays; | |
import java.util.Random; | |
public class Main { | |
public static void main(String[] args) { | |
Random generator = new Random(); | |
int size = 1_000_000; //Edit me to change the size of the array | |
/* |
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
// ==UserScript== | |
// @name NextCloud NordLocker Update | |
// @namespace http://none/ | |
// @version 0.1 | |
// @description Add NordLocker Icons to NextCloud Folders | |
// @author Deathmarine | |
// @match https://*/nextcloud/index.php/apps/files/* | |
// @grant none | |
// ==/UserScript== |
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
using System; | |
using System.Collections; | |
using System.Text.RegularExpressions; | |
namespace KenoProject { | |
class Program { | |
static void Main(string[] args) { | |
Random generator = new Random(); | |
Console.WriteLine("======= Play Keno =======\n\n"); | |
while (true) { |
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
int count = 0; | |
public boolean changeToken(int index) { | |
// make sure this space is blank, if not return | |
if (gameArray[index] != Token.Blank) { | |
System.out.println("Space is already used"); | |
return false; | |
} | |
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
public boolean checkForWin(int index) { | |
//TO DO: check to see if there is a winner. If so, set win field and return true; otherwise, return false | |
if(gameArray[0] == gameArray[1] && gameArray[1] == gameArray[2]) | |
win = Win.TOP_ROW; // Could probably do this with a case switch | |
if(gameArray[0] == gameArray[3] && gameArray[3] == gameArray[6]) | |
win = Win.TOP_ROW; // Could probably do this with a case switch | |
//Blah... If statement | |
//More If statements |
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.io.IOException; | |
import java.io.OutputStreamWriter; | |
import java.util.ArrayList; | |
import java.util.List; | |
import com.fazecast.jSerialComm.SerialPort; | |
public class Main implements Runnable{ | |
static boolean RUNNING = true; | |
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
#!/usr/bin/env bash | |
# ----------------------------------------------------------------------------- | |
# File : miner.sh | |
# Project : https://github.com/ | |
# Updated Author: @Deathmarine | |
# Original Author: @AndreaLanfranchi | |
# Original Project: https://github.com/ethereum-mining/ethminer/issues/1063#issuecomment-386667125 | |
# ----------------------------------------------------------------------------- | |
# Description |
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
int sON = 0; | |
int nON = 0; | |
int signPin = 2; //Radiation Pulse (White) | |
int noisePin = 5; //Vibration Noise Pulse (Yellow) | |
int signCount; | |
int noiseCount = 0; | |
int prevTime = 0; | |
boolean latch; | |
void setup() { |
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
// ==UserScript== | |
// @name Vacation Countdown | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description GTFO Counter! | |
// @author You | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
NewerOlder