Skip to content

Instantly share code, notes, and snippets.

View ncurran02's full-sized avatar
🖥️
Programming

Nathan Curran ncurran02

🖥️
Programming
View GitHub Profile
@ncurran02
ncurran02 / animalfacts.txt
Last active May 22, 2024 18:03
Animal Facts
Gorillas can catch human colds and other illnesses.
A newborn Chinese water deer is so small it can almost be held in the palm of the hand.
Ostriches can run faster than horses, and the males can roar like lions.
A lion in the wild usually makes no more than twenty kills a year.
The female lion does ninety percent of the hunting.
The world's smallest dog was a Yorkshire Terrier, which weighed just four ounces.
Turtles, water snakes, crocodiles, alligators, dolphins, whales, and other water going creatures will drown if kept underwater too long.
Almost half the pigs in the world are kept by farmers in China.
On average, dogs have better eyesight than humans, although not as colorful.
Deer have no gall bladders.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.568 s
[INFO] Finished at: 2021-06-27T20:45:33+10:00
[INFO] ------------------------------------------------------------------------
---------------------------------------------------
constituent[0]: file:/C:/Program%20Files/apache-maven-3.6.3/bin/../conf/logging/
constituent[1]: file:/C:/Program%20Files/apache-maven-3.6.3/bin/../lib/cdi-api-1.0.jar
constituent[2]: file:/C:/Program%20Files/apache-maven-3.6.3/bin/../lib/commons-cli-1.4.jar

Keybase proof

I hereby claim:

  • I am focusvity on github.
  • I am fleek (https://keybase.io/fleek) on keybase.
  • I have a public key ASD8DcjSJFyYyXvJc3IHcWOkXIVVNDk8snTjwkX2h_VAUwo

To claim this, I am signing this object:

Add players

BEGIN (add player)
  player <- Array[dropPlayerAmount.Value]

  INPUT txtPlayerName
  count <- 0
  filled <- False
  
  REPEAT
public static void generateKey(String username)
{
try
{
KeyPairGenerator pair = KeyPairGenerator.getInstance("RSA");
pair.initialize(2048);
KeyPair keyPair = pair.generateKeyPair();
PublicKey pub = keyPair.getPublic();
PrivateKey pri = keyPair.getPrivate();
const mineflayer = require('mineflayer');
if (process.argv.length < 2 || process.argv.length > 2) {
console.log('Usage : node Focus.js [<name>]');
process.exit(1);
}
const bot = mineflayer.createBot({
host: 'play.totalfreedom.me',
username: process.argv[2] ? process.argv[4] : 'echo',
@ncurran02
ncurran02 / CreateServerCode.java
Last active January 21, 2019 11:23
Just a random code I made up. I don't know if it has error in them as I was using Notepad++
public static Map<User, String> servers = new HashMap<>();
public static Map<String, Boolean> started = new HashMap<>();
public static void createServer(User user, String name)
{
if (user == null)
{
return;
}