Skip to content

Instantly share code, notes, and snippets.

View robinroy03's full-sized avatar
💫
Building

Robin Roy robinroy03

💫
Building
View GitHub Profile
@HarishChandran3304
HarishChandran3304 / venv.md
Created October 3, 2023 12:01
Cheat sheet for python venv commands

Python Venv Cheat Sheet

Create a new venv:

$ python3 -m venv venv

Activate venv:

$ source ./venv/bin/activate
@SMUsamaShah
SMUsamaShah / list_of_p2p_file_sharing.md
Last active March 24, 2026 16:36
List of P2P file sharing tools

Browser Based

  1. Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
  2. Localsend https://web.localsend.org/
  3. FilePizza https://file.pizza/
  4. ShareDrop sharedrop.io https://github.com/szimek/sharedrop (SOLD, not recommended, use one of the forks)
    1. A clone SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop (SOLD, not recommended, use one of the forks)
      1. A fork PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
  5. ToffeeShare https://toffeeshare.com/
  6. Instant.io https://instant.io/
@gbaman
gbaman / graphql_example.py
Created November 1, 2017 00:18
An example on using the Github GraphQL API with Python 3
# An example to get the remaining rate limit using the Github GraphQL API.
import requests
headers = {"Authorization": "Bearer YOUR API KEY"}
def run_query(query): # A simple function to use requests.post to make the API call. Note the json= section.
request = requests.post('https://api.github.com/graphql', json={'query': query}, headers=headers)
if request.status_code == 200: