Skip to content

Instantly share code, notes, and snippets.

View SheepCommander's full-sized avatar
🐑
Sheepy

SheepCommander SheepCommander

🐑
Sheepy
View GitHub Profile
@SheepCommander
SheepCommander / skiing.md
Last active January 27, 2021 07:06
Some notes for when I go skiing

My gear

Outside Layer (Third layer)

  • Helmet with face mask and goggles
  • Face Mask cause covid
  • Waterproof Snow jacket
  • Waterproof Snow pants with bib

Second Layer

  • Lightweight rain jacket
  • Water pack
  • Comftorable casual pants
@SheepCommander
SheepCommander / Raycasting 1.6.4 [Bedrock Edition] [Most efficient] [Very accurate].md
Last active January 5, 2021 01:32
NEW RAYCASTING 1.6.4 BEDROCK EDITION EFFIECIENT MOIST VEY ACURTE

Raycasting 1.6.4 [Bedrock Edition] [Most efficient] [Very accurate] Looping:

# Summons raycast entity when an entity holds the correct item, dirt named 'raycast pp 69 420'
execute if entity @e run execute as @e run execute at @e run execute if entity @s[distance=..1] run execute if entity @s[nbt={SelectedItem:{id:"minecraft:dirt",count:42b,tag:{display:{Name:'{"text":"raycast pp 69 420"}'}}} run summon armor_stand ~ ~ ~ {CustomName:'{"text":"Raycast"}',Invisible:1b,NoGravity:1b}

Raycast:

# Detects if there's a block here and kills itself if there's not
execute if entity @e run execute as @e run execute at @e run execute if entity @s[distance=..1] run execute if entity @s[type=armor_stand] run execute if entity @s[name=Raycast] run execute if block ~ ~ ~ minecraft:air run kill @s
@SheepCommander
SheepCommander / Right Click Detection 1.8.9 [Most efficient].md
Last active March 18, 2021 21:25
Most efficient way to detect right click

Right Click Detection 1.8.9 [Most efficient] Looping:

# Summons
execute if entity @e run execute as @e run execute at @e run execute as @a run execute at @s run execute anchored eyes run execute positioned ^ ^ ^ run summon minecart ^ ^ ^ {NoGravity:1b,Glowing:0b,Invulnerable:0b,CustomNameVisible:0b,CustomDisplayTile:1b,DisplayOffset:0,Motion:[0.0,0.0,0.0],Rotation:[0.0F,0.0F],Tags:["UltimateOmegaEfficientRightClickDetector"],CustomName:'{"text":"Ultimate omega efficient right click detector","font":"minecraft:default","color":"dark_purple","bold":true,"italic":true,"underlined":true,"strikethrough":true,"obfuscated":true}',DisplayState:{Name:"minecraft:air"}}
# Detects
execute if entity @e run execute as @e run execute at @e run execute as @e[type=minecart] run execute at @s run execute if entity @s run execute run execute if entity @a as @a at @a run execute as @s[nbt={rootVehicle:{id:"minecraft:minecart",tag:{NoGravity:1b,Glowing:0b,Invulnerable:0b,CustomNameVisible:0b,CustomDisplayTile:1b,Dis

--= LGBTQIA+ Explained and More =--

LGBTQIA+ is a group that focuses on the equal treatment of people of different sexual orientation and gender identity that's not the norm.

Both topics are controversial for their own reasons, but I think gender identity is more controversial than sexual orientation so I'll start on that.

LGBTQIA+ acronym

  • Lesbian: Homosexual female
  • Gay: Homosexual male or female
  • Bisexual: Sexually orientated on both genders
  • Transgender: Already explained

Glowsquid Voting Reasons

Voting for Glowsquid hoping that it might add entity light sources was disproven by both devs ||(A dev saying they want version parody and mobile couldn't handle that as well as a dev talking on a YT stream)|| and logic ||(They'd be too lazy to re-do the entire lighting engine just for a single squid, and in MC Earth where it came from it literally is just a retextured squid that doesn't emmit light)||

Another reason was hoping it might add something useful, but that could be said about any of the other contestants and had no logical founding.

The only reason you should've voted for it was if you genuinely liked how it looks, which was definitely a minority (Most people voted under either false believes or because they're a dream stan)

Glowsquid End Result

Glow Ink Sacks are still affected by light levels lmao. Anyways making signs glow and glowing item frames could've been added by themselves with glowstone or shroomlight being used instead.

Weird over analysis on the unofficially dubbed 'Rick Paradox'

The statement is that Rick cannot give you up, but he can't let you down, so if he doesn't give you Up (the movie) he'll let you down but then

However, since we're taking each lyric as a fact, although rick says "Never gonna tell a lie" he also adds "and hurt you" taken literally this means that he cannot tell a lie and hurt you, but he can do each separately.

An further paradox is that he could be lying about the "Never gonna tell a lie and hurt you" meaning that he could be lying about "Never gonna give you up" or "Never gonna let you down".

Also, if we assume that he isn't lying about "Never gonna tell a lie and hurt you" the paradox still won't hold since even if you get hurt from him giving you up/letting you down he won't be hurting you directly

Hopes for the Rewrite of Carl-Bot

Features

  • AutoDeleter (A Dyno feature that allows you to delete messages in a channel with whitelist or blacklist filters, as well as setting the delay before deleting a message)
  • AutoMod setting for minimum character count in message
  • Zalgo to normal text for nicknames
  • Anti-zalgo automod option
  • Some way if blacklisted words could also detect when someone's using zalgo/unicode to bypass
  • Anti-duplicated text that allows you to set the minimum ammount of characters to detect for repition and how much it can repeat before it gets deleted
  • A slowmode command that changes the built-in slowmode rather than a custom slowmode

Quick summary of my stance on abortion

I think ideally abortion is not allowed with exceptions being rape, underaged, below the poverty line, or a confirmed stillborn/mother will die. Well I should specifically say that these should be excepted.

But at least there should be a time limit, I hear some states allow up until birth which is definitely straight up murder. According to this growth chart https://www.cdc.gov/dotw/fasd/images/chart_928px.jpg the brain starts developing at week three.

There have been studies on if the fetus will react to outside stimuli, such as music, so perhaps you shouldn't be allowed to abort if it's already able to react to such stimuli (with exceptions of course)

Also related is foster care/adoption

For some reason the right generally prefers foster care and foster care is almost always just plain bad and I have no ideas on how to fix it.

Definition of a vtuber

A virtual YouTuber is an online entertainer who uses a virtual avatar generated using computer graphics. A growing trend that originated in Japan in the mid-2010s, a majority of VTubers are Japanese-speaking YouTubers or live streamers who use anime-inspired avatar designs. - Wikipedia

A Virtual Youtuber (usually called as VTuber) is a Content Creator, usually on Youtube and Twitch that uses a virtual persona (e.g. a Virtual Avatar) as their main, but not exclusive, presence in their content. For example, Phia, from the Virtual Reality Show, was seen various times with a webcam on both her youtube channel and her twitch, whilst being widely regarded as a VTuber.

A VTuber does not necessarily need to play a character, although that is a common choice. The afformentioned Phia plays herself or, in other words, does not play a character. The same goes for me, JK. Some VTubers play a character with next to no description so that it's ambiguous enough for it to not be

Over the course of Discord history there have been various methods to crash discord, some that have been patched out include special unicode characters, a special image I couldn't get a hold of myself, and a special gif that used to crash IOS users.

NOT patched out are videos that abuse -going in with a RGBY color editor and changing to an invalid color -editing sound above the sound barrier -using (I believe) FFMPEG to stitch together videos of different resolutions together.

Now about the last one; chromium does not account for the possibility of a video changing resolution mid-way through, so the video player "throws up an error, shits itself, and takes down discord with it--in some cases even your operating system too" - paraphrased.