Skip to content

Instantly share code, notes, and snippets.

View AliAryanTech's full-sized avatar
🏠
Working from home

Alι Aryαɴ AliAryanTech

🏠
Working from home
View GitHub Profile

Mega Import Bypass

Steps

  • Add an Extensions in the any Chromium based browser: Tampermonkey - Chrome Web Store

  • Now click on the extension and select create a new script as follow:

how to leverage oracle's temping offers

free tier limits

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)

create your account

how to leverage oracle's temping offers

free tier limits

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)

create your account

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) : {}
@AliAryanTech
AliAryanTech / delete-github-deployments.md
Last active March 17, 2025 17:37
Bash script to automatically fetch, deactivate, and delete all deployments from a GitHub repository

Delete All GitHub Deployments Script

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.

Prerequisites

  • GitHub Personal Access Token: Must have repo or repo_deployment scope. 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 jq or download from jq’s site.
@AliAryanTech
AliAryanTech / delete_deployments.py
Created March 17, 2025 09:17 — forked from dedoussis/delete_deployments.py
Delete all deployments of a given GitHub repository
#!/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
@AliAryanTech
AliAryanTech / ssh-tutorial.md
Created February 22, 2025 11:28 — forked from slowkow/ssh-tutorial.md
ssh to a server without typing your password

How to ssh to a remote server without typing your password

Save yourself a few keystrokes. Follow the steps below:

  1. Run this Bash script on your laptop:

    #!/usr/bin/env bash
    

The hostname of your remote server.

@AliAryanTech
AliAryanTech / ssh-tutorial.md
Created February 22, 2025 11:28 — forked from slowkow/ssh-tutorial.md
ssh to a server without typing your password

How to ssh to a remote server without typing your password

Save yourself a few keystrokes. Follow the steps below:

  1. Run this Bash script on your laptop:

    #!/usr/bin/env bash
    

The hostname of your remote server.

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
@AliAryanTech
AliAryanTech / windows-keys.md
Created January 21, 2025 14:25 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

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.

Index