These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
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
| import * as stream from 'stream'; | |
| import { promisify } from 'util'; | |
| const finished = promisify(stream.finished); | |
| export async function downloadFile(fileUrl: string, outputLocationPath: string): Promise<any> { | |
| const writer = createWriteStream(outputLocationPath); | |
| return Axios({ | |
| method: 'get', | |
| url: fileUrl, | |
| responseType: 'stream', | |
| }).then(async response => { |
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
| const allContent = [] | |
| function createCSV(data, fileName) { | |
| const headers = [ | |
| 'id', | |
| 'email', | |
| 'firstName', | |
| 'lastName', | |
| 'postId', | |
| 'postText', |
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
| Visual Studio 2022 | |
| Enterprise : | |
| VHF9H-NXBBB-638P6-6JHCY-88JWH | |
| Professional: | |
| TD244-P4NB7-YQ6XK-Y8MMM-YWV2J | |
| SQL Server 2017 | |
| ---------------- | |
| Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83 |
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 python3 | |
| """ | |
| Clears all deployments from a given repo | |
| Requirements: pip install PyGithub | |
| Usage: GITHUB_ACCESS_TOKEN=${MY_PAT} REPO_NAME=twbs/bootstrap delete_deployments.py | |
| """ | |
| from github import Github |
This Bash script fetches all deployment IDs from a GitHub repository, deactivates any active deployments by setting their status to "inactive," and then deletes them using the GitHub REST API. It’s designed for my personal use but can be adapted for any repo.
- GitHub Personal Access Token: Must have
repoorrepo_deploymentscope. Generate at github.com/settings/tokens. - jq: A command-line JSON processor. Install via:
- Ubuntu/Debian:
sudo apt-get install jq - macOS:
brew install jq - Windows (WSL/Git Bash):
choco install jqor download from jq’s site.
- Ubuntu/Debian:
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
| const express = require('express') | |
| const cors = require('cors') | |
| const fs = require('fs-extra') | |
| const crypto = require('crypto') | |
| const { join } = require('path') | |
| const verification = new Map() | |
| const FILE = 'sessions.json' | |
| const sessions = fs.existsSync(FILE) ? fs.readJsonSync(FILE) : {} |
how to leverage oracle's temping offers
The limits of the free tier say that you can create up to 4 instances.
- x2 x86 instances (2core/1g)
- x2 ampere instances (with 4core/24g spread between them)
- 200GB total boot volume space across all intances (minimum of 50G per instance)