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
using System; | |
using System.ComponentModel; | |
using System.Runtime.InteropServices; | |
namespace ComWithoutRegisteringExample | |
{ | |
internal static class ComHelper | |
{ | |
private delegate int DllGetClassObject(ref Guid clsid, ref Guid iid, [Out, MarshalAs(UnmanagedType.Interface)] out IClassFactory classFactory); |
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
// iTextSharp: http://itextpdf.com/ | |
// reference: http://www.vbforums.com/showthread.php?t=530736 | |
void ExtractJpeg(string file) | |
{ | |
var dir1 = Path.GetDirectoryName(file); | |
var fn = Path.GetFileNameWithoutExtension(file); | |
var dir2 = Path.Combine(dir1, fn); | |
if (!Directory.Exists(dir2)) Directory.CreateDirectory(dir2); |
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
local APIURL = "https://api.monobank.ua" | |
/* | |
Ошибки: | |
400 = Period must be no more than 31 days | |
400 = Missing required field 'from' | |
403 = Unknown 'X-Token' (левый токен) | |
429 = Too many requests | |
*/ |
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
param( | |
[string]$DownloadBuildNumber | |
) | |
$url = "https://github.com/Azure/azure-functions-host/archive/" + $DownloadBuildNumber + ".zip" | |
$url2 = "https://github.com/Azure/azure-functions-host/archive/v" + $DownloadBuildNumber + ".zip" | |
$targetZip = Join-Path $PSScriptRoot "WebHost.zip" | |
if (Test-Path $targetZip) { |
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
1. Follow this link and download and run ProdKey, make note of your current Windows 7 or 8 key. http://www.nirsoft.net/utils/product_cd_key_viewer.html | |
2. Follow this link to download and upgrade to Windows 10 for free. https://www.microsoft.com/en-us/accessibility/windows10upgrade?tduid=(14c348e893a91089cb2980533c6ee123)(256380)(2459594)(TnL5HPStwNw-0FBZfNm6YPFXNhiu3o52rA | |
3. Upon completion, run Prodkey again, this time you will have a new Windows 10 key. Save that key somewhere safe. | |
4. From there, you can do a system reset to wipe out the old Windows 7 or 8 files, or just do a clean install of Windows 10 and it will activate just fine. |
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
1. Open Chrome and search for User-Agent Switcher for Chrome extension, link https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg and select Add to Chrome | |
2. After the extension is installed/added, click the User-Agent extension and change User-Agent to Safari or Android mode | |
3. Open this link https://www.microsoft.com/en-us/software-download/windows10ISO | |
4. You will see the April Update ISO files, select the language and bit what you want, finally you can download it using download manager | |
5. Done, that's all, the direct link are valid only 24 hours after you created them. | |
Mirrors are here via adguard: | |
https://tb.rg-adguard.net/public.php |
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
Source: | |
https://docs.microsoft.com/en-us/DeployOffice/vlactivation/gvlks | |
GVLKs for Office 2019 | |
===================== | |
Office Professional Plus 2019 | |
NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP | |
Office Standard 2019 |
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
Changelog: | |
https://changewindows.org/build/redstone5/17763/pc | |
Microsoft Security Compliance Toolkit 1.0: | |
https://www.microsoft.com/en-us/download/details.aspx?id=55319 | |
https://msdnshared.blob.core.windows.net/media/2018/10/Windows-10-1809-Security-Baseline-DRAFT.zip | |
Windows ADK for Windows 10, version 1809: | |
https://go.microsoft.com/fwlink/?linkid=2026036 |
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
Assuming we want to upgrade/patch Windows LTSC (prev. known as LTSB). | |
Requirements: | |
* en_windows_10_consumer_edition_version_1809_updated_sept_2018_x64_dvd_5c2f3f9a.iso | |
* nl_windows_10_consumer_edition_version_1809_updated_sept_2018_x64_dvd_f197f824.svf | |
* nl_windows_10_enterprise_ltsc_2019_x64_dvd_031a2076.svf | |
* svfx.exe https://www.softpedia.com/get/System/Back-Up-and-Recovery/SVF-eXtractor.shtml | |
* Language packs: https://pcorakel.stackstorage.com/s/XwxjxDXMj4POUBU | |
* SVF files: https://pcorakel.stackstorage.com/s/MLMY3IxZP7ycuhH | |
* Batch to convert ISO into LTSC: https://pcorakel.stackstorage.com/s/HLDHp7vxIzwwGX3 |
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
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_ZH-CN.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_FR-FR.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_DE-DE.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_IT-IT.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_JA-JP.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_ru-ru.img | |
https://software-download.microsoft.com/download/pr/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_ES-ES.img |
NewerOlder