Skip to content

Instantly share code, notes, and snippets.

View zshanabek's full-sized avatar
🍉
eating watermelon

Zhunisali Shanabek zshanabek

🍉
eating watermelon
View GitHub Profile
@azagniotov
azagniotov / beautiful.rest.api.docs.in.markdown.md
Last active September 13, 2025 08:52
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
@ghandic
ghandic / fastapi_query_utils.py
Last active November 11, 2024 18:15
fastapi sortby/filter
from enum import auto
from typing import List, Optional
from collections import Counter
from fastapi_utils.enums import StrEnum
from fastapi_utils.inferring_router import InferringRouter
from pydantic import BaseModel
from fastapi import HTTPException, Query, Depends
router = InferringRouter()
@GONZOsint
GONZOsint / instagram_user_information.py
Created September 14, 2022 20:21
Script to obtain Instagram user informaption
import requests
import re
import sys
import json
def obtain_ids(user):
response = requests.get('https://www.instagram.com/' + user)
appid = re.search('appId":"(\d*)', response.text)[1]
serverid = re.search('server_revision":(\d*)', response.text)[1]
@evgenyneu
evgenyneu / setup_cursor_ubuntu.md
Last active September 11, 2025 04:47
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage