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
| # Makefile for a go project | |
| # | |
| # Author: Jon Eisen | |
| # site: joneisen.me | |
| # | |
| # Targets: | |
| # all: Builds the code | |
| # build: Builds the code | |
| # fmt: Formats the source files | |
| # clean: cleans the code |
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
| #!/usr/bin/expect -f | |
| # ./autossh.exp user password 192.168.199.1 | |
| set user [lrange $argv 0 0] | |
| set password [lrange $argv 1 1] | |
| set host [lrange $argv 2 2] | |
| spawn ssh $user@$host | |
| match_max 100000 | |
| expect { |
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
| #include <string.h> | |
| #include <stdio.h> | |
| #include "libjpeg-turbo/turbojpeg.h" | |
| #pragma comment(lib, "turbojpeg.lib") | |
| bool savejpg(const char* filename,const unsigned char* pData,int width,int height, int nchannels); | |
| int main(int argc, char **argv) | |
| { |
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
| CC=arm-linux-gcc | |
| CXX=arm-linux-g++ | |
| LIBCOMMAND = arm-linux-ar cr | |
| RANLIB = arm-linux-ranlib | |
| %.o:%.c | |
| $(CC) -c -o $@ $< | |
| %.o:%.C | |
| $(CC) -c -o $@ $< |
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
| ifeq ($(OS),Windows_NT) | |
| CC="C:\Program Files (x86)\Dev-Cpp\MinGW32\bin\gcc" | |
| CXX="C:\Program Files (x86)\Dev-Cpp\MinGW32\bin\g++" | |
| SHIT=\\ | |
| DEL=del | |
| INCS=-I./inc -I"C:/Program Files (x86)/opencv/include" | |
| LIBS=-L"C:/Program Files (x86)/Dev-Cpp/MinGW32/lib" -L"C:/Program Files (x86)/opencv/mingw/lib" | |
| CFLAGS= | |
| LDFLAGS=-lopencv_calib3d241 -lopencv_contrib241 -lopencv_core241 -lopencv_features2d241 -lopencv_flann241 -lopencv_gpu241 -lopencv_highgui241 -lopencv_imgproc241 -lopencv_legacy241 -lopencv_ml241 -lopencv_nonfree241 -lopencv_objdetect241 -lopencv_photo241 -lopencv_stitching241 -lopencv_ts241 -lopencv_video241 -lopencv_videostab241 |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <ExecutablePath>C:\Program Files (x86)\OpenCV\vc10\bin;$(ExecutablePath)</ExecutablePath> | |
| <IncludePath>C:\Program Files (x86)\OpenCV\include;$(IncludePath)</IncludePath> | |
| <ReferencePath>$(ReferencePath)</ReferencePath> | |
| <LibraryPath>C:\Program Files (x86)\OpenCV\vc10\lib;$(LibraryPath)</LibraryPath> | |
| <SourcePath>$(SourcePath)</SourcePath> | |
| <ExcludePath>$(ExcludePath)</ExcludePath> | |
| </PropertyGroup> |
NewerOlder