Some funny little change
:)
This commit is contained in:
parent
afa417d251
commit
d1462470b1
@ -4,6 +4,8 @@
|
||||
|
||||
Hey! This is a simple web-service called __HuffPress__. What it does? Well, actually it _huffpresses_ files... I mean, compresses files using the [Huffman compression](https://en.wikipedia.org/wiki/Huffman_coding 'Read about it on Wikipedia').
|
||||
|
||||
Also it uses a bit modified [SHICHIRO coding](https://github.com/H1K0/SHICHIRO 'View on GitHub') for compressing and embedding Huffman table.
|
||||
|
||||
## What do I need?
|
||||
|
||||
- Any web browser
|
||||
@ -13,7 +15,7 @@ Hey! This is a simple web-service called __HuffPress__. What it does? Well, actu
|
||||
|
||||
## So, how do I use it?
|
||||
|
||||
I think it's too easy to explain the usage of this service, but anyway here's [a video guide](https://yadi.sk/i/aiy78bDaoKqoJQ 'Watch!').
|
||||
I think the usage is too easy to explain it, but anyway here's [a video guide](https://yadi.sk/i/aiy78bDaoKqoJQ 'Watch!').
|
||||
|
||||
---
|
||||
|
||||
|
||||
1
images/angry_huffman
Normal file
1
images/angry_huffman
Normal file
File diff suppressed because one or more lines are too long
@ -8,6 +8,7 @@
|
||||
<link rel="stylesheet" href="./css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="./css/style.css" />
|
||||
<script src="./js/jquery-3.6.0.min.js"></script>
|
||||
<script src="./js/console.image.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
||||
4
js/console.image.min.js
vendored
Normal file
4
js/console.image.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
16
js/script.js
16
js/script.js
@ -88,3 +88,19 @@ $('.closebtn').click(function () {
|
||||
$('.error').css('display', 'none');
|
||||
$('.complete').css('display', 'none');
|
||||
});
|
||||
|
||||
$(window).on('load', function() {
|
||||
let msg = 'И что это мы тут забыли?\nА ну кыш отседова!\nНашлись тут кулхацкеры понимаешь!';
|
||||
let style = [
|
||||
'padding: 1rem;',
|
||||
'font-family: monospace;',
|
||||
'font-size: 18pt;',
|
||||
].join('');
|
||||
console.log('%c%s', style, msg);
|
||||
$.ajax({
|
||||
url: './images/angry_huffman',
|
||||
success: function(data) {
|
||||
console.image(data);
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user