Skip to content

Instantly share code, notes, and snippets.

View Hayao0819's full-sized avatar

Yamada Hayao Hayao0819

View GitHub Profile
@fnky
fnky / ANSI.md
Last active August 16, 2025 05:34
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@varqox
varqox / install_debian_with_debootstrap_howto.md
Last active August 11, 2025 11:51
Instructions how to install Debian using debootstrap
@sasairc
sasairc / naxtu.md
Last active August 15, 2022 13:33
Linux Kernelのロゴを野獣の咆哮へ変更する

Linux Kernelのロゴを野獣の咆哮へ変更する

この記事は例のアレ Advent Calendar 2014の記事です。(大嘘)

linux-logo-naxtu - Linux Kernelの起動ロゴを、野獣の咆哮(NAXTU)へ変更するパッチです。

Patching

@matsubara0507
matsubara0507 / introduction2Pwn.md
Last active July 31, 2025 13:01
楽しいPwn入門

たのしいPwn入門

What is This ?

IGGG Advent Calender 2015のために書いた記事です。
常設CTFで遊んでたらPwnable系の問題を解いてるうちにいろいろと勉強になったのでまとめます。

Pwnable

PwnableとはCTFのジャンルの1つで、プログラムの脆弱性をつき、本来アクセスできないメモリ領域にアクセスして操作し、フラグを取得する感じの問題です。
別名としてExploitがあります。

@844196
844196 / gist:849cd820e2c3ce916486
Last active November 27, 2024 13:55
非淫夢民向けミュート正規表現パターン
[こそ]れ?マジ?[\??]
まず(.*?)さ[あぁ]?(?:、|(?:\.|・){2,})(.*?)(?:、|(?:\.|・){2,})?ある?んだけど(?:、|(?:\.|・){2,})(.*)
(.+)↑(.+)↓
やっぱ[あぁ]?(?:、|(?:\.|・){2,})?(.*?)(?:くん|君)?の(.*?)を(?:、|(?:\.|・){2,})?(.*?)
[\((].*?[\))]ないです
[\((](王者の風格|すっとぼけ|サイコパス|ガンギマリ|せっかち|ねっとり|思考停止|諸行無常|ドン引き|意味深|名推理|使命感|震え声|棒読み|半ギレ|淫夢|悟空|威圧|偏見|激寒|呆れ|恍惚|戒め|無知|妥協|提案|驚愕|池沼|正論|絶望|良心|哲学|便乗|困惑|脅迫|小声|適当|レ|素|[至名迷]言|大[嘘破]|[難幻]聴|[憤激]怒|届かぬ[思想]い|(?:察し|冊子)|(?:声だけ)?迫真|無(?:邪気|関心)|語録(?:無視)?|(?:ゲス|真)顏|(?:更|さら)なる高みへ|(?:.*?並(?:みの)?感想?|KONAMI|粉みかん))[\))]?
\?{,3}「.*?」
.*?、どうぞ
申(?:し訳ないが)?.*?は?[NN][GG]?
じゃないですかね[\.・]{2,}
@doi-t
doi-t / setting_default_value.bash
Last active April 2, 2023 11:35
シェル変数のデフォルト値を設定する
#!/bin/bash
foo=${1:-hoge}
echo $foo #$1がなかったらhogeをデフォルト値としてfooに代入する
#var自身にデフォルト値としてhogeを代入としたいので以下のように書きたい
${var:=hoge} #このままでは、hogeが展開されてしまって、hogeなんてコマンドはないとシェル怒られる
echo "1:$var"
var=
@noromanba
noromanba / crx-download.mkd
Last active November 27, 2023 03:46
download and locate Chrome Extension file 'crx'

Inspect crx location on Chrome Web Store

crx are src-file of Chrome Extension, those name like this;

novell-moonlight-3.99.0.3-i586.crx

find out *.crx URL and download

Bookmarklet

for Google Web Store