Skip to content

Instantly share code, notes, and snippets.

View Alekseyyy's full-sized avatar
👩‍💻
fucking irate

Aleksey Alekseyyy

👩‍💻
fucking irate
View GitHub Profile
@borzacchiello
borzacchiello / DecompilerExporter.java
Last active August 2, 2026 01:48
Ghidra script to export C pseudo-code on multiple files, including defined types
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A

tldr: I'm a woman and go by she/her pronouns. My name is Astrid!

Coming out

So there's something I have hid from the internet for over 2 years. I'm trans, I am a woman, and my name is Astrid. I didn't hide it because I thought most people would hate me for it, I hid it because I was scared people would have pre-conceived notions about me and not really understand. Through this, I fragmented the internet with my deadname more and more, and it is something I am actively mopping up now, but now is the time to fix it for a few reasons:

  1. I cannot pretend to be a guy in some circles anymore: I didn't realise how much of a mental toll it had on me until recently when I woke up and realised I needed to come out. I have came out to many people already, and everyone I have came out to has been amazing. I am so thankful to be in the tech circle and have amazing friends who I know will make sure everything is going to be okay.
  2. It's doing a disservice to me and all you: I feel like I could not go to events befor
library(survival)
# ---
# Parameters
# ---
# number of individuals
n = 50e3
# desired hazard ratio
HR = 1.64
beta = log(HR)
@artfulhacker
artfulhacker / gist:a6eb800e58f2eb6f9231
Created August 5, 2014 00:50
Military/Government IP Blocks
<?php
// Group detection by IP address
//
// [Region Abbreviation, Military/Government]
// Force Varnish to NEVER Cache this page
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// JSON Headers
@viovanov
viovanov / web-server-one-line.ps1
Created August 26, 2015 21:10
one liner for a powershell server
$l = New-Object System.Net.HttpListener ; $l.Prefixes.Add("http://+:8080/"); $l.Start(); while ($l.IsListening) { $c = $l.GetContext() ; $q = $c.Request; Write-Output (date); $r = $c.Response ; $m = [System.Text.ASCIIEncoding]::ASCII.GetBytes(((gci -path env:*) | Out-String)); $r.ContentLength64 = $m.Length ; $r.OutputStream.Write($m, 0, $m.Length) ; $r.OutputStream.Dispose(); }