Skip to content

Instantly share code, notes, and snippets.

View akku1139's full-sized avatar
🔥
Translating Hono docs

-akku- akku1139

🔥
Translating Hono docs
View GitHub Profile
import discord
import os
TOKEN = "TOKEN" # Discordのtoken
ID = 1324402148137504800 # スパマーのID
client = discord.Client()
@client.event
async def on_ready():
@akku1139
akku1139 / gemini_opt.c
Last active December 30, 2024 07:09
ASUSN CTF 2 - Reversing - whitespace
#include <assert.h>
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
// インライン展開の定義 (C++以外)
#ifndef __cplusplus
# if defined(_MSC_VER)
# define inline __inline
# define __inline__ __inline
- waiting for device -
--------- beginning of main
I/lowmemorykiller( 120): Using in-kernel low memory killer interface
I/auditd ( 117): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
W/init ( 1): type=1400 audit(0.0:3): avc: denied { sys_module } for capability=16 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability
I/cm ( 137): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
I/cm ( 139): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
I/cm ( 143): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
--------- beginning of system
I/Vold ( 122): Vold 2.1 (the revenge) firing up
@akku1139
akku1139 / LKML_Reader.js
Created November 27, 2024 15:14
LKML reader for NullStudio
// https://gist.github.com/akku1139/5355e46b54982ba868dfa1175388eb72
/** 最小実装
* https://developers.cloudflare.com/email-routing/email-workers/runtime-api/
* @typedef EmailMessage
* @property {string} from
* @property {string} to
* @property {Headers} headers
* @property {ReadableStream} raw
* @property {number} rawSize
@akku1139
akku1139 / YouTube-Music-do-not-stop.user.js
Last active December 10, 2024 14:43
Preventing music from stopping automatically on YouTube Music
// ==UserScript==
// @name No stop YouTube Music
// @namespace Violentmonkey Scripts
// @match https://music.youtube.com/*
// @grant none
// @author akku
// @description 11/22/2024, 7:29:38 PM
// @description YouTube music has been modified to detect tab transitions and stop the music.
// @run-at document-start
// ==/UserScript==
@akku1139
akku1139 / filter.txt
Last active December 30, 2024 10:01
uBlock Origin custom filter
! Jun 14, 2024 https://www.youtube.com
www.youtube.com###clarify-box
||mobile.events.data.microsoft.com^
! Jul 1, 2024 https://wallet.duinocoin.com
wallet.duinocoin.com##.adblocker_detected
!||discord.com^
!||x.com^
@akku1139
akku1139 / keybase.md
Created March 18, 2024 17:51
keybase.md

Keybase proof

I hereby claim:

  • I am akku1139 on github.
  • I am akku1139 (https://keybase.io/akku1139) on keybase.
  • I have a public key whose fingerprint is 8D16 20B6 0CDF C431 806B 0FA7 0BE4 41B4 20B2 1AD3

To claim this, I am signing this object:

@akku1139
akku1139 / .editorconfig
Created January 25, 2024 08:37
Correspondence between .editorconfig and .vscode/settings.json
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# Change these settings to your own preference
@akku1139
akku1139 / overlay_profile.service
Last active January 21, 2024 12:58
Vivaldi overlay profile
[Unit]
Description=Overlayfs Vivaldi profile
Requires=local-fs.target
After=local-fs.target
[Service]
User=root
Type=oneshot
Restart=no
RemainAfterExit=true
@akku1139
akku1139 / enhanced-h264ify.user.js
Last active January 19, 2024 15:23
User script version of enhanced-h264ify
// ==UserScript==
// @name enhanced-h264ify
// @namespace Violentmonkey Scripts
// @version 0.1
// @description enhanced-h264ify for user script.
// @author akku
// @match *://*.youtube.com/*
// @match *://*.youtube-nocookie.com/*
// @match *://*.youtu.be/*
// @grant none