Skip to content

Instantly share code, notes, and snippets.

View naari3's full-sized avatar
🏁

naari3

🏁
View GitHub Profile
@naari3
naari3 / detailed.mermaid
Last active January 5, 2024 05:49
エンダードラゴンのステート遷移図
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naari3
naari3 / list.txt
Created September 3, 2022 10:13
2022/09/03現在に使われている音○○○の一覧
音(44)
音(オォン)MAD
音(笑う
音19
音3-4
音3JI
音6
音720P
音8
音810
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naari3
naari3 / userscript.sh
Created February 17, 2020 14:54
mc-cheap
#!/bin/bash -xe
#
# See: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html
#
# Make sure both volumes have been created AND attached to this instance !
#
# We do not need a loop counter in the "until" statements below because
# there is a 5 minute limit on the CreationPolicy for this EC2 instance already.
EC2_INSTANCE_ID=$(curl -s http://instance-data/latest/meta-data/instance-id)
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C745E5166573_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C73D9882A7E7_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C598DF06AF0B_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C7330B5C93D7_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C373B71CDD27_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C37305D3E1F7_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0C31D7BCEC3D7_001
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0BE2B304B7C09_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0BA0725F81949_000
http://ugomemo.hatena.ne.jp/09B9E9D04CDB635F@DSi/movie/DB635F_0964E9D58BF6B_000
@naari3
naari3 / quine.rb
Created January 1, 2019 14:57
賀正 迎春
eval$s=%w'
proc{|n|
b="eJx9V
LFtXDEMpfI NKJ02
OA2QITRImgyQAVw Eltz4yoyQUazARcqMY
B0u/fHgIgqsiCZFyTjEQ NTc g0g9PpLv39X7j/bzh3c7Ax
gAPfDJZAoJgG4TW QHFJxox CPMGrhNx5gbwCXaAFMYdNN+M5FtyR
fLSPYXML8l0o tvIlK7 ReU9czlf 6/sggxUKGGE
A1ZJqA7NA gqQLIo3 CJkEYNpoI uv4mL4yYhVpS
dJBOL3ClQuTU Aydk4ngYy 4yUfq62Sdvr2dDNB9RNkeh
@naari3
naari3 / 00_timeline.md
Created September 2, 2018 12:21 — forked from south37/00_timeline.md
ISUCON Cheat Sheet
@naari3
naari3 / scArtworkDownload.js
Last active May 18, 2018 01:33
soundcloud artwork download bookmarklet
https://codepen.io/naari3/pen/gzQKrw
@naari3
naari3 / customer_serializer.rb
Last active April 6, 2018 04:46 — forked from brycesenz/customer_serializer.rb
Rspec tests & helpers for ActiveModel::Serializers
# app/serializers/customer_serializer_spec.rb
class CustomerSerializer < ActiveModel::Serializer
attributes :customer_number, :email, :username
def customer_number
object.account_number
end
def merchant_id
element.style {
background-position: 0px 0px, 10px 10px;
background-size: 20px 20px;
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%),linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
}