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
<a href="intent://details?id=com.zhiliaoapp.musically.go&inline=true&enifd=AMO2QMb7-vFueZYkQkgOgEGxN177E0dWdNOB-Ow63Ddl1ViPQuRja-VkpaMeXdhEPOhsYrqTgf7uFwp369TXlO3_3z7zTgcgo--boxijpJYGP6nii44Ufb4pBHjVD3VlwwZX#Intent;scheme=market;package=com.android.vending;end">Test Intent Link</a> |
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
// Requires Windows 7 or later | |
_COM_SMARTPTR_TYPEDEF(IAudioSessionManager2, __uuidof(IAudioSessionManager2)); | |
bool MuteCurrentProcess() { | |
IAudioSessionManager2Ptr mgr; | |
CreateSessionManager(&mgr); | |
ISimpleAudioVolumePtr volume; | |
if (SUCCEEDED(mgr->GetSimpleAudioVolume(&GUID_NULL, false, &volume))) { | |
ISimpleAudioVolumePtr vol; | |
volume->QueryInterface(__uuidof(IAudioEndpointVolume), (void**)&vol); |
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 <iostream> | |
#include <mmdeviceapi.h> | |
#include <endpointvolume.h> | |
#include <Audiopolicy.h> | |
#include <comdef.h> | |
#include <comip.h> | |
#define CHECK_HR(hr) \ | |
if(FAILED(hr)) { \ |
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
typedef enum { | |
conversionOK, /* conversion successful */ | |
sourceExhausted, /* partial character in source, but hit end */ | |
targetExhausted, /* insuff. room in target for conversion */ | |
sourceIllegal /* source sequence is illegal/malformed */ | |
} ConversionResult; | |
typedef enum { | |
strictConversion = 0, |
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
<Server Name="picplus.ru" MaxFileSize="5242880"> | |
<Actions> | |
<Action Type="upload" Url="http://picplus.ru/upload.php" PostParams="userfile1=%filename%;thumb_size=$(_THUMBWIDTH);check_orent=h;texttype=dimensions;text=;" RegExp="\[img\](.*?)\[([\s\S]*?)\[url=(.*?)\]\[img\](.*?)\[" AssignVars="Image:0;DownloadUrl:2;Thumb:3;"/> | |
</Actions> | |
<Result ImageUrlTemplate="$(Image)" ThumbUrlTemplate="$(Thumb)" DownloadUrlTemplate="$(DownloadUrl)"/> | |
</Server> |
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
/** | |
This app allows to select multiple files and launch one instance of command process from windows explorer's context menu. | |
Example of usage: | |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.txt\Shell\p4merge] | |
"MultiSelectModel"="Player" |
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
/** | |
* WkHtmlToPdf table splitting hack. | |
* | |
* Script to automatically split multiple-pages-spanning HTML tables for PDF | |
* generation using webkit. | |
* | |
* To use, you must adjust pdfPage object's contents to reflect your PDF's | |
* page format. | |
* The tables you want to be automatically splitted when the page ends must | |
* have a class name of "splitForPrint" (can be changed). |