Skip to content

Instantly share code, notes, and snippets.

View ramazansancar's full-sized avatar
๐Ÿ“š
Study

Ramazan Sancar ramazansancar

๐Ÿ“š
Study
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active July 17, 2026 18:23
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@regstuff
regstuff / transcriber_setup_on_azure_vm.sh
Created February 10, 2024 06:53
Setup for a VM on Azure to use as a transcriber
#!/bin/bash
# Modify your app.py to run on port 80 if you don't want to open up ports in Azure networking. You'll need sudo (as below) to run the flask server on port 80. Consider setting up an NGINX reverse proxy instead. Remove sudo in the crontab and install entries below if not using port 80.
# You'll also have to change the reset command to work with sudo too if using port 80: echo whateverpassword | sudo -S -u whateverusername screen -S screen_to_test -X quit
sudo apt update
sudo apt install -y python3-pip git-lfs ffmpeg python3-venv
pip install flask
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
mkdir sgtranscribe
mkdir livetranscribe
@C4illin
C4illin / Latest Steam Games
Last active July 23, 2026 19:34
Latest Steam Games
a/4447550
s/1633760
s/1670560
s/1651366
a/3465450
a/4265240
s/1598711
a/4182710
a/3408170
s/1641364
@Leinnan
Leinnan / gist:f9f2185a8038b207e3e444e123bdf52e
Created November 9, 2023 16:42
Import github repos to gitea
#!/bin/bash
GITHUB_USERNAME=
GITHUB_TOKEN=
GITEA_USERNAME=
GITEA_TOKEN=
GITEA_DOMAIN=
GITEA_REPO_OWNER=
@Bluscream
Bluscream / selfcert.sh
Created October 26, 2023 08:26
Self-Signed wildcard certificate generator
#!/bin/bash
# Create the openssl.cnf file
cat > openssl.cnf << EOF
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
[req_distinguished_name]
commonName = Common Name (e.g. server FQDN or YOUR name)
@0187773933
0187773933 / GoogleMapsSearchWithFilters.py
Last active July 30, 2025 12:56
Google Maps Location Search With Filters
#!/usr/bin/env python3
import requests
import json
import time
API_KEY = "asdf"
def miles_to_meters( miles ):
return ( miles * 1609.34 )
@Bluscream
Bluscream / generator.html
Last active January 7, 2024 13:18
Github Compare link/URL generator
<!DOCTYPE html>
<html>
<!-- Example: http://minopia.de/gh/compare/?base=https://github.com/IKennyAgain/iw4x_waypoints/tree/master&compare=https://github.com/xlabs-mirror/iw4x-bot-waypoints/tree/master -->
<head>
<meta charset="UTF-8">
<title>GitHub Compare URL Generator</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<style>
.dark-mode {
background-color: rgb(71, 71, 71);
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active July 16, 2026 07:37
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
# from flask import Flask, request, render_template
In [2]:
app = Flask(__name__)
In [ ]:
@app.route('/')
def home():
return render_template('index.html')
In [ ]: