Skip to content

Instantly share code, notes, and snippets.

View craftingmod's full-sized avatar
💭
🤔

Bellevue craftingmod

💭
🤔
  • South Korea
  • 17:36 (UTC +09:00)
View GitHub Profile
@craftingmod
craftingmod / mabinogi_palettes.json
Created May 13, 2025 15:25
마비노기 팔레트 색상
[
{
"hex_code": "#AC487E",
"rgb": [172, 72, 126],
"description_ko": "진달래"
},
{
"hex_code": "#8F5165",
"rgb": [143, 81, 101],
"description_ko": "개암핑크"
/**
* querySelector
* @param {string} query
* @returns {HTMLElement} value of querySelector
*/
const q = (query) => document.querySelector(query)
/**
* DOM 요소 숨기기
* @param {Element | null} element 요소
@craftingmod
craftingmod / mc120_font_conv.mjs
Created June 8, 2023 22:56
마인크래프트 1.20 폰트 리소스팩 변환기 (1.16 이하 버전)
/* 변환하기 귀찮아서 만든 대충 변환하는 유틸 */
/* 라이센스: The Unlicense */
/* Node.js로 실행해주세요 */
import fs from "node:fs/promises"
const bitmapPath = "./assets/minecraft/textures/font/"
const includePath = "./assets/minecraft/font/include"
const bitmapPrefix = "unicode_page_"
@craftingmod
craftingmod / normsvtube.txt
Created March 7, 2023 09:47
No rms vtube
bbs.ruliweb.com###main_top_game_news2 > .widget_page_index_1
using System;
using System.IO;
using System.Linq;
namespace Java_practice_exporter
{
class Program
{
static void Main(string[] args)
{
@craftingmod
craftingmod / hid-scanner.ts
Created September 10, 2019 07:10
USB Hid scanner - failed reading space
import { cLog } from "chocolog"
import encoding from "encoding"
import { EventEmitter } from "events"
import { HID } from "node-hid"
export class HidScanner extends EventEmitter {
private hid:HID
private startTime:number = 0
private lastTime:number = 0
private lastAltTime:number = 0
@craftingmod
craftingmod / recover.js
Created March 7, 2019 09:36
Force disable all substratum theme if unrooted and bootloop (Launch via node.js)
const { spawn } = require('child_process')
function pipe(cp) {
cp.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
cp.stderr.on('data', (data) => {
console.log(`stderr: ${data}`);
});
cp.on('close', (code) => {
@craftingmod
craftingmod / oldway_list.json
Created March 5, 2019 09:00
대한민국의 모든 읍/면/동/리
{
"서울특별시": {
"강남구": {
"개포동": null,
"논현동": null,
"대치동": null,
"도곡동": null,
"삼성동": null,
"세곡동": null,
"수서동": null,
@craftingmod
craftingmod / rename.js
Created January 19, 2019 16:31
간단한 파일이름 변경
// import fs from "fs-extra"
const fs = require("fs-extra")
const dir = __dirname + "/sounds/"
async function run() {
const list = await fs.readdir(dir)
const mapper = new Map()
list.sort()
for (const file of list) {
if (file.startsWith("Normal_Female_Emotion") || file.startsWith("Normal_Male_Emotion")) {
@craftingmod
craftingmod / nordvpnServer.js
Created December 5, 2018 10:29
NordVPN Server nearest from cords finder (Nodejs)
const fs = require("fs-extra")
const request = require("request-promise-native")
const latitude = 47.6503649
const longtitude = -122.3754345
async function run() {
// const nordvpnAPI = await fs.readJSON("~\\Documents\\server.json")
console.log("Downloading...")