Skip to content

Commit

Permalink
Merge pull request #1 from unbeeyt/glitch
Browse files Browse the repository at this point in the history
🚿🤚 Updated with Glitch
  • Loading branch information
unbeeyt authored Nov 20, 2022
2 parents 5427a1e + 9d474f0 commit 18e7a67
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 1 deletion.
1 change: 0 additions & 1 deletion eeeREADME.md

This file was deleted.

48 changes: 48 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
:root {
background-color: 1606F0n !important;
}

body {
background-color: rgb(22, 6, 240)
}

#console {
font-family: courier, monospace;
color: rgb(226, 0, 0);
width:750px;
margin-left:auto;
margin-right:auto;
margin-top:100px;
font-size:13px;
}

a {
color: rgba(240, 162, 19, 0.761);
text-decoration: none;
}

#a {
color: #0f0;
}

#c {
color: #0bc;
}

#b {
color: #ff0096;
}

#k {
animation: change 2s;
}

#op{
color: #888888
}

@keyframes change {
0% { color: #0f0; }
50% { color: #0f0; }
99% { color: black; }
}
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

<html>
<head>
<title>UNBEE Portfolio</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<script type="text/javascript" src="index.js">
</script>
<div id="console"></div>

</script>
</body>
</html>
109 changes: 109 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
var Typer = {
text: '',
accessCountimer: null,
index: 0,
speed: 2,
file: '',
accessCount: 0,
deniedCount: 0,
init: function () {
accessCountimer = setInterval(function () {
Typer.updLstChr();
}, 500);
$.get(Typer.file, function (data) {
Typer.text = data;
Typer.text = Typer.text.slice(0, Typer.text.length - 1);
});
},

content: function () {
return $('#console').html();
},

write: function (str) {
$('#console').append(str);
return false;
},

addText: function (key) {
if (key.keyCode == 18) {
Typer.accessCount++;

if (Typer.accessCount >= 3) {
Typer.makeAccess();
}
} else if (key.keyCode == 20) {
Typer.deniedCount++;

if (Typer.deniedCount >= 3) {
Typer.makeDenied();
}
} else if (key.keyCode == 27) {
Typer.hidepop();
} else if (Typer.text) {
var cont = Typer.content();
if (cont.substring(cont.length - 1, cont.length) == '|')
$('#console').html(
$('#console')
.html()
.substring(0, cont.length - 1),
);
if (key.keyCode != 8) {
Typer.index += Typer.speed;
} else {
if (Typer.index > 0) Typer.index -= Typer.speed;
}
var text = Typer.text.substring(0, Typer.index);
var rtn = new RegExp('\n', 'g');

$('#console').html(text.replace(rtn, '<br/>'));
window.scrollBy(0, 50);
}

if (key.preventDefault && key.keyCode != 122) {
key.preventDefault();
}

if (key.keyCode != 122) {
// otherway prevent keys default behavior
key.returnValue = false;
}
},

updLstChr: function () {
var cont = this.content();

if (cont.substring(cont.length - 1, cont.length) == '|')
$('#console').html(
$('#console')
.html()
.substring(0, cont.length - 1),
);
else this.write('|'); // else write it
},
};

function replaceUrls(text) {
var http = text.indexOf('http://');
var space = text.indexOf('.me ', http);

if (space != -1) {
var url = text.slice(http, space - 1);
return text.replace(url, '<a href="' + url + '">' + url + '</a>');
} else {
return text;
}
}

Typer.speed = 3;
Typer.file = 'unbee.txt';
Typer.init();

var timer = setInterval('t();', 30);
function t() {
Typer.addText({ keyCode: 123748 });

if (Typer.index > Typer.text.length) {
clearInterval(timer);
}
}
14 changes: 14 additions & 0 deletions unbee.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<span id="a">portfolio@UNBEE</span>:<span id="b">~</span><span id="c">$</span> cd unbee/<!-- kjsdfhkjdhsfkjdshfkj -->About_Me
<span id="a">portfolio@UNBEE</span>:<span id="b">~</span><span id="c">$</span> cat <!-- kjsdfhkjdhsfkjdshfkj -->unbee.txt<br/><br/>
Hey There! Im "<span id="k">UNBEE.</span>". <!-- sjkfhskjf -->

Welcome to my Portfolio page <!-- laglaglaglaglaglaglaglaglaglaglaglag --><p>you want to see some of my work check out my Github but first something about me </p>
<p>-Im 20 Years old </p> <!-- ksjdokhdfgdufdfkjhfkjahdfkjhafkjhakf -->
<p>-I code since im 15! </p> <!-- ksjdokhdfgdufdfkjhfkjahdfkjhafkjhakf -->
<p>-I have the websites <a href="https://cryptostonnies.de">Crypto_Stonnies</a> and <a href="https://juicyprint.de">Juicyprint</a> </p> <!-- ksjdokhdfgdufdfkjhfkjahdfkjhafkjhakf -->
<p> Im a professional Web Developer making websites with HTML5, CSS, JS .</p><!-- kjdhjhgdgldjhgdwtoiewotwotjdfkjdfffsf -->
<p> I also make Websites with Wordpress. </p><!-- kjdhjhgdgldjhgdwtoiewotwotjdfkjdfffsf -->
<p> I also do a bit of python here and there but im still learning it aswell with Java and C# </p><!-- kjdhjhgdgldjhgdwtoiewotwotjdfkjdfffsf -->
<p> You can give links to other professional profiles you have on Internet, here: <br> <a href="https://github.com/unbeeyt">Github</a> <br> <a href="https://twitter.com/yt_unbee">Twitter</a>.</p>
You can also give your email ID for contacting you<!-- slightdelayhere-->, feel free to send me an email at<!-- longlonglongcomment --> <a href="mailto: [email protected]">Email</a>.
<p>Thanks for viewing!</p>

0 comments on commit 18e7a67

Please sign in to comment.