Skip to content

Instantly share code, notes, and snippets.

@kimhongsu
kimhongsu / changeFilename.js
Created April 10, 2019 15:00
현태림이 보내준 파일 이름 바꾸기
// v2
// 파일명 바꾸기
const fs = require('fs');
const path = require('path');
const moment = require('moment');
const dir = 'C:\\Users\\kimhongsu\\Downloads\\test';
const files = fs.readdirSync(dir);
files
@kimhongsu
kimhongsu / patch.sh
Created June 7, 2022 08:13 — forked from rufoa/patch.sh
sublime merge 2 build 2068 linux
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
target="${1:-/opt/sublime_merge/sublime_merge}"
check_sha() {
local sha_valid