Skip to content

Instantly share code, notes, and snippets.

View egeucak's full-sized avatar
👨‍💻
Coding

ege uçak egeucak

👨‍💻
Coding
View GitHub Profile
@cobanov
cobanov / unfollowers
Last active March 6, 2025 10:39
instagram unfollowers
(()=>{"use strict";var e={100:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(601),o=n.n(r),a=n(314),l=n.n(a)()(o());l.push([e.id,".with-app-header,html .iu .app-sidebar,html .iu .results-container,html .iu .unfollow-log-container{padding-top:4rem !important}.flex,html .iu .app-header,html .iu .app-header-content,html .iu .app-sidebar,html .iu .results-container .result-item,html .iu .tabs-container{display:flex}.flex.align-center,html .iu .align-center.app-header,html .iu .align-center.app-sidebar,html .iu .align-center.tabs-container,html .iu .app-header-content,html .iu .results-container .result-item{align-items:center}.flex.justify-center,html .iu .justify-center.app-header,html .iu .justify-center.app-header-content,html .iu .justify-center.app-sidebar,html .iu .results-container .justify-center.result-item,html .iu .justify-center.tabs-container{justify-content:center}.flex.column,html .iu .column.app-header,html .iu .column.app-header-content,html .iu .results-container .column.result-item,html .iu .column.tabs-co
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nymous
nymous / README.md
Last active December 16, 2025 17:05
Logging setup for FastAPI, Uvicorn and Structlog (with Datadog integration)

Logging setup for FastAPI

This logging setup configures Structlog to output pretty logs in development, and JSON log lines in production.

Then, you can use Structlog loggers or standard logging loggers, and they both will be processed by the Structlog pipeline (see the hello() endpoint for reference). That way any log generated by your dependencies will also be processed and enriched, even if they know nothing about Structlog!

Requests are assigned a correlation ID with the asgi-correlation-id middleware (either captured from incoming request or generated on the fly). All logs are linked to the correlation ID, and to the Datadog trace/span if instrumented. This data "global to the request" is stored in context vars, and automatically added to all logs produced during the request thanks to Structlog. You can add to these "global local variables" at any point in an endpoint with `structlog.contextvars.bind_contextvars(custom

@tajnymag
tajnymag / tinder.user.js
Last active December 2, 2025 16:42
Tinder Deblur Userscript (ARCHIVED and DEPRECATED, see https://github.com/tajnymag/tinder-deblur)
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/*
// @grant none
// @version 1.4
// @author Tajnymag
// @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js
// @description Simple script using the official Tinder API to get clean photos of the users who liked you
// ==/UserScript==
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active January 1, 2026 01:53
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@bshishov
bshishov / forecasting_metrics.py
Last active October 31, 2025 02:26
Python Numpy functions for most common forecasting metrics
import numpy as np
EPSILON = 1e-10
def _error(actual: np.ndarray, predicted: np.ndarray):
""" Simple error """
return actual - predicted
@cvan
cvan / webgl-detect-gpu.js
Last active December 9, 2025 18:37
use JavaScript to detect GPU used from within your browser
var canvas = document.createElement('canvas');
var gl;
var debugInfo;
var vendor;
var renderer;
try {
gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
} catch (e) {
}
@marekrei
marekrei / caffe_feature_extractor.py
Created June 22, 2015 00:12
Caffe feature extractor
import numpy as np
import os, sys, getopt
# Main path to your caffe installation
caffe_root = '/path/to/your/caffe/'
# Model prototxt file
model_prototxt = caffe_root + 'models/bvlc_googlenet/deploy.prototxt'
# Model caffemodel file
@fperez
fperez / ProgrammaticNotebook.ipynb
Last active March 20, 2025 03:57
Creating an IPython Notebook programatically
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.