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
local function bar(opts) | |
opts = opts or {} | |
pickers.new(opts, { | |
prompt_title = "bar", | |
finder = finders.new_table { | |
results = { ":Telescope grep_string", ":Telescope find_files" , ":Telescope registers"}, | |
}, | |
sorter = conf.generic_sorter(opts), | |
attach_mappings = function(prompt_bufnr, map) | |
actions.select_default:replace(function() |
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
categories = function(opts) | |
opts = opts or {} | |
pickers.new(opts, { | |
prompt_title = "categories", | |
layout_strategy = "vertical", | |
layout_config = { anchor="N"}, | |
finder = finders.new_table { | |
results = {"foo", "bar"} | |
}, | |
sorter = conf.generic_sorter(opts), |
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
1>------ Build started: Project: zlib, Configuration: Debug Win32 ------ | |
2>------ Build started: Project: libjasper, Configuration: Debug Win32 ------ | |
3>------ Skipped Build: Project: opencv_highgui_object, Configuration: Debug Win32 ------ | |
3>Project not selected to build for this solution configuration | |
1>Compiling... | |
2>Compiling... | |
4>------ Build started: Project: libjpeg, Configuration: Debug Win32 ------ | |
5>------ Skipped Build: Project: opencv_imgproc_object, Configuration: Debug Win32 ------ | |
5>Project not selected to build for this solution configuration | |
6>------ Skipped Build: Project: opencv_flann_object, Configuration: Debug Win32 ------ |
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
1>------ Build started: Project: zlib, Configuration: Debug Win32 ------ | |
2>------ Build started: Project: libjasper, Configuration: Debug Win32 ------ | |
1>Compiling... | |
3>------ Skipped Build: Project: opencv_highgui_object, Configuration: Debug Win32 ------ | |
3>Project not selected to build for this solution configuration | |
4>------ Build started: Project: libjpeg, Configuration: Debug Win32 ------ | |
5>------ Skipped Build: Project: opencv_imgproc_object, Configuration: Debug Win32 ------ | |
5>Project not selected to build for this solution configuration | |
6>------ Skipped Build: Project: opencv_flann_object, Configuration: Debug Win32 ------ | |
6>Project not selected to build for this solution configuration |
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
1>------ Build started: Project: MyLog4Cpp, Configuration: Debug Win32 ------ | |
1>Compiling... | |
1>snprintf.c | |
1>d:\mylog4cpp\src\snprintf.c(406) : warning C4273: 'vsnprintf' : inconsistent dll linkage | |
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(333) : see previous definition of 'vsnprintf' | |
1>d:\mylog4cpp\src\snprintf.c(529) : warning C4996: 'vsnprintf' was declared deprecated | |
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(333) : see declaration of 'vsnprintf' | |
1> Message: 'This function or variable may be unsafe. Consider using vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' | |
1>d:\mylog4cpp\src\snprintf.c(859) : warning C4996: 'sprintf' was declared deprecated | |
1> c:\program files (x86)\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf' |
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
1>------ Rebuild All started: Project: MyLog4Cpp, Configuration: Debug Win32 ------ | |
1>Deleting intermediate and output files for project 'MyLog4Cpp', configuration 'Debug|Win32' | |
1>Compiling... | |
1>BufferingAppender.cpp | |
1>Category.cpp | |
1>DllMain.cpp | |
1>CategoryStream.cpp | |
1>Configurator.cpp | |
1>DailyRollingFileAppender.cpp | |
1>d:\mylog4cpp\src\dailyrollingfileappender.cpp(55) : error C3861: 'time': identifier not found |
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
This is the code that i wrote | |
------------------------------------------------------ | |
#include <stdio.h> | |
#include <winsock2.h> | |
#pragma warning(disable : 4996) | |
#pragma comment(lib, "Ws2_32.lib") // Winsock Library | |
int |
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
/* | |
- Read code from files | |
- Show images | |
- Show json | |
- Show video | |
- Show audio | |
- Better debugging | |
*/ | |
#include <stdio.h> |
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
#if defined(_WIN32) | |
#include "WinSock2.h" | |
#include "Ws2tcpip.h" | |
#pragma comment(lib, "ws2_32.lib") | |
#elif defined(linux) | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <netdb.h> |
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
GDB commands by function - simple guide | |
--------------------------------------- | |
More important commands have a (*) by them. | |
Startup | |
% gdb -help print startup help, show switches | |
*% gdb object normal debug | |
*% gdb object core core debug (must specify core file) | |
%% gdb object pid attach to running process | |
% gdb use file command to load object |