pyspark-hello-world.py - GitHub Gist
GitHub Gist: instantly share code, notes, and snippets.
GitHub Gist: instantly share code, notes, and snippets.
Description: Building on the Alias RCE, there's an authentication bypass to create a database, and then login to that one. Modified from: https://www.exploit-db ...
Save nekoya/21a634619e80f1b3cbd313d25cb171e0 to your computer and use it in GitHub Desktop. Download ZIP. PyGithub cheat sheet.Show hidden characters. from github import Github.
GitHub Gist: star and fork nikhiltyagi1991's gists by creating an account on GitHub.
microgpt. GitHub Gist: instantly share code, notes, and snippets.
from github import Github, InputGitTreeElement # tested with PyGithub==1.54.1.yes, thanks @ohaval for the time savings!! a twist on this code for multiple files, I created a tree_list variable and append the new blob and tree elements in a loop. Sorry, something went wrong.
auth_bypass.py. GitHub Gist: instantly share code, notes, and snippets.
from github import Github, InputGitTreeElement # tested with PyGithub==1.54.1. g = Github(os.environ['GITHUB_TOKEN']). print(f"Authenticated as {g.get_user().login}"). org = g.get_organization('some-org').Sign up for free to join this conversation on GitHub.
May 29, 2024 · Created May 29, 2024 01:57 Fork Raw example.py Learn more about bidirectional Unicode characters # Install PyGithub via: $ pip install PyGithub from github import Github # First create a Github instance: # using an access token g = Github ("your access token here") # You can get the access token by going to github.com: # Click on your avatar -> Settings -> Developer settings -> Personal access ...
import time. from datetime import date, timedelta. import datetime. import calendar. # test code by davidbuzz, sept 2019. #NOTES:.
# # Mineria de Repositorios con GitHub. # La mayoria de librerias de este ejemplo están disponibles de manera nativa con Python 3.7+ (si lo tienes instalado). Solo será necesario instalar la librería que hace uso de la API de GitHub: # ```bash. # $ pip install PyGithub.
top-100-python.json. GitHub Gist: instantly share code, notes, and snippets.
GitHub: pygithub. Vector DB: pinecone[grpc]. LLM: openai, tiktoken.Configurable strategy patterns for extensibility. Proper separation of GitHub-specific logic. Generic content processing pipeline. Streaming-capable query responses. Comprehensive error handling and logging.
Feb 18, 2025 · Use pygithub (>= 2.6.0) with custom sign_func to generate a GitHub App JWT signed by Azure Key Vault key Raw pygithub_akv.py #!/usr/bin/env python3 # base dependencies import base64 import hashlib import json import sys # Azure SDK from azure.identity import DefaultAzureCredential from azure.keyvault.keys import KeyClient
GitHub Gist: instantly share code, notes, and snippets.
Github Automation. GitHub Gist: instantly share code, notes, and snippets.
# documents, Image Composer and FlashPix files, Outlook messages, ... # This version is compatible with Python 2.6+ and 3.x. #. # Project website: http://www ...