Skip to content

Instantly share code, notes, and snippets.

@openstrike
openstrike / stretchoid.lis
Last active January 3, 2025 03:20
Stretchoid IP addresses at Azure
# Stretchoid are now at Azure. You could block all of Azure and very
# little of value would be lost. However, if you fancy being just a
# touch more circumspect, here is a list of some of the stretchoid IP
# addresses at time of posting
4.151.33.202
4.151.33.203
4.151.36.112
4.151.36.113
4.151.36.250
4.151.36.251
@jboner
jboner / latency.txt
Last active January 3, 2025 03:19
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@stephancasas
stephancasas / CustomMenuBarExtraCornerMask.swift
Last active January 3, 2025 03:19
A SwiftUI MenuBarExtra window with custom corners
//
// MenuBarTestApp.swift
// MenuBarTest
//
// Created by Stephan Casas on 7/7/23.
//
import SwiftUI
@main
@Visnusah
Visnusah / first.java
Created January 1, 2025 07:23
TeamWarica
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
@bartleby
bartleby / iOS URL Schemes
Created August 22, 2018 17:48
iOS URL Schemes
URL Schemes
Apple
 
Apple Music     — music://geo.itunes.apple.com/us/albums/<albumID>
                – music://geo.itunes.apple.com/us/artists/<artistID>
 
Apple News      — applenews://
App Store       — itms-apps://itunes.apple.com/app/<appID>
Apple TV        — videos://
#Checks system calls for command injection patterns
#@author
#@category HackOvert
#@keybinding
#@menupath
#@toolbar
from ghidra.app.decompiler import DecompileOptions
from ghidra.app.decompiler import DecompInterface
from ghidra.program.model.pcode import Varnode
'BAL#000': 'ADD_OVERFLOW',
'BAL#001': 'SUB_OVERFLOW',
'BAL#002': 'SUB_UNDERFLOW',
'BAL#003': 'MUL_OVERFLOW',
'BAL#004': 'ZERO_DIVISION',
'BAL#005': 'DIV_INTERNAL',
'BAL#006': 'X_OUT_OF_BOUNDS',
'BAL#007': 'Y_OUT_OF_BOUNDS',
'BAL#008': 'PRODUCT_OUT_OF_BOUNDS',
'BAL#009': 'INVALID_EXPONENT',
@ammarshah
ammarshah / all_email_provider_domains.txt
Last active January 3, 2025 03:12
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@chenshengzhi
chenshengzhi / git_ssh_proxy.md
Last active January 3, 2025 03:12
git ssh 代理设置

仅为 GitHub 设置代理

git 代理

设置 git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:

[http "https://github.com"]
    proxy = socks5://127.0.0.1:1086