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 |
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 FFMPEG_HOME=C:\ffmpeg-20151130-git-7b11eea-win64-static\bin | |
@SET PATH=%FFMPEG_HOME%;%PATH% | |
@REM ---------------------------------------------------------------------------------------------- | |
@REM settings | |
@REM ---------------------------------------------------------------------------------------------- | |
@REM [input rtmp url] | |
@SET RTMP_URL=rtmp://****/****/**** |
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 VLC_HOME=C:\Program Files (x86)\VideoLAN\VLC | |
@SET PATH=%VLC_HOME%;%PATH% | |
@REM ---------------------------------------------------------------------------------------------- | |
@REM settings | |
@REM ---------------------------------------------------------------------------------------------- | |
@REM [input rtmp url] | |
@SET RTMP_URL=rtmp://****/****/**** |