Skip to content

Instantly share code, notes, and snippets.

Avatar
🌫️
All foggy

Jakob Yanagibashi jeifour

🌫️
All foggy
  • Aachen, Germany
View GitHub Profile
View mailobfuscator.html
<!DOCTYPE html>
<html>
<head>
<title>Libsodium email obfuscator</title>
<script src="https://cdn.jsdelivr.net/npm/sodium-plus@0.9.0/dist/sodium-plus.min.js" integrity="sha256-3zeaXkog0rB7em3PMV/r0z9RjoeE5VPLNlx4K2CE7w4=" crossorigin="anonymous"></script>
</head>
<body>
<div>
<input type="text" id="inputInput">
<button type="button" id="generateButton">Generate!</button>
@jeifour
jeifour / Spaceship.java
Last active Dec 10, 2015
very simple spaceship simulator
View Spaceship.java
public class Spaceship {
public int people = 10; // the amount of people living on the ship
public int food = 100; // the amount of food the people can use for surviving
public int fuel = 100; // how much fuel is left for flying
public double[] cord = new double[2]; // coordinates of the ship - X,Y
public double[] course = new double[2]; // coordinates of the flying target - X,Y
public static void main(String[] args) {
Spaceship traumschiffSurprise = new Spaceship(5.0, 4.0, 9.0, 9.0);
int i = 1;