Skip to content

Instantly share code, notes, and snippets.

View Gictorbit's full-sized avatar
😎

Viktor Ghorbali Gictorbit

😎
View GitHub Profile
@Gictorbit
Gictorbit / hematpay-light.svg
Created June 5, 2026 16:48
hematpay light logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Gictorbit
Gictorbit / hematpay.svg
Created June 5, 2026 16:37
hematpay logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Gictorbit
Gictorbit / allpersiangirlnames.md
Created May 25, 2023 17:58
all persian girl names

آ

آبانا آباندخت آبگین آبگینه آبنوس آبین آبینه آپام آپاما

@Gictorbit
Gictorbit / allperianboynames.md
Created May 25, 2023 16:44
all persian boy names

آ

آبان آبتين آپتين آتا آتبين آتريداد آتمين آتور آتيلا

@Gictorbit
Gictorbit / cloudflareworker.js
Created March 8, 2023 11:57
cloudflare worker code
addEventListener(
"fetch", event => {
let url = new URL(event.request.url);
url.hostname = "Your-Replit-Address";
url.protocol = "https";
let request = new Request(url, event.request);
event.respondWith(
fetch(request)
)
}
@Gictorbit
Gictorbit / workflow.md
Last active November 12, 2022 07:24
github kanban workflow

Labels(Tags):

  • feature
  • user story
  • task
  • unit test
  • document
  • bug
  • foolad project
  • refactor
  • config
@Gictorbit
Gictorbit / attak-command.txt
Last active June 12, 2022 07:34
ssh attak
echo "attak,ip,city,location" > attak.txt && while read -r line; do myvar=$(echo "$line" | cut -d " " -f2) && echo "$line,$(geoiplookup "$myvar"|cut -d":" -f2)" || break; done<ipblock.txt | sed 's/\s/,/g'| sed 's/,,/,/g' >> attak.txt
@Gictorbit
Gictorbit / gpu-passthrough.md
Created March 25, 2022 19:20 — forked from MaxXor/gpu-passthrough.md
Arch GPU Passthrough Summary

Arch Linux GPU-Passthrough

A quick guide on how to setup a GPU-Passthorugh. Below are some of my Resources

The Arch Wiki is the goto place for additional information and performance tweaks like CPU-Pinning.

Requirements

  • IGPU or second dedicated GPU for Host system (unless you want to go the hard way and use one GPU for HOST and GUEST)
func (w *WebRtcServer) CreateNewPeerConnection(offer webrtc.SessionDescription, userID uint32, sessionKey string) (
*ClientConnection, webrtc.SessionDescription, error) {
answer := webrtc.SessionDescription{}
if len(offer.SDP) == 0 || offer.Type != webrtc.SDPTypeOffer {
return nil, answer, errors.New("invalid offer")
}
if len(sessionKey) == 0 {
return nil, answer, errors.New("invalid user token")
}
@Gictorbit
Gictorbit / digikala.py
Last active March 19, 2021 22:04
digikala login and print personal information
#! /usr/bin/env python3
import requests
from bs4 import BeautifulSoup
from pprint import pprint
from furl import furl
import sys
from prettytable import PrettyTable
import getpass
def main():