BeRealのロゴみたいなやつ(参考)
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
let targetUrl: string = '' | |
if (Deno.args[0]) { | |
try { | |
const urlObjectUrl = new URL(Deno.args[0]) | |
urlObjectUrl.protocol = 'http:' | |
targetUrl = urlObjectUrl.href | |
alert(`${targetUrl} に指定しました!`) | |
break | |
} catch (_error) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
if (import.meta.env.DEV) { | |
const script = document.createElement('script') | |
script.src = 'https://cdn.jsdelivr.net/npm/eruda' | |
// @ts-ignore global eruda | |
script.onload = () => globalThis.eruda.init() | |
document.body.append(script) | |
} |
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
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; |
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
/** | |
* Calc M(n) | |
* @param n number | |
*/ | |
export const npei = (n: number) => n * 6200000000 |
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
https://nanoha.pages.dev/app/download?url=https://api.end2end.tech/download?id=f5d466698626 |
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
var last_id = "8999999999999999999"; | |
init = () => { | |
let path = location.pathname.split("/"), | |
pathlist = ["home", "explore", "search", "notifications", "messages", "i"]; | |
if (path.length != 2 || pathlist.includes(path[1])) { | |
alert("ユーザーのページを開いてください"); | |
return; | |
} | |
screen_name = path[1]; |
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
function reqListener() { | |
console.log(this.responseText); | |
} | |
const req = new XMLHttpRequest(); | |
req.addEventListener("load", reqListener); | |
req.open("GET", "https://httpbin.org/get"); | |
req.send(); |
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
{ | |
"亜": [ | |
"ア" | |
], | |
"哀": [ | |
"アイ", | |
"あわれ", | |
"あわれむ" | |
], | |
"挨": [ |