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
00000000 00 00 04 D4 00 00 00 40 23 46 42 20 23 43 4F 4C ···O···@#FB #COL | |
00000010 43 30 32 34 23 46 4D 54 52 41 57 20 23 4A 50 47 C024#FMTRAW #JPG | |
00000020 64 30 39 30 23 54 48 52 64 31 32 38 23 47 4D 4D d090#THRd128#GMM | |
00000030 55 47 31 38 23 47 4D 54 52 45 44 20 68 31 30 30 UG18#GMTRED h100 | |
00000040 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ················ | |
00000050 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F ················ |
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 |
NewerOlder