Skip to content

Instantly share code, notes, and snippets.

View RealCyGuy's full-sized avatar
:octocat:
Status.

Cyrus Yip RealCyGuy

:octocat:
Status.
View GitHub Profile
@RealCyGuy
RealCyGuy / combine.nu
Created June 16, 2024 18:15
merges m4a with mp4 file. made for use with radeon relive recordings
# merges m4a with mp4 file. made for use with radeon relive recordings
def main [video_name: path] {
let audio_name = $video_name | path parse | update extension m4a | path join
let video_name = $video_name | path parse | update extension mp4 | path join
let front = $video_name | path parse | update extension "" | path join
let output = $front + " merged.mp4" | path join
ffmpeg [-i $video_name -i $audio_name -c:v copy -filter_complex "[1:a] volume=2 [aud]; [0:a][aud] amix=inputs=2:duration=longest [audio_out]" -map 0:v -map "[audio_out]" $output]
}
@RealCyGuy
RealCyGuy / itch profile custom styles.css
Last active September 24, 2023 20:45
The custom CSS I use for my itch.io profile here: https://realcyguy.itch.io/
.user_page_wrap .text_header h1 {
font-size: 60px;
color: #eaaaff;
background: #eaaaff;
background: linear-gradient(90deg, #d862ff, #00a8ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.user_page_wrap .user_links {

Privacy Policy

Last updated and effective: 2024-02-25

What data do we store?

We prioritize your privacy and do not store any personally identifiable information. However, we may temporarily process the details of user interactions when using slash commands, text commands starting with specific prefixes, or during interactive commands.

Who do we share data with?

We understand the importance of data security and do not share any information with third parties.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM

@RealCyGuy
RealCyGuy / technical requirements rcm 7.py
Last active December 18, 2021 19:24
generate list of rcm 7 technical requirements to use for random picking
# list of techninal requirements for rcm 7
# good for random choice
#
# by cyrus yip
#
# syllabus used: https://files.rcmusic.com//sites/default/files/files/RCM-Piano-Syllabus-2015.pdf
major = "C, D, F, Ab, Gb".split(", ")
minor = "C, D, F, G#, F#".split(", ")
requirements = [
@RealCyGuy
RealCyGuy / !songs.md
Last active January 7, 2023 19:04
What I use to update my songs folder to youtube playlist.
@RealCyGuy
RealCyGuy / random sharex domain.sxcu
Last active September 28, 2021 04:23
Random domain for https://upload.systems/ for sharex uploading.
{
"Version": "13.1.0",
"Name": "upload.systems random domain - image",
"DestinationType": "ImageUploader",
"RequestMethod": "POST",
"RequestURL": "https://api.upload.systems/images/upload",
"Body": "MultipartFormData",
"Arguments": {
"key": "PUT YOUR OWN KEY!!!"
},
@RealCyGuy
RealCyGuy / settings.ini
Created April 5, 2021 22:30
stream companion settings file
FileSaveDirectory =
console = False
LogsRetentionDays = 14
LogLevel = 5
LastRunVersion = v210402.17
firstRun = False
MainOsuDirectory = C:\Users\cyrus\AppData\Local\osu!
OsuFallback = False
SongsFolderLocation = Songs
BackgroundImageProviderPlugin_EnableImageToken = False
token = "" # no read >:(
import discord
client = discord.Client()
@client.event
async def on_message(message):
if message.author == client.user:
return