Skip to content

Instantly share code, notes, and snippets.

View filename24's full-sized avatar
🎯
Focusing

__filename filename24

🎯
Focusing
View GitHub Profile
@ItsWendell
ItsWendell / action.yaml
Last active November 19, 2023 17:23
Turbo Summarize Github Actions Action
name: "Summarize Turborepo Output"
description: "Summarize Turborepo output for GitHub Actions"
runs:
using: "composite"
steps:
- shell: bash
name: "Summarize Turborepo Output"
run: |
latest_json=$(ls -t .turbo/runs/*.json | head -1)
@belgattitude
belgattitude / ci-yarn-install.md
Last active July 22, 2024 09:27
Composite github action to improve CI time with yarn 3+ / node-modules linker.
@sujang958
sujang958 / nutk.js
Created May 5, 2021 15:06
number unit to korean
function num_to_kor(num) {
let bNum = BigInt(num);
let str = bNum.toString().replace('n', '');
let strArr = str.split('');
let resultArr = [];
let unitWords = {
'여백의미': null,
'': 3,
천: 3,
만: 4,
@rxlama7
rxlama7 / DiscordEmojiInfo.js
Last active May 4, 2021 01:50
Discord emoji information generator
var findModule = (item) => Object.values(webpackJsonp.push([[],{['']:(_,e,r)=>{e.cache=r.c}}, [['']]]).cache).find(m=>m.exports&&m.exports.default&&m.exports.default[item]!==void 0).exports.default;
findModule('sendMessage').sendMessage = (sendMessage => async(id, message, ...params) => {
if (message['content'].startsWith("getinfo <:") || message['content'].startsWith("getinfo <a:")) {
let arr = []
message.validNonShortcutEmojis.forEach(emoji => {
var emojiuse = message['content'].replace('getinfo ', '')
arr.push(` ${emojiuse}\n`)
arr.push(`Emoji \`${emoji.name}\` (${emoji.id})\n`)
arr.push(`Emoji Animated \`${emoji.animated}\` \n`)
arr.push(`Emoji Available \`${emoji.available}\` \n`)
@yunho0130
yunho0130 / guide.md
Created February 23, 2021 13:13 — forked from rishubil/guide.md
SCE-TTS: 내 목소리로 TTS 만들기

📗 문서 주소가 https://sce-tts.github.io/ 으로 변경되었습니다.

SCE-TTS와 관련한 최신 정보는 위 주소를 참고해주세요!

아래의 내용은 이전 문서 내용입니다.


SCE-TTS: 내 목소리로 TTS 만들기

유용한 Visual Studio Code 단축키 목록

현재 입력 중인 라인 전체 제거

  • Ctrl + shift + K

현재 입력 중인 라인 모두 선택

  • Ctrl + L

터미널 토글 (열고 닫기)

  • Ctrl + `
@No-Eul
No-Eul / DisablePingOnReply.js
Last active July 23, 2024 06:25
Set to disable reply ping to default
(this.disablePingToDefault = () => {
this.disablePingToDefault.interval = setInterval(() => {
if (this.disablePingToDefault.currentUrl !== location.href) { // Cached url is not equal to 'location.href', do the following:
if (this.disablePingToDefault.observer !== undefined) // If an observer which created at previous is exist,
this.disablePingToDefault.observer.disconnect(); // disconnect it.
else { // If it wasn't,
// Create new instance to detect insertion of the reply box.
this.disablePingToDefault.observer = new MutationObserver(() => {
let pingButton = document.querySelector('div[class*="mentionButton"]'); // Get ping switch in reply box.
if (pingButton !== null) pingButton.click(); // Click if it's not null. Then reply ping will be disable.
a=0
b=0
c=0
d=0
e=0
f=0
t=0
@osipxd
osipxd / !paper-versions.md
Last active July 21, 2024 10:09
Paper versions links
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active June 20, 2024 12:30
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.