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
#include <windows.h> | |
#include <stdio.h> | |
int | |
main(int argc, char* argv[]) { | |
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); | |
CHAR_INFO ci[3] = {}; | |
COORD buffer_size = { 3, 1 }; | |
COORD start_coord = { 0, 0 }; | |
SMALL_RECT sr = { 0, 0, 80, 25 }; |
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 ( | |
"fmt" | |
"os" | |
"runtime" | |
"strconv" | |
) | |
type node struct { |
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
#ifdef _WIN32 | |
# include <ws2tcpip.h> | |
# include <io.h> | |
#else | |
# include <sys/fcntl.h> | |
# include <sys/types.h> | |
# include <sys/socket.h> | |
# include <netinet/in.h> | |
# include <netdb.h> | |
# define closesocket(fd) close(fd) |
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 ( | |
"fmt" | |
"strconv" | |
"github.com/mitchellh/go-z3" | |
) | |
func main() { |
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 ( | |
"flag" | |
"fmt" | |
"image/png" | |
"io/ioutil" | |
"log" | |
"math" | |
"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
@echo off | |
if "%1" equ "activate" ( | |
call %LOCALAPPDATA%\Continuum\miniconda3\Scripts\%1.bat %2 %3 %4 %5 %6 %7 %8 %9 | |
) else ( | |
call %LOCALAPPDATA%\Continuum\miniconda3\Scripts\conda.exe %* | |
) |
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
SRCS = \ | |
libfacedetectcnn-example.cpp \ | |
../src/facedetectcnn.cpp \ | |
../src/facedetectcnn-floatdata.cpp \ | |
../src/facedetectcnn-int8data.cpp \ | |
../src/facedetectcnn-model.cpp | |
OBJS = $(subst .cc,.o,$(subst .cxx,.o,$(subst .cpp,.o,$(SRCS)))) |
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/src/evalfunc.c b/src/evalfunc.c | |
index 0ad8d84cf..e3093649d 100644 | |
--- a/src/evalfunc.c | |
+++ b/src/evalfunc.c | |
@@ -3607,6 +3607,51 @@ f_extend(typval_T *argvars, typval_T *rettv) | |
copy_tv(&argvars[0], rettv); | |
} | |
} | |
+ else if (argvars[0].v_type == VAR_LIST && argvars[1].v_type == VAR_BLOB) | |
+ { |
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 ( | |
"flag" | |
"os" | |
"time" | |
) | |
func main() { | |
var n int |
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 ( | |
"flag" | |
"os" | |
"time" | |
) | |
func main() { | |
var n int |