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
<!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> |
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 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 { | |
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
def bitrepresent(dec): | |
base, exp = 2, 7 | |
power = base ** exp | |
str = "" | |
while power != 0: | |
if power <= dec: | |
str += "1" | |
dec -= power | |
else: |