Skip to content

Instantly share code, notes, and snippets.

View kaecy's full-sized avatar
🌄
I'm awake.

Eris kaecy

🌄
I'm awake.
  • Freelancer
  • England
View GitHub Profile
@kaecy
kaecy / binary.py
Last active October 3, 2020 18:18 — forked from pgreze/binary.py
Binary operations with Python
def bitrepresent(dec):
base, exp = 2, 7
power = base ** exp
str = ""
while power != 0:
if power <= dec:
str += "1"
dec -= power
else:
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.*;
import javafx.scene.control.*;
import javafx.scene.image.*;
import javafx.geometry.*;
public class miniturized extends Application {
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>dogs slideshow</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script src="slide.js" type="text/javascript"></script>
</head>
<body>