text
stringlengths
0
834k
/// <param name=""lParam""></param>
/// <returns></returns>
[DllImport(""user32.dll"", EntryPoint = ""EnumDesktopWindows"",
ExactSpelling = false, CharSet = CharSet.Auto, SetLastError = true)]
public static extern bool EnumDesktopWindows(IntPtr hDesktop, EnumDelegate lpEnumCallbackFunction, IntPtr lParam);
/// <summary>
/// entry point of the program
/// </summary>
static void Main()
{
var collection = new List<string>();
user32.EnumDelegate filter = delegate(IntPtr hWnd, int lParam)
{
StringBuilder strbTitle = new StringBuilder(255);
int nLength = user32.GetWindowText(hWnd, strbTitle, strbTitle.Capacity + 1);
string strTitle = strbTitle.ToString();
if (user32.IsWindowVisible(hWnd) && string.IsNullOrEmpty(strTitle) == false)
{
uint res;
GetWindowThreadProcessId(hWnd,out res);
//Console.WriteLine(Process.GetProcessById((int)res).ProcessName);
collection.Add(Process.GetProcessById((int)res).ProcessName+""::""+strTitle);
}
return true;
};
if (user32.EnumDesktopWindows(IntPtr.Zero, filter, IntPtr.Zero))
{
foreach (var item in collection)
{
Console.WriteLine(item);
}
}
//Console.Read();
}
}
",27.7647058824,118,0.6546610169
219569,d2fbf06dc38f7dbdeb6f7c284eb343c2871c7ba2,511,bat,Batchfile,Badges/09_empty.bat,BJB-SK/MK,a2108a464f2a1e6a62d566af1d461a72289e5457,['MIT'],,,,Badges/09_empty.bat,BJB-SK/MK,a2108a464f2a1e6a62d566af1d461a72289e5457,['MIT'],7.0,2020-04-30T02:00:42.000Z,2022-02-12T07:39:47.000Z,Badges/09_empty.bat,BJB-SK/MK,a2108a464f2a1e6a62d566af1d461a72289e5457,['MIT'],1.0,2019-02-17T17:52:46.000Z,2019-02-17T17:52:46.000Z,"""C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe"" montage front_empty.png front_empty.png front_empty.png front_empty.png -tile 2x2 -border 1x1 -geometry +0+0 Result2\empty_front.png
""C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe"" montage back_empty.png back_empty.png back_empty.png back_empty.png -tile 2x2 -border 1x1 -geometry +0+0 Result2\empty_back.png
""C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe"" convert -density 600 Result2\empty_front.png Result2\empty_back.png PDF\output_empty.pdf
pause",127.75,184,0.8082191781
219570,d2fbf71743a38c641bbd3370230f1aad3aabe856,235,cmd,Batchfile,dotfiles/bin/datomic-pro-0.9.5394/bin/groovysh.cmd,patbrown/dev,d7cb0000d5de7ad0c6218cc85dc9300a12674dc4,['MIT' 'Unlicense'],7.0,2015-11-13T09:28:12.000Z,2017-11-08T18:17:11.000Z,dotfiles/bin/datomic-pro-0.9.5394/bin/groovysh.cmd,patbrown/dev,d7cb0000d5de7ad0c6218cc85dc9300a12674dc4,['MIT' 'Unlicense'],1.0,2016-07-26T09:59:11.000Z,2016-07-26T09:59:11.000Z,dotfiles/bin/datomic-pro-0.9.5394/bin/groovysh.cmd,patbrown/dev,d7cb0000d5de7ad0c6218cc85dc9300a12674dc4,['MIT' 'Unlicense'],,,,"@echo off
setlocal
if ""%1"" == """" (
set CMD=jline.ConsoleRunner org.codehaus.groovy.tools.shell.Main
) else (
set CMD=groovy.lang.GroovyShell %*
)
call bin\classpath
java -server -Xmx1g -cp lib\jline-win-1.0.jar;%CP_LIST% %CMD%
",16.7857142857,66,0.6936170213
219571,d2fc101c238fed2c281364744d86210d41747376,586,bat,Batchfile,Notifer.bat,ashishcssom/small-projects,389be06c5ba0e37fd4164a34e2278210f77903fb,['MIT'],,,,Notifer.bat,ashishcssom/small-projects,389be06c5ba0e37fd4164a34e2278210f77903fb,['MIT'],,,,Notifer.bat,ashishcssom/small-projects,389be06c5ba0e37fd4164a34e2278210f77903fb,['MIT'],,,,"@echo off
SET LOGFILE=""C:\Users\imash\Documents\notifier\log.txt""
(echo====================================================================================================== >> %LOGFILE%)
(echo Script Start Running at - ^ %date% %time% >> %LOGFILE%)
call ""C:\ProgramData\Anaconda3\Scripts\activate.bat""
""C:\ProgramData\Anaconda3\python.exe"" ""C:\Users\imash\Documents\notifier\Notifier.py""
(echo Script Successfully Executed at - ^ %date% %time% >> %LOGFILE%)
(echo====================================================================================================== >> %LOGFILE%)
pause",65.1111111111,121,0.4692832765
219572,d2fc16c84aece2065dbf41a37d6478e7e2002efa,1001,bat,Batchfile,build-win32.bat,chai2010/guetzli-js,84e20fa11e70fe0a03438d3b4658f3684d4b0d5c,['MIT'],38.0,2017-03-23T10:39:45.000Z,2022-01-18T02:14:37.000Z,build-win32.bat,chai2010/guetzli-js,84e20fa11e70fe0a03438d3b4658f3684d4b0d5c,['MIT'],3.0,2017-03-28T19:40:41.000Z,2017-04-10T07:33:41.000Z,build-win32.bat,chai2010/guetzli-js,84e20fa11e70fe0a03438d3b4658f3684d4b0d5c,['MIT'],3.0,2017-03-26T03:21:49.000Z,2017-04-06T07:26:17.000Z,":: Copyright 2017 <chaishushan{AT}gmail.com>. All rights reserved.
:: Use of this source code is governed by a BSD-style
:: license that can be found in the LICENSE file.
setlocal
cd %~dp0
:: ----------------------------------------------------------------------------
:: Setup MSVC
:: VS2015
if not ""x%VS140COMNTOOLS%"" == ""x"" (
echo Setup VS2015 Win64 ...
call ""%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat""
goto build
)
:build
:: -----------------------------------------------------------------------------
mkdir zz_build_win32_release
cd zz_build_win32_release
cmake ..^
-G ""NMake Makefiles""^
-DCMAKE_INSTALL_PREFIX=..^
-DCMAKE_BUILD_TYPE=release^
^
-DCMAKE_MODULE_LINKER_FLAGS=""/machine:x86""^
-DCMAKE_SHARED_LINKER_FLAGS=""/machine:x86""^
-DCMAKE_STATIC_LINKER_FLAGS=""/machine:x86""^