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
| --------------------------------------------------------------------------------------------------- | |
| -- Zip Combine and Repacker Doroplet | |
| -- 2018/08/09 takumi | |
| --------------------------------------------------------------------------------------------------- | |
| ■ 概要 | |
| 複数のZIPファイルをフォルダ階層なしで | |
| 展開・結合し、ファイルのみをZIPに再圧縮します。 | |
| ■ 環境 | |
| ・ 7za.exe (7zipのCUI版) ※CPUに合わせて自分で調達してください |
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
| // ==UserScript== | |
| // @name nocomment niconico. | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author takumi | |
| // @match http://www.nicovideo.jp/watch/* | |
| // @grant none | |
| // ==/UserScript== |
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
| [Unit] | |
| Description=grive sync service | |
| After=network.target | |
| [Service] | |
| User=grive | |
| Group=grive | |
| Type=simple | |
| ExecStart=~/grive.sh "samle" | |
| KillMode=control-group |
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
| @SETLOCAL | |
| @SET _7ZIP_HOME=C:\Program Files\7-Zip | |
| @REM ---------------------------------------------------------------------------------------------- | |
| @REM param init | |
| @REM ---------------------------------------------------------------------------------------------- | |
| @SET IN_FILE=%~1 | |
| @SET OUT_FILE=%~dpn1.exe | |
| @REM ---------------------------------------------------------------------------------------------- |
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
| [Unit] | |
| Description=grive sync service | |
| After=network.target | |
| [Service] | |
| User=grive | |
| Group=grive | |
| Type=simple | |
| ExecStart=~/grive.sh | |
| KillMode=control-group |
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
| count, if total is 24 at all line in permutation. |
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
| /** | |
| * entry point. | |
| */ | |
| function main() { | |
| /* src dir id. */ | |
| var srcFolderId = '*****'; | |
| /* tgt dir id. */ | |
| var tgtFolderId = '*****'; | |
| var srcFolder = DriveApp.getFolderById(srcFolderId); |
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
| @SETLOCAL | |
| @GOTO :sub_main | |
| @REM ---------------------------------------------------------------------------------------------- | |
| @REM -- sub_list | |
| @REM -- arg[1] : dir path | |
| @REM ---------------------------------------------------------------------------------------------- | |
| :sub_list | |
| @SET BASE_DIR=%~1 |
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
| #!/bin/sh | |
| #------------------ | |
| # arguments | |
| #------------------ | |
| BASE_DIR="$1" | |
| REC_SEC="$2" | |
| REC_TYPE="$3" |
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
| [Unit] | |
| Description=Icecast2 service | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/icecast -c /etc/icecast.xml | |
| ExecReload=/bin/kill -HUP $MAINPID | |
| User=icecast | |
| Group=icecast |