This file contains 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
diff -Nurb -i --strip-trailing-cr -Nur a/shogi-server/bin/run.sample b/shogi-server/bin/run.sample | |
--- a/shogi-server/bin/run.sample 1970-01-01 09:00:00.000000000 +0900 | |
+++ b/shogi-server/bin/run.sample 2017-07-06 11:34:36.893489555 +0900 | |
@@ -0,0 +1,45 @@ | |
+#!/bin/bash | |
+# nohup sh ./run test01 0 3 test01 > /dev/null 2>&1 & | |
+ | |
+if [ $# -ne 4 ]; then | |
+ echo 'param error' | |
+ echo '{this script} game-tag lifetime countdown username' |
This file contains 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
diff --git a/source/Makefile b/source/Makefile | |
index 82f12fc..60ff9bf 100644 | |
--- a/source/Makefile | |
+++ b/source/Makefile | |
@@ -97,6 +97,7 @@ SOURCES = shogi.cpp \ | |
usi.cpp \ | |
thread.cpp \ | |
tt.cpp \ | |
+ progress.cpp \ | |
extra/book/apery_book.cpp \ |
This file contains 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
diff --git a/autoload/twitvim.vim b/autoload/twitvim.vim | |
index 90b4a85..096d0eb 100644 | |
--- a/autoload/twitvim.vim | |
+++ b/autoload/twitvim.vim | |
@@ -2479,7 +2479,7 @@ function! s:launch_browser(url) | |
" an existing browser window. | |
" Firefox appears to output to stderr as well, so the '2&>1' redirect is | |
" needed. | |
- let endcmd = has('unix') ? '> /dev/null 2&>1 &' : '' | |
+ let endcmd = '' |
This file contains 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
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"os" |
This file contains 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
diff --git a/hls/ngx_rtmp_hls_module.c b/hls/ngx_rtmp_hls_module.c | |
index d41daaa..8c1a834 100644 | |
--- a/hls/ngx_rtmp_hls_module.c | |
+++ b/hls/ngx_rtmp_hls_module.c | |
@@ -2322,7 +2322,7 @@ ngx_rtmp_hls_cleanup_dir(ngx_str_t *ppath, ngx_msec_t playlen) | |
name.data[name.len - 2] == 't' && | |
name.data[name.len - 1] == 's') | |
{ | |
- max_age = playlen / 500; | |
+ max_age = playlen / 100; |
This file contains 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
// ** きたないコード ** | |
// video(0) とか IPカメラとか mjpeg とか、opencv のvideo入力ソースから読んで、fb にマンガカメラ風の映像を垂れ流すやつ。 | |
// ついでなので、日時とか biff とかを書いていた。 | |
// Cortex-A8 800MHzに LCD-8000U を繋いで動作。 | |
// g++ gomi.cc -o cam `pkg-config --cflags opencv` `pkg-config --libs opencv` | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <linux/fb.h> |
This file contains 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
// 捨てコード。 | |
// 某手書きタブレットが吐く筆跡のベクター情報の入った json ファイルを svg にして、筆跡を辿って細々と連番画像ファイル化 | |
// 吐かれた画像を ffmpeg コマンドで乱暴に動画化する | |
#include <stdbool.h> | |
#include <unistd.h> | |
#include <getopt.h> | |
#include <string.h> | |
#include <limits.h> | |
#include <dirent.h> | |
#include <sys/stat.h> |
This file contains 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
cmake_minimum_required(VERSION 2.8) | |
set(CMAKE_CXX_COMPILER "clang++") | |
add_definitions("-std=c++14 -fno-exceptions -fno-rtti -Wextra -Ofast -MMD -MP") | |
add_definitions("-Wno-unused-parameter") | |
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-s -v") | |
if(NOT DEFINED target) | |
set(target "avx2") | |
endif() | |
if(target STREQUAL avx2) |
This file contains 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
cmake_minimum_required(VERSION 2.8) | |
add_definitions("-DYANEURAOU_2017_EARLY_ENGINE") | |
# add_definitions("-DHELP_MATE_ENGINE") | |
# add_definitions("-DMATE_ENGINE") | |
set(CMAKE_CXX_COMPILER "clang++") | |
add_definitions("-std=c++14 -fno-exceptions -fno-rtti -Wextra -Ofast -MMD -MP -fpermissive") | |
add_definitions("-stdlib=libstdc++ -Wno-unused-parameter") | |
add_definitions("-D_LINUX -DUNICODE -DNO_EXCEPTIONS") |
This file contains 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
diff --git a/yomita/yomita/src/CMakeLists.txt b/yomita/yomita/src/CMakeLists.txt | |
index dcabe64..5be634a 100644 | |
--- a/yomita/yomita/src/CMakeLists.txt | |
+++ b/yomita/yomita/src/CMakeLists.txt | |
@@ -8,11 +8,11 @@ if(NOT DEFINED target) | |
set(target "avx2") | |
endif() | |
if(target STREQUAL avx2) | |
- add_definitions("-DNDEBUG -DHAVE_BMI2 -DHAVE_SSE4 -mbmi2 -mavx2 -march=corei7-avx") | |
+ add_definitions("-DNDEBUG -DHAVE_BMI2 -DHAVE_SSE4 -mbmi2 -mavx2 -march=corei7-avx -fno-threadsafe-statics") |
OlderNewer