Участник:StasFomin/Bookmarks/Stegano — различия между версиями
StasFomin (обсуждение | вклад) (Добавлена закладка Setting up CUPS to spool to a file) |
StasFomin (обсуждение | вклад) (Добавлена закладка Python script to display an SVG file on the desktop as a transparent overlay · GitHub) |
||
Строка 2: | Строка 2: | ||
=== 2020-07 === | === 2020-07 === | ||
+ | * 2020-07-08, 18:27:43: [https://gist.github.com/seigler/28dd06334b55a93692855a8dd62c1b57 Python script to display an SVG file on the desktop as a transparent overlay · GitHub] | ||
* 2020-07-08, 16:34:45: [https://lists.cups.org/pipermail/cups/2004-October/056952.html Setting up CUPS to spool to a file] | * 2020-07-08, 16:34:45: [https://lists.cups.org/pipermail/cups/2004-October/056952.html Setting up CUPS to spool to a file] | ||
* 2020-07-08, 16:30:09: [https://gist.github.com/me7/12ad7c823a1b5d1a061dceb4fcd72b87 use adb to capture image and transfer to PC · GitHub] | * 2020-07-08, 16:30:09: [https://gist.github.com/me7/12ad7c823a1b5d1a061dceb4fcd72b87 use adb to capture image and transfer to PC · GitHub] |
Версия 15:27, 8 июля 2020
2020
2020-07
- 2020-07-08, 18:27:43: Python script to display an SVG file on the desktop as a transparent overlay · GitHub
- 2020-07-08, 16:34:45: Setting up CUPS to spool to a file
- 2020-07-08, 16:30:09: use adb to capture image and transfer to PC · GitHub
- use adb to capture image and transfer to PC
- 2020-07-08, 10:43:20: GitHub - achadwick/hello-cxfreeze-gtk: Trial integration of cx_Freeze with GObject runtime stuff (GTK and Cairo, initially)
- Hello, cx_Freeze and GTK+
- 2020-07-08, 10:34:13: GitHub - felipery03/SaviourScreen: Create a watermark in all screens to avoid information leak
-
SaviourScreen
Create a watermark in all screens to avoid information leak
-
- 2020-07-08, 10:26:49: python - Fully transparent windows in Pygame? - Stack Overflow
- Fully transparent windows in Pygame?
- 2020-07-08, 10:25:22: (1904.05343) StegaStamp: Invisible Hyperlinks in Physical Photographs
- StegaStamp: Invisible Hyperlinks in Physical Photographs
- 2020-07-08, 10:24:52: GitHub - dvolkhonskiy/adversarial-steganography
- 2020-07-08, 10:22:38: Реализация поиска печатей на OpenCV без нейронок, регистрации и смс / Блог компании Directum / Хабр
- Реализация поиска печатей на OpenCV без нейронок, регистрации и смс
- 2020-07-08, 10:19:51: Clicking through a translucent window: using X11 input shapes (Shallow Thoughts)
- 2020-07-08, 10:16:37: Run a script on login event
- Run a script on login event
- 2020-07-08, 10:14:41: python: Conditional plus operator for numpy array - Stack Overflow
- 2020-07-08, 10:03:12: Compiling Python extensions on Windows | ionel's codelog
-
Create a vcvars64.bat file in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64 that contains [2]:
CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
-
- 2020-07-08, 10:01:56: Which Windows SDK to use to build extensions for Python 3.5? - python
- 2020-07-08, 09:49:33: Warn if on GNOME · mpv-player/mpv@cdaa496 · GitHub
- 2020-07-03, 16:51:13: RUK-OSSN-DEV_1-6.pdf
- 2020-07-03, 16:49:27: Desktop Application Autostart Specification
- 2020-07-03, 16:01:34: transregion: X11 SHAPE extension input region demo
- 2020-07-03, 16:01:10: akkana/scripts: A collection of useful scripts that don't fit anywhere else
- 2020-07-03, 16:00:52: Displaying the image with a click-through window · Issue #96 · phillipberndt/pqiv
- 2020-07-03, 16:00:32: programming_guide.pdf
- 2020-07-03, 15:51:53: pyglet · PyPI
- 2020-07-03, 15:50:08: input_shape_combine_region
- 2020-07-03, 14:57:25: Understand and configure core dumps on Linux - Linux Audit
- 2020-07-03, 14:53:17: Установка гостевых дополнений в VirtualBox
- 2020-07-03, 12:22:27: 733.pdf
- 2020-07-03, 11:22:39: stephentu/monomi-optimizer: Monomi designer and planner prototype
- 2020-07-03, 11:14:31: Уязвимость блокировщика экрана в Astra Linux Special Edition (Смоленск) / Хабр
- 2020-07-03, 11:14:17: БДУ - Уязвимости
- 2020-07-03, 11:09:11: ОС ОН Astra Linux CE Орёл 2.12 - Справочный центр - Справочный центр Astra Linux
- 2020-07-03, 11:08:33: Window manager - ArchWiki
- 2020-07-03, 11:08:01: mutter - how to determine which composite manager is running - Unix & Linux Stack Exchange
- 2020-07-03, 11:07:03: Рабочий стол FLY - Справочный центр - Справочный центр Astra Linux
- 2020-07-03, 10:50:31: Astra Linux просветите по их FlyWM — General — Форум
- 2020-07-03, 10:25:16: nektra/AVRecorderTool: DirectX video recording and frames per second counter
-
DirectX video recording and frames per second counter
-
- 2020-07-03, 10:23:44: c# - Capture screenshot Including Semitransparent windows in .NET - Stack Overflow
- Fwiw, a later Windows version provided a workaround for this bug. Not exactly sure which, I think it was Win7 SP1. The BitBlt() function will now do what you want if you pass only the CopyPixelOperation.CaptureBlt option. But of course that workaround wasn't applied retro-actively to earlier Windows versions so you can't really depend on it.
- 2020-07-03, 10:22:30: Faster screenshot with DWM Hack - feature - Forum
- 2020-07-03, 10:22:11: delphi - Past DWM screen capture to TBitmap - Stack Overflow
- Using BitBlt() only works if the destination windows is fully opaque (alpha 255) and is visible to the user. What if I just want to get the raw image of an hidden window without displaying it ? Is it possible to create a fake HWND ? If not is it possible to intercept the paint event on the destination window just before it is painted ? Doesn it exist a Windows Message WM_ somenthing to achieve that ? Restore, capture and hide is not an option because it create "flickering" effect on the screen especially if you take more than one capture of the window. So what might be an alternative solution? – Bemipefe Apr 10 '19 at 11:10
- 2020-07-03, 10:21:15: Accessing bit data of DwmRegisterThumbnail - c++
- I have been playing around with the Windows DWM APIs to see if I can capture external windows with them. I have made a small C++ program which creates a window, grabs an external HWND, links the external HWND to my window, and successfully renders the external data. The API works great in this situation. What I'm trying to figure out now is whether or not I can capture the bit data which being rendered into my own window. I figured since I have ownership of this window there should be a way. My Goals To capture the DWM rendered content in my own window into a bitmap. This should work regardless of whether my window is in the foreground or background. My Test Case In my test case I have a youtube video playing in my external window. I put it in the background and allow the video to render into my application's window in the foreground. From there I try the methods below to capture the content of my window. Capture Methods Attempted BitBlt I've tried to use BitBlt to capture the windows content into a bitmap. Whenever I try this though, I simply end up with title bar of my window and none of the DWM thumbnail content. However, if instead of getting a DC for my window, I get a DC for the entire screen and grab the coordinates of my window, I am able to get the DWM rendered content. But if the window is in the background, obviously I don't get what I want. PrintWindow PrintWindow fails for me as well. I get similar results to BitBlt, my windows title bar but nothing in the content area. My Question Is there any reliable way to get the bit data from the DWM APIs? Could I do something on WM_PAINT/WM_PRINT to capture this?
- 2020-07-03, 10:18:59: Jer's One Stop Shop > Home - Vista DWM Hacking – Capture and Stream D3D/WPF Windows Real-Time
-
Here is the source for the application. It's very ugly code, but it's only a quick prototype I threw together. I use SlimDX, so if you have any issues using it, make sure to install the latest DX runtimes here.
http://jmorrill.hjtcentral.com/Portals/21/blog/DxCapture.zip
-
- 2020-07-03, 10:13:25: screen-capture-recorder-to-video-windows-free/DibHelper.cpp at cbb2a1c00fe3f01e3be6aad6a419975e2981e0e2 · rdp/screen-capture-recorder-to-video-windows-free
-
HRESULT turnAeroOn(boolean on) {
-
- 2020-07-03, 10:11:56: pyexternalboxespmw2/Frame.py at daab58d1059ba128f95dad0b2036c7b7ae486387 · dylanjan313/pyexternalboxespmw2
-
params = D3DPRESENT_PARAMETERS()
-
- 2020-07-03, 10:03:51: cairopresent/win32gui.py at master · thpani/cairopresent · GitHub
-
surf = cairo.Win32Surface(_buffer)
-
- 2020-07-03, 10:00:14: SetWindowDisplayAffinity function (winuser.h) - Win32 apps | Microsoft Docs
- This function and GetWindowDisplayAffinity are designed to support the window content protection feature that is new to Windows 7. This feature enables applications to protect their own onscreen window content from being captured or copied through a specific set of public operating system features and APIs. However, it works only when the Desktop Window Manager(DWM) is composing the desktop.
- 2020-07-03, 09:58:03: winapi - Detect if a window is using hardware-accelerated graphic context - Stack Overflow
-
- 2020-07-03, 09:57:27: windows 10 - SSHFS remote directory mounting syntax - Super User
-
I'll add some notes on this for future googlers.
The "net use" command did not work for me, admin or not, powershell or cmd.
Open Windows Explorer, find "this pc", right click on it, select "map network drive".
Enter "\sshfs\bigfred@172.25.10.10/../../etc/blabber/mouth" in Folder. Check "Connect using different credentials". Hit Enter.
-
- 2020-07-03, 09:56:06: Бесплатные VM с Windows для тестирования сайтов на старых версиях IE - Версия для печати - PVSM.RU
-
Microsoft уже несколько лет раздаёт бесплатные виртуальные машины с Windows XP, Vista и 7 [1] для тестирования веб-сайтов на старых версиях браузера Internet Explorer.
Все образы укомплектованы соответствующей версией IE и апдейтами безопасности. Для XP установлены апдейты до октября 2012 года, для остальных — до марта 2011 года. В остальном — это чистая свежая инсталляция Windows без особенных модификаций. Образы в формате VHD можно загрузить в Microsoft Virtual PC [2] или другой пакет виртуализации. Самораспаковывающиеся архивы RAR для удобства скачивания разбиты на части по 700 МБ.
Windows_XP+ IE6: 415,5 МБ [3]
Windows Vista + IE7: часть 1 [4], часть 2 [5], часть 3 [6], часть 4 [7], часть 5 [8], часть 6 [9]
Windows 7 + IE8: часть 1 [10], часть 2 [11], часть 3 [12], часть 4 [13]
Windows 7 + IE9: часть 1 [14], часть 2 [15], часть 3 [16], часть 4 [17], часть 5 [18], часть 6 [19], часть 7 [20]
-
- 2020-07-03, 09:55:08: GetWindowDC and BitBlt in Windows 7 and Windows 8
- Code in Windows 8 returns the desired window(hwnd) without any overlapping window on it even if hwnd is completely hidden but Windows 7 is returning a bitmap containing windows overlapping my target window. It looks like BitBlt in Windows 7 gets a bitmap of the desktop, not of the window.
Anyone knows why?
Thanks
hdc = GetWindowDC(hwnd);
hdcMem = CreateCompatibleDC(hdc);
memset(&mybmi, 0x0, sizeof(BITMAPINFOHEADER));
mybmi.bmiHeader.biSize = sizeof(mybmi);
mybmi.bmiHeader.biWidth = dim_x;
mybmi.bmiHeader.biHeight = -dim_y;
mybmi.bmiHeader.biPlanes = 1;
mybmi.bmiHeader.biBitCount = BITMAP_BITCOUNT;
mybmi.bmiHeader.biCompression = BI_RGB;
mybmi.bmiHeader.biSizeImage = dim_x * dim_y * BITMAP_BITCOUNT;
hbitmap = CreateDIBSection(hdc, &mybmi, DIB_RGB_COLORS, (VOID **)&bits, 0, 0);
hOldbitmap = (HBITMAP)SelectObject(hdcMem, hbitmap);
BitBlt(hdcMem, 0, 0, dim_x, dim_y, hdc, 0, 0, SRCCOPY);
SelectObject(hdc, hOldbitmap);
DeleteDC(hdcMem);
ReleaseDC(hwnd, hdc);
- Code in Windows 8 returns the desired window(hwnd) without any overlapping window on it even if hwnd is completely hidden but Windows 7 is returning a bitmap containing windows overlapping my target window. It looks like BitBlt in Windows 7 gets a bitmap of the desktop, not of the window.
- 2020-07-03, 09:54:36: Increase Windows XP Colour Depth when using Remote Desktop or XP Mode – Ufo-X.com
- When a Windows XP system is accessed via Remote Desktop or Terminal Services connection, the default maximum color resolution (color depth or color quality) is set to 16-bit on Windows XP. The color depth is limited in order to improve connection performance especially on slow link, and reduce server load.
- 2020-07-03, 09:52:03: Switch easily between VirtualBox and Hyper-V with a BCDEdit boot Entry in Windows 8.1 - Scott Hanselman
- Switch easily between VirtualBox and Hyper-V with a BCDEdit boot Entry in Windows 8.1
- 2020-07-03, 09:50:37: c++ - CMake and MsVS-NuGet - Stack Overflow
- 2020-07-03, 09:50:05: NuGet Gallery | openssl-vc141-static-x86_64 1.1.0
- 2020-07-03, 09:47:51: You were told about this four years ago - Developer Community
- Compiling with VS 2015 or 2017, XP toolset, in this particular case, "Visual Studio 2017 - Windows XP (v141_xp)":
#define _WIN32_WINNT 0x0501
#define NTDDI_VERSION 0x05010300
- Compiling with VS 2015 or 2017, XP toolset, in this particular case, "Visual Studio 2017 - Windows XP (v141_xp)":
- 2020-07-03, 09:45:04: GitHub - alexjc/neural-enhance: Super Resolution for images using deep learning.
- 2020-07-03, 09:44:54: GitHub - PELock/Dekoder-AZTEC-2D-Python: Dekoder Kodu AZTEC 2D z Dowodu Rejestracyjnego dla Python (Web API) z rozpoznawaniem obrazu.
- 2020-07-03, 09:44:22: python - Changing the directory where .pyc files are created - Stack Overflow
- 2020-07-03, 09:43:29: Inconsistency detected by ld.so: dl-minimal.c: 126: realloc: Assertion `ptr == alloc_last_block' failed! - Google Search
- 2020-07-03, 09:43:20: Logging Cookbook — Python 3.8.4rc1 documentation
- 2020-07-03, 09:40:14: GitHub - ccd97/image-classify-server: Image classification using Tensorflow (Inception v3)
- 2020-07-03, 09:40:01: GitHub - malikwahab/pilxel: A photo Editor Built with Django and PILLOW
- 2020-07-03, 00:39:08: Поиск секретов путем декомпиляции байт-кода Python в общедоступных репозиториях | How to recover
- Поиск секретов путем декомпиляции байт-кода Python в общедоступных репозиториях
- 2020-07-03, 00:35:02: Оптическая иллюзия — Википедия
- 2020-07-03, 00:33:10: CUPSPrintQueues - Debian Wiki
- 2020-07-03, 00:32:57: CUPSDebugging - Debian Wiki
- 2020-07-03, 00:31:30: SDB:Using Your Own Filters to Print with CUPS - openSUSE Wiki
- 2020-07-03, 00:30:48: HowTos/RebuildSRPM - CentOS Wiki
- Install the SRPM and then Build from the Specfile
- 2020-07-03, 00:24:34: python - Threading pool similar to the multiprocessing Pool? - Stack Overflow
- 2020-07-03, 00:21:25: (SOLVED) This is driving me mad: "Inconsistency detected by ld.so"
- Topic: [SOLVED] This is driving me mad: "Inconsistency detected by ld.so" (Read 4460 times)
- 2020-07-03, 00:19:02: В поисках LD_PRELOAD / Хабр
- 2020-07-03, 00:13:44: How-To: Python Compare Two Images - PyImageSearch
- 2020-07-03, 00:11:26: kivy/buildozer: Generic Python packager for Android and iOS
- 2020-07-03, 00:11:16: HeaTTheatR/KivyMD: KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications.
- 2020-07-03, 00:10:47: Nuitka vs Numba | Python Interpreters Benchmarks
- 2020-07-03, 00:04:35: megastep/makeself: A self-extracting archiving tool for Unix systems, in 100% shell script.
- 2020-07-02, 23:52:52: Build Python with Mingw and gcc - Stack Overflow
-
hg clone https://bitbucket.org/puqing/python-mingw
It is a copy of the official repository but contains some modification to make it compile with mingw. Enter PC/MinGW directory:
cd PC/MinGW && make
Not sure if it compiles in win64, but with win32 and msys it should work.
-
- 2020-07-02, 23:52:18: puqing / python-mingw — Bitbucket
-
python-mingw
-
- 2020-07-02, 19:48:59: How to build windows xp apps using nuitka? · Issue #110 · Nuitka/Nuitka
- How to build windows xp apps using nuitka?
- 2020-07-02, 18:56:04: Градостроительно-земельная комиссия: тайные решения мэрии Москвы о застройке города | Портал «Красная Москва»
- Градостроительно-земельная комиссия: тайные решения мэрии Москвы о застройке города
- 2020-07-02, 18:53:52: Manuk Akopyan / Stegano · GitLab
- Stegano