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"?> | |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" | |
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" | |
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> | |
<Bundle | |
Name="Example Product" | |
Version="1.2.3.4" | |
Manufacturer="John Doe" | |
Copyright="© 2018 John Doe" |
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 <boost/log/core.hpp> | |
#include <boost/log/expressions.hpp> | |
#include <boost/log/sinks/text_file_backend.hpp> | |
#include <boost/log/sources/record_ostream.hpp> | |
#include <boost/log/sources/severity_logger.hpp> | |
#include <boost/log/trivial.hpp> | |
#include <boost/log/utility/setup/common_attributes.hpp> | |
#include <boost/log/utility/setup/console.hpp> | |
#include <boost/log/utility/setup/file.hpp> |
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
// spawn-interactive-process.cpp : Defines the entry point for the console application. | |
// Do not forget to link against wtsapi32.lib | |
// How to test this: use psexec from SysInternals, such as ```psexec -s c:\windows\system32\cmd.exe``` | |
// to run CMD under NT AUTHORITY\SYSTEM account (you can confirm this by running whoami) and then | |
// run spawn-interactive-process (feel free to disable waiting for debugger). The result is a notepad process | |
// running under interactive user credentials and on the interactive desktop launched from a service running under | |
// system account. | |
#include <stdio.h> | |
#include <tchar.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
Windows Registry Editor Version 5.00 | |
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MSYS here] | |
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here] | |
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW32 here] |
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
/** | |
* A simple sample of Boost DLL | |
*/ | |
#include <iostream> | |
#include "boost/shared_ptr.hpp" | |
#include "boost/function.hpp" | |
#include "boost/dll/import.hpp" | |
#include "1_plugin.hxx" |
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
ro.secure=0 | |
ro.allow.mock.location=1 | |
ro.debuggable=1 | |
persist.sys.usb.config=adb | |
ro.adb.secure=0 |
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
<!doctype html> | |
<html> | |
<head> | |
<title>xterm.js demo</title> | |
<link rel="stylesheet" href="../src/xterm.css" /> | |
<script src="../src/xterm.js" ></script> | |
<script src="../addons/fit/fit.js" ></script> | |
<style> | |
#term-box { | |
overflow: hidden; |
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
git clean -xfd | |
git submodule foreach --recursive git clean -xfd | |
git reset --hard | |
git submodule foreach --recursive git reset --hard | |
git submodule update --init --recursive |
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
##### How to compile ffmpeg + x264 using Visual Studio 2015 ##### | |
##### Building this way will make the DLLs compatible with SEH, so there will be no need to use /SAFESEH:NO when compiling your code ##### | |
##### SOURCES: | |
### https://pracucci.com/compile-ffmpeg-on-windows-with-visual-studio-compiler.html | |
### https://gist.github.com/sailfish009/8d6761474f87c074703e187a2bc90bbc | |
### http://roxlu.com/2016/057/compiling-x264-on-windows-with-msvc | |
* Download "MSYS2 x86_64" from "http://msys2.github.io" and install into "C:\workspace\windows\msys64" |
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
/* Use libcurl to upload POST data. | |
Usage: PostUpload <post_data_filename> <url> | |
Used this as a speed test in Win7 x64, see | |
https://github.com/curl/curl/issues/708 | |
First test the speed in a web browser: | |
Go to http://testmy.net/mirror and choose the geographically closest mirror. | |
After the mirror is set click on 'Upload Test'. |