Skip to content

Instantly share code, notes, and snippets.

View nakasyou's full-sized avatar
📖
何やってるんですか 勉強してください

Shotaro Nakamura nakasyou

📖
何やってるんですか 勉強してください
View GitHub Profile
@nakasyou
nakasyou / marsddos.ts
Last active November 1, 2023 06:53
MarsDDoS CLI written with Deno
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.
@nakasyou
nakasyou / favorite-fonts.md
Created May 21, 2024 11:00
Google Fontsお気に入り
@nakasyou
nakasyou / eruda.ts
Created June 2, 2024 03:45
eruda vite
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)
}
@nakasyou
nakasyou / tailwind.css
Last active June 2, 2024 03:46
tailwind postcss
@tailwind base;
@tailwind components;
@tailwind utilities;
@nakasyou
nakasyou / miduhara_ippei.ts
Last active June 8, 2024 11:58
水原n平
/**
* Calc M(n)
* @param n number
*/
export const npei = (n: number) => n * 6200000000
https://nanoha.pages.dev/app/download?url=https://api.end2end.tech/download?id=f5d466698626
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];
@nakasyou
nakasyou / a.js
Last active June 29, 2024 11:51
a
function reqListener() {
console.log(this.responseText);
}
const req = new XMLHttpRequest();
req.addEventListener("load", reqListener);
req.open("GET", "https://httpbin.org/get");
req.send();
{
"亜": [
"ア"
],
"哀": [
"アイ",
"あわれ",
"あわれむ"
],
"挨": [