Skip to content

Instantly share code, notes, and snippets.

@bytexenon
bytexenon / Make Discord Server With a Tag.md
Last active May 20, 2025 13:53
Make Discord Server With a Tag

Automation Script for Getting Discord Server with a Tag

Caution

TAGS HALTED FOR NEW SERVERS & ACCOUNTS BANNED


Due to widespread abuse of automation scripts, Discord has:

  1. STOPPED granting the experimental server tags for newly created servers.
  2. Started ACTIVELY BANNING accounts (temporarily and permanently) that used such scripts.
@o11c
o11c / every-vm-tutorial-you-ever-studied-is-wrong.md
Last active May 18, 2025 22:01
Every VM tutorial you ever studied is wrong (and other compiler/interpreter-related knowledge)

Note: this was originally several Reddit posts, chained and linked. But now that Reddit is dying I've finally moved them out. Sorry about the mess.


URL: https://www.reddit.com/r/ProgrammingLanguages/comments/up206c/stack_machines_for_compilers/i8ikupw/ Summary: stack-based vs register-based in general.

There are a wide variety of machines that can be described as "stack-based" or "register-based", but not all of them are practical. And there are a lot of other decisions that affect that practicality (do variables have names or only address/indexes? fixed-width or variable-width instructions? are you interpreting the bytecode (and if so, are you using machine stack frames?) or turning it into machine code? how many registers are there, and how many are special? how do you represent multiple types of variable? how many scopes are there(various kinds of global, local, member, ...)? how much effort/complexity can you afford to put into your machine? etc.)

  • a pure stack VM can only access the top elemen
@sven-wachsmuth
sven-wachsmuth / floating-moment.rb
Last active February 13, 2025 00:07
Sonic Pi - Soundscape for relaxing
# floating-moment.rb
# ambient soundscape for relaxing and meditation
# Created by Sven Wachsmuth
# https://gist.github.com/sven-wachsmuth/0cc06cc0d698d8932ceb142dcf5231ba
use_bpm 60
laenge_in_takten = 229 # length of the track in beats - 300 means relax 5 minutes :-)
# possible notes out of a sounds-well-scale
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 21, 2025 15:12
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@Techcable
Techcable / LICENSE
Last active May 15, 2025 13:33
All rights reserved License
All Rights Reserved
Copyright (c) ${project.inceptionYear} ${owner}
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN