Skip to content

Instantly share code, notes, and snippets.

View Lydxn's full-sized avatar
🏠
Working from home

Lydxn Lydxn

🏠
Working from home
  • University of British Columbia
  • The Milky Way
View GitHub Profile
@youz
youz / fizzbuzz_golf.lisp
Last active January 29, 2022 01:13
FizzBuzz Golf in Common Lisp
;;; http://golf.shinh.org/p.rb?FizzBuzz#Common%20LISP
;; 80bytes
(dotimes(i 101)(format(> i 0)"~[~;~A~;~;Fizz~;~;Buzz~:;FizzBuzz~]
"(gcd i 15)i))
;; 79bytes
(dotimes'101(format(> .'0)"~[~;~A~;~;Fizz~;~;Buzz~:;FizzBuzz~]
"(gcd .'15).'t))
@EvieePy
EvieePy / music.py
Last active April 3, 2025 19:21
Basic music with playlist support on Rewrite
"""
Please understand Music bots are complex, and that even this basic example can be daunting to a beginner.
For this reason it's highly advised you familiarize yourself with discord.py, python and asyncio, BEFORE
you attempt to write a music bot.
This example makes use of: Python 3.6
For a more basic voice example please read:
https://github.com/Rapptz/discord.py/blob/rewrite/examples/basic_voice.py