Skip to content

Instantly share code, notes, and snippets.

View a1excoder's full-sized avatar

Oleksandr Rudenko a1excoder

View GitHub Profile
@drmext
drmext / ida-macos-patcher.sh
Last active October 25, 2025 04:51
ida 9.2 macos
#!/bin/bash
ver=9.2
if ! [ -d "/Applications/IDA Professional ${ver}.app" ]; then
echo "IDA Professional ${ver}.app not installed in /Applications"
exit 1
fi
if ! plutil -lint /Library/Preferences/com.apple.TimeMachine.plist >/dev/null; then
@ayebrian
ayebrian / vmware.md
Last active October 21, 2025 17:14
VMware ESXi / Workstation / ISO Downloads

Download VMware ISOs in this repo

Also I would happy if you visit my site with tech tips!: https://hausmer.com

All license keys and activation files have been removed in accordance with GitHub's Terms of Service.

Only official trial installers are available. Bring your own license (BYOL).

@d4rken
d4rken / gist:787061bd1f059e789061224a2a886d5e
Created July 16, 2018 19:37
Tutorial for self-hosted mail servers
A collection of guides/sites/posts that you may want to look through when setting up a mail server.
### General
* https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin
### Postfix (SMTP)
* https://seasonofcode.com/posts/custom-domain-e-mails-with-postfix-and-gmail-the-missing-tutorial.html
* https://seasonofcode.com/posts/setting-up-dkim-and-srs-in-postfix.html
@htfy96
htfy96 / static_inline_example.md
Last active September 2, 2025 04:43
static inline vs inline vs static in C++

In this article we compared different behavior of static, inline and static inline free functions in compiled binary. All the following test was done under g++ 7.1.1 on Linux amd64, ELF64.

Test sources

header.hpp

#pragma once

inline int only_inline() { return 42; }
static int only_static() { return 42; }
'''
IDA plugin to display the calls and strings referenced by a function as hints.
Installation: put this file in your %IDADIR%/plugins/ directory.
Author: Willi Ballenthin <[email protected]>
Licence: Apache 2.0
'''
import idc
import idaapi
import idautils
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active October 18, 2025 10:01
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@Jekins
Jekins / Markdown-docs.md
Last active October 23, 2025 12:30
Руководство по оформлению Markdown файлов

Руководство по оформлению Markdown файлов

Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.

Заголовки

# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня
@scturtle
scturtle / polling.py
Created June 25, 2015 12:28
telegram bot (long polling)
#!/usr/bin/env python3
import requests
prefix = 'https://api.telegram.org/bot'
key = ''
geturl = prefix + key + '/getUpdates'
sendurl = prefix + key + '/sendMessage'
timeout = 60
@xebecnan
xebecnan / win32_utf8.c
Created June 16, 2015 03:25
win32: convert between wchar and utf8
wchar_t*
fromUTF8(
const char* src,
size_t src_length, /* = 0 */
size_t* out_length /* = NULL */
)
{
if(!src)
{ return NULL; }
@cevaris
cevaris / struct_as_map_key.go
Last active October 20, 2023 03:18
Golang: Using structs as key for Maps
package main
import "fmt"
type A struct {
a, b int
}
func MapStructValAsKey(){
// Notice: We are using value of `A`, not `*A`