Skip to content

Instantly share code, notes, and snippets.

@kyoda
kyoda / hanko.sh
Created August 18, 2017 02:25
hanko
#!/bin/bash
# 電子印鑑ふう
convert -background none \
-font '/Library/Fonts/ヒラギノ丸ゴ ProN W4.ttc' \
-size 50x50 -fill red label:"○ " \
-size 50x50 -fill red label:"許\n田" \
+smush -30 hanko.png
@kyoda
kyoda / check_md5.sh
Last active October 27, 2017 05:36
Check Certification
#!/bin/bash
password=''
which gsed >/dev/null 2>&1
if [ $? -eq 0 ]; then
_SED='gsed'
else
_SED='sed'
fi
@kyoda
kyoda / text_align.md
Last active March 16, 2018 02:17
text align

右によせます

@kyoda
kyoda / check_share_files.js
Last active June 29, 2021 07:02
check_share_files
function main() {
Logger.log("Start...");
let fileList = [];
let folderKeyList = [];
const LOOP_MAX = 3000;
let foldercount = 0;
// Get top level Share Drive keys
let teamDrives = Drive.Teamdrives.list().items;