Skip to content

Instantly share code, notes, and snippets.

View Endermanbugzjfc's full-sized avatar
🍃
Powered in hybrid by dihydrogen monoxide and epigallocatechin gallate.

危機紀元之子 Endermanbugzjfc

🍃
Powered in hybrid by dihydrogen monoxide and epigallocatechin gallate.
  • MiraHQ
  • Republic of Arstotzka
  • 00:15 (UTC +08:00)
View GitHub Profile
@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
@Endermanbugzjfc
Endermanbugzjfc / HotbarShortcuts.ahk
Created June 26, 2020 16:25 — forked from TwistedAsylumMC/HotbarShortcuts.ahk
This script allows Windows 10 users to use the 1-9 keys in their inventories to act as shortcuts to easily move items in and out of their hotbar slots.
; Hotbar Shortcuts for Minecraft Bedrock Edition by TwistedAsylumMC
; This script allows Windows 10 users to use the 1-9 keys in their inventories
; to act as shortcuts to easily move items in and out of their hotbar slots.
; How to use this script:
; 1. Download AutoHotKey (If you haven't already) from https://www.autohotkey.com/download/
; 2. Save this file to your device and double click it to start the script
; 3. Load up your Minecraft client and go inside of a world
; 4. Inside your inventory, you can use the 1-9 keys to swap items around