Compare commits
No commits in common. "cd768de17aa534447defbd1118b1dae7bf5b8cb7" and "bdb1e8b5cde8d8117e5421df97ed3a748f5bfb8e" have entirely different histories.
cd768de17a
...
bdb1e8b5cd
Binary file not shown.
Before Width: | Height: | Size: 8.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
|
@ -59,9 +59,6 @@ a:visited {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
line-height: 125%;
|
line-height: 125%;
|
||||||
}
|
}
|
||||||
.side_menu ul li {
|
|
||||||
font-size: 9pt;
|
|
||||||
}
|
|
||||||
.side_menu p {
|
.side_menu p {
|
||||||
padding-left: 14px;
|
padding-left: 14px;
|
||||||
}
|
}
|
||||||
|
@ -128,18 +125,3 @@ table.border_table tr th {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.web_link::before {
|
|
||||||
background: url(/static/image/ui/web32.png);
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
|
|
||||||
content: ' ';
|
|
||||||
padding: 5px 5px;
|
|
||||||
margin:0 4px;
|
|
||||||
|
|
||||||
transform: translateY(0px);
|
|
||||||
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
.nojs_hide {display: none;}
|
|
|
@ -9,7 +9,6 @@ let cmds = {
|
||||||
'wget': require('./wget'),
|
'wget': require('./wget'),
|
||||||
'export_file': require('./export_file'),
|
'export_file': require('./export_file'),
|
||||||
'import_file': require('./import_file'),
|
'import_file': require('./import_file'),
|
||||||
'zsh': require('./zsh'),
|
|
||||||
|
|
||||||
// alias l='ls -l'
|
// alias l='ls -l'
|
||||||
'l': (a,t) => {require('./ls')([...a, '-l'], t)},
|
'l': (a,t) => {require('./ls')([...a, '-l'], t)},
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
const { Terminal } = require("xterm");
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {Terminal} terminal
|
|
||||||
*/
|
|
||||||
module.exports = (argv, terminal) => {
|
|
||||||
window.location.href = 'https://youtu.be/dQw4w9WgXcQ?t=3'
|
|
||||||
}
|
|
|
@ -135,7 +135,7 @@ function backspace(isCtrl) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param { KeyboardEvent } dom */
|
/** @param { KeyboardEvent } dom */
|
||||||
async function control_char(id, dom) {
|
function control_char(id, dom) {
|
||||||
|
|
||||||
switch (id) {
|
switch (id) {
|
||||||
|
|
||||||
|
@ -168,41 +168,17 @@ async function control_char(id, dom) {
|
||||||
case 86:
|
case 86:
|
||||||
if (dom.altKey) break;
|
if (dom.altKey) break;
|
||||||
|
|
||||||
case 82:
|
|
||||||
// Why it checks if letter is 'r':
|
|
||||||
// For some reason, ctrl+(v|r|d) executed this code.
|
|
||||||
// This is a simple fix
|
|
||||||
// (same works for any other code like this in this function)
|
|
||||||
if (dom.ctrlKey && dom.key.toLowerCase() == 'r') {
|
|
||||||
if (Math.random() < 0.1) terminal.write('uwu');
|
|
||||||
window.location.reload();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 68:
|
|
||||||
if (dom.ctrlKey && dom.key.toLowerCase() == 'd') {
|
|
||||||
terminal.writeln('');
|
|
||||||
pr_char = () => {};
|
|
||||||
exec_cmd = pr_char;
|
|
||||||
control_char = () => {};
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
const wr = (t) => {
|
|
||||||
terminal.write(t);
|
|
||||||
cmd += t;
|
|
||||||
}
|
|
||||||
if (dom.ctrlKey && (dom.key.length == 1)) {
|
if (dom.ctrlKey && (dom.key.length == 1)) {
|
||||||
wr('^' + dom.key.toUpperCase());
|
terminal.write('^' + dom.key.toUpperCase());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
wr('<');
|
terminal.write('<');
|
||||||
if (dom.ctrlKey) wr('C');
|
if (dom.ctrlKey) terminal.write('C');
|
||||||
if (dom.altKey) wr('A');
|
if (dom.altKey) terminal.write('A');
|
||||||
if (dom.shiftKey) wr('S');
|
if (dom.shiftKey) terminal.write('S');
|
||||||
wr(`${id}>`)
|
terminal.write(`${id}>`)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ block content
|
||||||
hr
|
hr
|
||||||
p= article.shortText
|
p= article.shortText
|
||||||
p
|
p
|
||||||
a(href='/article/' + article.id class='web_link') Open full article
|
a(href='/article/' + article.id) Open full article
|
||||||
tr
|
tr
|
||||||
td
|
td
|
||||||
div(style='min-height:12px;max-height:12px')
|
div(style='min-height:12px;max-height:12px')
|
||||||
|
|
|
@ -61,7 +61,7 @@ html(style='overflow-y:auto' lang='en_US')
|
||||||
| contact the maintainers and notify them of the issue.
|
| contact the maintainers and notify them of the issue.
|
||||||
table(width='100%' height='100%' class='body_table')
|
table(width='100%' height='100%' class='body_table')
|
||||||
tr
|
tr
|
||||||
td(class='side_menu' width='10%')
|
td(class='side_menu')
|
||||||
h1
|
h1
|
||||||
a(href='/') blek! Site
|
a(href='/') blek! Site
|
||||||
hr(class='flag_hr')
|
hr(class='flag_hr')
|
||||||
|
@ -77,11 +77,11 @@ html(style='overflow-y:auto' lang='en_US')
|
||||||
a(href=route) #{name}
|
a(href=route) #{name}
|
||||||
|
|
||||||
hr
|
hr
|
||||||
p(class='nojs_hide') This site is also available in:
|
p This site is also available in:
|
||||||
p(class='nojs_hide')
|
p
|
||||||
a(href='#' id='aussy_language')
|
a(href='#' id='aussy_language')
|
||||||
span(class='flag_btn au_flag' title='Australian')
|
span(class='flag_btn au_flag' title='Australian')
|
||||||
td(class='main_contents' width='90%')
|
td(class='main_contents')
|
||||||
block content
|
block content
|
||||||
block foot
|
block foot
|
||||||
|
|
||||||
|
@ -99,7 +99,5 @@ html(style='overflow-y:auto' lang='en_US')
|
||||||
alert('Congratulations! You have spent 10 years on this page. Go fuck yourself.\n\nUwU');
|
alert('Congratulations! You have spent 10 years on this page. Go fuck yourself.\n\nUwU');
|
||||||
}, 1000 * 60 * 60 * 24 * 365 * 10);
|
}, 1000 * 60 * 60 * 24 * 365 * 10);
|
||||||
|
|
||||||
$('.nojs_hide').css('display', 'block')
|
|
||||||
|
|
||||||
//- page js
|
//- page js
|
||||||
block scripts
|
block scripts
|
|
@ -13,16 +13,16 @@ block content
|
||||||
| This website was built using Express.js
|
| This website was built using Express.js
|
||||||
p
|
p
|
||||||
| Check out my
|
| Check out my
|
||||||
a(href='https://github.com/b1ek' class='web_link') GitHub page
|
a(href='https://github.com/b1ek') GitHub page
|
||||||
| and my
|
| and my
|
||||||
a(href='/resume' class='web_link') resume
|
a(href='/resume') resume
|
||||||
hr
|
hr
|
||||||
table(style='position:relative;left:50%;transform:translateX(-50%);width:90%')
|
table(style='position:relative;left:50%;transform:translateX(-50%);width:90%')
|
||||||
tr
|
tr
|
||||||
td(width='20%')
|
td(width='20%')
|
||||||
h4 Guest book
|
h4 Guest book
|
||||||
| (
|
| (
|
||||||
a(href='/guestbook.rss' class='web_link') RSS
|
a(href='/guestbook.rss') RSS
|
||||||
| )
|
| )
|
||||||
if (gb_entries)
|
if (gb_entries)
|
||||||
ul(style='margin:0 10px;padding:0')
|
ul(style='margin:0 10px;padding:0')
|
||||||
|
@ -31,7 +31,7 @@ block content
|
||||||
| #{entry.name} says:
|
| #{entry.name} says:
|
||||||
br
|
br
|
||||||
| #{entry.text}
|
| #{entry.text}
|
||||||
a(href='/guestbook' class='web_link') Write something in my guestbook!
|
a(href='/guestbook') Write something in my guestbook!
|
||||||
td(width='50%' style='border-left:1px solid #c2c4c2;border-right:1px solid #c2c4c2;padding:0 1%')
|
td(width='50%' style='border-left:1px solid #c2c4c2;border-right:1px solid #c2c4c2;padding:0 1%')
|
||||||
h3 Articles
|
h3 Articles
|
||||||
ul
|
ul
|
||||||
|
@ -43,8 +43,5 @@ block content
|
||||||
|
|
||||||
td(width='20%')
|
td(width='20%')
|
||||||
h4 Links
|
h4 Links
|
||||||
a(href='https://cameronsworld.net' class='web_link') cameronsworld.net
|
a(href='https://cameronsworld.net') cameronsworld.net
|
||||||
br
|
a(href='https://')
|
||||||
a(href='https://www.iconarchive.com/' class='web_link') iconarchive.com
|
|
||||||
br
|
|
||||||
font(size=2) Big icon archive
|
|
|
@ -17,7 +17,7 @@ block content
|
||||||
a(href='https://draw.blek.codes' class='web_link') draw.blek.codes
|
a(href='https://draw.blek.codes' class='web_link') draw.blek.codes
|
||||||
td
|
td
|
||||||
| A draw board. Has real-time collaborative features.
|
| A draw board. Has real-time collaborative features.
|
||||||
a(href='https://excalidraw.com' class='web_link') Official site
|
a(href='https://excalidraw.com') Official site
|
||||||
tr
|
tr
|
||||||
td Gitea
|
td Gitea
|
||||||
td
|
td
|
||||||
|
@ -30,7 +30,7 @@ block content
|
||||||
a(href='https://bin.blek.codes' class='web_link') bin.blek.codes
|
a(href='https://bin.blek.codes' class='web_link') bin.blek.codes
|
||||||
td
|
td
|
||||||
| A privacy-respecting, js-free pastebin alternative (inspired by
|
| A privacy-respecting, js-free pastebin alternative (inspired by
|
||||||
a(href='https://github.com/hnhx/librebin' class='web_link') Librebin
|
a(href='https://github.com/hnhx/librebin') Librebin
|
||||||
| )
|
| )
|
||||||
a(href='/project/blek_bin' class='web_link') Project page
|
a(href='/project/blek_bin' class='web_link') Project page
|
||||||
tr
|
tr
|
||||||
|
|
|
@ -11,7 +11,7 @@ block append content
|
||||||
For now, the project exists just as an idea of creating a self-hosted alternative of Google Analytics.
|
For now, the project exists just as an idea of creating a self-hosted alternative of Google Analytics.
|
||||||
p.
|
p.
|
||||||
I like google analytics but it is created by a capitalist company and all the user data is sent to Google<br/>
|
I like google analytics but it is created by a capitalist company and all the user data is sent to Google<br/>
|
||||||
which is not very good, because it can be used (and it probably is used) for empowering <a class='web_link' href='https://en.wikipedia.org/wiki/Global_surveillance'>Global Survelliance</a>.
|
which is not very good, because it can be used (and it probably is used) for empowering <a href='https://en.wikipedia.org/wiki/Global_surveillance'>Global Survelliance</a>.
|
||||||
p.
|
p.
|
||||||
With analytics being self-hosted, all the used data is available only to hoster and therefore cannot be used for mass-spying on people.<br/>
|
With analytics being self-hosted, all the used data is available only to hoster and therefore cannot be used for mass-spying on people.<br/>
|
||||||
Of course, the hoster can access the data, but its only one person/company, not a global multinational conglomerate.
|
Of course, the hoster can access the data, but its only one person/company, not a global multinational conglomerate.
|
|
@ -12,15 +12,15 @@ block append content
|
||||||
+label('Official instance (link)', '#90c137')
|
+label('Official instance (link)', '#90c137')
|
||||||
p
|
p
|
||||||
| blek! Bin is a free, self-hosted, nojs alternative to
|
| blek! Bin is a free, self-hosted, nojs alternative to
|
||||||
a(href='https://pastebin.com' class='web_link') Pastebin
|
a(href='https://pastebin.com') Pastebin
|
||||||
| .
|
| .
|
||||||
br
|
br
|
||||||
| Or, in other words, a clean-code alternative to
|
| Or, in other words, a clean-code alternative to
|
||||||
a(href='https://github.com/hnhx/librebin' class='web_link') Librebin
|
a(href='https://github.com/hnhx/librebin') Librebin
|
||||||
| .
|
| .
|
||||||
p
|
p
|
||||||
| Basically, i got the idea of this project from
|
| Basically, i got the idea of this project from
|
||||||
a(href='https://github.com/hnhx/librebin' class='web_link') Librebin
|
a(href='https://github.com/hnhx/librebin') Librebin
|
||||||
| , which is built on bare PHP and the code is barely readable or maintainable.
|
| , which is built on bare PHP and the code is barely readable or maintainable.
|
||||||
br
|
br
|
||||||
| Also, Librebin has only 8 commits and the last commit was on May 30 2022 (at this moment), or
|
| Also, Librebin has only 8 commits and the last commit was on May 30 2022 (at this moment), or
|
||||||
|
@ -35,5 +35,5 @@ block append content
|
||||||
td Some words
|
td Some words
|
||||||
tr
|
tr
|
||||||
td
|
td
|
||||||
a(href='https://bin.blek.codes' class='web_link') bin.blek.codes
|
a(href='https://bin.blek.codes') bin.blek.codes
|
||||||
td Official instance (NL)
|
td Official instance (NL)
|
||||||
|
|
|
@ -10,4 +10,4 @@ block append content
|
||||||
p
|
p
|
||||||
| blek! ID provides authentication functionality for all blek! Services.
|
| blek! ID provides authentication functionality for all blek! Services.
|
||||||
br
|
br
|
||||||
| It was supposed to be something like OpenID Connect server, and perhaps you should use a production-ready implementation of this (like <a class='web_link' href='https://github.com/ory/hydra'>ory hydra</a>)
|
| It was supposed to be something like OpenID Connect server, and perhaps you should use a production-ready implementation of this (like <a href='https://github.com/ory/hydra'>ory hydra</a>)
|
|
@ -13,7 +13,7 @@ block append content
|
||||||
| It runs on nginx + php-fpm on alpine linux
|
| It runs on nginx + php-fpm on alpine linux
|
||||||
p
|
p
|
||||||
| Read the github
|
| Read the github
|
||||||
a(class='web_link' href='https://github.com/b1ek/sail') page
|
a(href='https://github.com/b1ek/sail') page
|
||||||
| for more info.
|
| for more info.
|
||||||
p
|
p
|
||||||
a(class='web_link' href='https://hub.docker.com/r/blekii/sail') Docker hub repo
|
a(href='https://hub.docker.com/r/blekii/sail') Docker hub repo
|
|
@ -24,5 +24,5 @@ block append content
|
||||||
but i never got around to implementing it.
|
but i never got around to implementing it.
|
||||||
p.
|
p.
|
||||||
It loads the config from a YAML file with
|
It loads the config from a YAML file with
|
||||||
<a class='web_link' href='https://github.com/jbeder/yaml-cpp'>yaml-cpp</a><br/>
|
<a href='https://github.com/jbeder/yaml-cpp'>yaml-cpp</a><br/>
|
||||||
<span style='font-size:80%'>Funny part: it is stored in git as precompiled binary.</span>
|
<span style='font-size:80%'>Funny part: it is stored in git as precompiled binary.</span>
|
|
@ -4,7 +4,7 @@ block root
|
||||||
|
|
||||||
block append content
|
block append content
|
||||||
p(align='center')
|
p(align='center')
|
||||||
a(class='web_link' href='https://github.com/nymda/WinTerrEdit' target='_blank')
|
a(href='https://github.com/nymda/WinTerrEdit' target='_blank')
|
||||||
img(src='/content/winterredit.png' height=100)
|
img(src='/content/winterredit.png' height=100)
|
||||||
|
|
||||||
p.
|
p.
|
||||||
|
@ -13,4 +13,4 @@ block append content
|
||||||
The thing was a complete mess before i refactored it. (although it still needs some work)
|
The thing was a complete mess before i refactored it. (although it still needs some work)
|
||||||
|
|
||||||
p.
|
p.
|
||||||
See the <a class='web_link' href='https://github.com/nymda/WinTerrEdit' target='_blank'>github page</a>.
|
See the <a href='https://github.com/nymda/WinTerrEdit' target='_blank'>github page</a>.
|
Loading…
Reference in New Issue