Skip to content

Instantly share code, notes, and snippets.

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

sachin shinde sacOO7

🏠
Working from home
View GitHub Profile
@sacOO7
sacOO7 / clientx.py
Created February 12, 2024 09:06 — forked from neilsh/clientx.py
Locust http2 client
# for HTTP/2 support in locust
# https://github.com/locustio/locust/issues/264
# https://gist.github.com/gawel/f48e577425f872e1a81028f3f53353cf#file-clientx-py
# has modifications to support breaking changes from locust 2.15.0
import re
import time
from locust import User
from locust.exception import LocustError
import httpx
@sacOO7
sacOO7 / AtomicInteger.swift
Created January 6, 2018 20:18 — forked from nestserau/AtomicInteger.swift
Atomic way to operate on integers in Swift. Inspired by Java's AtomicInteger
/// This is free and unencumbered software released into the public domain.
///
/// Anyone is free to copy, modify, publish, use, compile, sell, or
/// distribute this software, either in source code form or as a compiled
/// binary, for any purpose, commercial or non-commercial, and by any
/// means.
///
/// In jurisdictions that recognize copyright laws, the author or authors
/// of this software dedicate any and all copyright interest in the
/// software to the public domain. We make this dedication for the benefit