This file contains hidden or 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
| #!/usr/bin/env bash | |
| # vim: ft=bash | |
| # | |
| # © 2025 Konstantin Gredeskoul | |
| # http://github.com/kigster | https://kig.re | |
| # | |
| # This script allows you to export the list of your VSCode | |
| # extensions and import them into, eg. Cursor IDE. Or the | |
| # other way around. By the default the script continues on | |
| # import errors because there are typically quite a few. |
This file contains hidden or 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
| # WSL2 network port forwarding script v1 | |
| # for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
| # for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
| # written by Daehyuk Ahn, Aug-1-2020 | |
| # Display all portproxy information | |
| If ($Args[0] -eq "list") { | |
| netsh interface portproxy show v4tov4; | |
| exit; | |
| } |
This file contains hidden or 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
| #pragma once | |
| class NonCopyable | |
| { | |
| protected: | |
| // 1. provide default ctor so it doesn't have to be explicitly defined in inherited classes | |
| // 2. make NonCopyable class abstract so it can't be instantiated | |
| NonCopyable() {} | |
| /*virtual*/ ~NonCopyable() {} |
This file contains hidden or 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
| Windows ® Installer. V 5.0.18362.1 | |
| msiexec /Option <Required Parameter> [Optional Parameter] | |
| Install Options | |
| </package | /i> <Product.msi> | |
| Installs or configures a product | |
| /a <Product.msi> | |
| Administrative install - Installs a product on the network | |
| /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>] |
This file contains hidden or 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://askubuntu.com/a/445496 | |
| From 10.04 up to 20.04: | |
| Ubuntu Debian | |
| 20.04 focal bullseye/ sid - 11 | |
| 19.10 eoan buster / sid - 10 | |
| 19.04 disco buster / sid | |
| 18.10 cosmic buster / sid | |
| 18.04 bionic buster / sid |
This file contains hidden or 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
| RUN Write-Host 'Downloading iisnode' ; \ | |
| $MsiFile = $env:Temp + '\iisnode.msi' ; \ | |
| (New-Object Net.WebClient).DownloadFile('https://github.com/tjanczuk/iisnode/releases/download/v0.2.21/iisnode-full-v0.2.21-x64.msi', $MsiFile) ; \ | |
| Write-Host 'Installing iisnode' ; \ | |
| Start-Process msiexec.exe -ArgumentList '/i', $MsiFile, '/quiet', '/norestart' -NoNewWindow -Wait |
This file contains hidden or 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
| HEALTHCHECK CMD powershell -command ` | |
| try { ` | |
| $response = iwr http://localhost:80 -UseBasicParsing; ` | |
| if ($response.StatusCode -eq 200) { return 0} ` | |
| else {return 1}; ` | |
| } catch { return 1 } |
This file contains hidden or 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://docs.microsoft.com/en-us/visualstudio/install/build-tools-container?view=vs-2019 | |
| ### | |
| # escape=` | |
| # Use the latest Windows Server Core image with .NET Framework 4.8. | |
| FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 | |
| # Restore the default Windows shell for correct batch processing. |
This file contains hidden or 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
| # base image uses node latest minor version of 12.m | |
| #FROM node:12-stretch-slim | |
| FROM mongo:4.0-xenial | |
| # create and set cwd | |
| WORKDIR /code | |
| # copy npm's package state files | |
| COPY package.json . | |
| COPY package-lock.json . |
This file contains hidden or 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
| _MSC_VER Defined as an integer literal that encodes the major and minor number elements of the compiler's version number. The major number is the first element of the period-delimited version number and the minor number is the second element. For example, if the version number of the Microsoft C/C++ compiler is 17.00.51106.1, the _MSC_VER macro evaluates to 1700. Enter cl /? at the command line to view the compiler's version number. This macro is always defined. | |
| Visual Studio version, _MSC_VER | |
| Visual Studio 6.0 1200 | |
| Visual Studio .NET 2002 (7.0) 1300 | |
| Visual Studio .NET 2003 (7.1) 1310 | |
| Visual Studio 2005 (8.0) 1400 | |
| Visual Studio 2008 (9.0) 1500 | |
| Visual Studio 2010 (10.0) 1600 |
NewerOlder