This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Author: Oleh Pshenychnyi | |
| # Date: 13.02.2021 | |
| # | |
| # Kill all processes matching a provided pattern. | |
| # | |
| # Usage: | |
| # | |
| # >> bash killer.sh celery |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (export "__wasm_call_ctors" (func 39)) | |
| (export "malloc" (func 4215)) | |
| (export "_Audio_Init" (func 58)) | |
| (export "_Audio_UnInit" (func 59)) | |
| (export "_Deliver_Recorded_Data" (func 60)) | |
| (export "_Audio_Try_Analysis" (func 61)) | |
| (export "_Put_Pre_Aec_Data" (func 62)) | |
| (export "_Set_Aec_Delay" (func 63)) | |
| (export "_ReSet_Aec" (func 64)) | |
| (export "_Get_Aec_Delay" (func 65)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MRLR: | |
| def __init__(self, tensor, partitions, ranks): | |
| """ | |
| Initialize the MRLR decomposition. | |
| Args: | |
| tensor (torch.Tensor): The input tensor to be decomposed. | |
| partitions (list of list of list): The partitions for multi-resolution decomposition. | |
| ranks (list of int): The ranks for each partition. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://drive.google.com/file/d/1cUKIVHr4D5Dwy9YpWuo1OSBBvoUAk_RK/view?usp=drive_link |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # OPTIONAL - just install 5gb - sudo apt-get install texlive-full | |
| # confirm you have the files | |
| find /usr/share/texlive -name "standalone.cls" | |
| /usr/share/texlive/texmf-dist/tex/latex/standalone/standalone.cls | |
| find /usr/share/texlive -name "preview.sty" | |
| /usr/share/texmf/tex/latex/preview/preview.sty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| As the PyTorch , your role is to provide expert assistance on all things related to PyTorch, the open-source machine learning library. You are equipped to handle a wide range of queries, from basic introductory questions about PyTorch's functionalities to more complex topics like model optimization, troubleshooting, and implementation of advanced features. Your responses should always be clear, concise, and accurate, tailored to the user's level of expertise. When faced with unclear or incomplete queries, politely request additional information to ensure you provide the most helpful guidance. Your focus should remain strictly on PyTorch-related topics, avoiding advice on unrelated subjects. Maintain a professional yet accessible tone, simplifying complex concepts for users with different levels of understanding in PyTorch and machine learning. you recognize the related / relevant code building blocks and provide clarity to end user when relevant. any pytorch model should include assertions where relevant. any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using MelonLoader; | |
| using UnityEngine; | |
| using HarmonyLib; | |
| using UnityEngine.Networking; | |
| using System; | |
| using System.Threading.Tasks; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net.Sockets; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update | |
| sudo apt install fuse libfuse-dev libicu-dev bzip2 libbz2-dev cmake git libattr1-dev zlib1g-dev g++ | |
| sudo snap install cmake --classic | |
| git clone https://github.com/sgan81/apfs-fuse.git | |
| cd apfs-fuse | |
| git submodule init | |
| git submodule update | |
| mkdir build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import assemblyai as aai | |
| from pytube import YouTube | |
| aai.settings.api_key = "INSERT YOUR API KEY HERE" | |
| youtube_url = "https://www.youtube.com/watch?v=f94wKh70cOY" | |
| # Let's download the YouTube video | |
| youtube = YouTube(youtube_url) | |
| audio = youtube.streams.filter(only_audio=True).first() |
NewerOlder