Skip to content

Instantly share code, notes, and snippets.

View Endermanbugzjfc's full-sized avatar
👁️
An idiot admires complexity, a genius admires simplicity. —— Terry Davis

危機紀元之子 Endermanbugzjfc

👁️
An idiot admires complexity, a genius admires simplicity. —— Terry Davis
View GitHub Profile
@Endermanbugzjfc
Endermanbugzjfc / figyua.css
Last active June 12, 2024 19:01
A CSS snippet for Obsidian.md
/*
* フィギュア F I G Y U A 手辦
* Unlicense | https://gist.github.com/Endermanbugzjfc/f75e8d271057877403725f60700a6a2a
*
* ATTENTION:
* A person helped me fix that image cannot be scaled but was reluctant
* to merit a credit. Please remember this king of CSS for life.
*/
.cm-editor::after, .markdown-preview-view::after, .canvas-wrapper::after {
@Endermanbugzjfc
Endermanbugzjfc / playground.rs
Created February 27, 2024 01:47 — forked from rust-play/playground.rs
Code shared from the Rust Playground
fn mock<T: Into<String>, I: IntoIterator<Item = T>>(_: I) {}
struct Merchant<'a> {
name: &'a str,
billing_portal: &'a str,
billing_period: &'a str,
stripe_id: Option<&'a str>,
}
fn merchant() -> Merchant { unimplemented!(); }
@Endermanbugzjfc
Endermanbugzjfc / confusion.sql
Last active September 11, 2023 10:04
Hint: some general programming ideas are applied on here. Ask yourself: why is the * 2 + used on booleans instead of numbers.
SELECT * FROM Customers
WHERE uuid = "weqsc" OR wtfid = "weqsc"
ORDER BY (uuid IS NOT NULL) * 2 + (wtfid IS NOT NULL) DESC

Keybase proof

I hereby claim:

  • I am endermanbugzjfc on github.
  • I am endermanbugzjfc (https://keybase.io/endermanbugzjfc) on keybase.
  • I have a public key ASAj0td0MLMY2uQspE0mjc3_spUt8ydo3_4uadjwWspBTgo

To claim this, I am signing this object:

@Endermanbugzjfc
Endermanbugzjfc / i.sh
Last active February 23, 2023 11:34
Ubuntu Essentials (Personal Installation Script). Migrated from https://pastebin.com/fAq9TLCD
if [ -z "${GOBIN}" ]
then
echo GOBIN not set!
exit 1
fi
if [ ! -d "${GOBIN}" ]
then
echo "GOBIN's directory does not exists!"
exit 1
fi
@Endermanbugzjfc
Endermanbugzjfc / Makefile
Last active July 17, 2022 16:11
PSR-4 to PSR-0 conversion GitHub workflow. Src-namespace-prefix replacement with virions support.
SRC_NAMESPACE_PREFIX = keopiwauyu/ExamplePlugin
dev/src: src Makefile
$(eval PARENT := dev/src/$(shell dirname $(SRC_NAMESPACE_PREFIX)))
rm -rf "dev/src"
mkdir -p $(PARENT)
cp -r src $(PARENT)
mv $(PARENT)/src dev/src/$(SRC_NAMESPACE_PREFIX)
@Endermanbugzjfc
Endermanbugzjfc / rop;gjpre[agreq'kgaf.md
Last active March 9, 2022 10:25 — forked from PEMapModder/Farewell.md
也把反駁稱奧德賽不習慣度吧大神的話附近的薩阿富多少空間企鵝我不反對啊的房價跌幅擴大把發揮

Farewell

A few days ago I tweeted and profile-posted this message:

靜雞雞咁我走啦,好似我靜雞雞咁嚟,fing 一 fing 件衫,唔拎走一舊雲。 嗰棵榆樹下面潭水,唔係泉水而係彩虹,喺藻葉之間搓碎,將彩虹咁既夢整沉左

Yes, I am serious about this message. I am leaving (very soon).

@Endermanbugzjfc
Endermanbugzjfc / ouo.php
Last active October 14, 2023 08:13
Random stuff
<?php
const DELAY_MS = 0;
const EMOTICONS = [
"ouo",
"owo",
"awa",
"pwp",
"qwq",
"ovo",
"oao",
@Endermanbugzjfc
Endermanbugzjfc / ThonkerDesktop.txt
Created January 16, 2021 10:43
An ascii thonk
################
# @@@ #
# @ @@@ #
# @ #
#@@@ #### #
#@@@@@@@@ #
#@@@@@@ #
################
@Endermanbugzjfc
Endermanbugzjfc / profanity_filter.wlist
Last active September 4, 2022 08:37
[NSFW] MCBE Profanity Filter (1.16.0.67, for anyone that is confused by Dylan)
1488
8=D
A55hole
abortion
ahole
AIDS
AIDs
ainujin
ainuzin
akimekura