Skip to content

Instantly share code, notes, and snippets.

View arag0re's full-sized avatar
:shipit:
i may be slow to respond

arag0re.eth arag0re

:shipit:
i may be slow to respond
View GitHub Profile
@darconeous
darconeous / os-x-syslog-server.md
Last active April 14, 2025 15:28
Using OS X as a Syslog Server

Using OS X as a Syslog Server

This document describes how to set up an OS X to be a syslog server that logs messages from the local network. It was largely meant for my own purposes so that I don't forget what I did, but feel free to use it for your own purposes.

A problem with just "turning this on" is that you will not see the correct hostname in the syslog entries. What we will do is use

@chunter
chunter / pageant-autoload-keys-at-startup.txt
Created June 20, 2017 10:51
Make Pageant autoload keys at startup
To make Pageant automatically run and load keys at startup:
- Find the location of pageant.exe
- Windows key + R to open the 'run' dialog box
- Type: 'shell:startup' in the dialog box
- Create a shortcut to the pageant.exe and put into this startup folder.
@matthewzring
matthewzring / markdown-text-101.md
Last active July 14, 2025 18:28
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@dayt0n
dayt0n / bfrestrict.py
Last active May 27, 2025 05:14
quickly bruteforce iOS restrictions passcode
# bfrestrict.py - bruteforce iOS restrictions passcode
#
# if you don't have an unencrypted backup folder ready, just plug in the device and run this program
#
# Note: make sure you have libimobiledevice installed (we need idevicebackup2) if you plan to plug-and-play
#
# made by Dayton Hasty (c)2018
import os
import sys
import hashlib
@OothecaPickle
OothecaPickle / gist:408e292e323b5a72019d502709d6f4cd
Last active June 26, 2025 06:46
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
10: https://jike.info/topic/2631/win-10-rtm-professional-retail-oem-mak/1889?lang=en-US&page=95
9GHCK-43HBY-V9KPP-F3MHQ-33JR9
https://jike.info/post/29684
https://cony.fun/blog/38.html
https://jike.info/topic/5078/windows-7-sp1-ultimate-retail/44?lang=en-US&page=3
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
=================================================================================
. Run "Command Prompt" as Administrator
. slmgr.vbs -ipk Product Key
@aslafy-z
aslafy-z / docker-compose-systemd-unit.md
Last active February 23, 2024 15:59 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/[email protected]

[Unit]
Description=%i service with docker compose
# Requires=docker.service
# After=docker.service
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active July 14, 2025 14:23
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@arag0re
arag0re / razer_off.sh
Last active August 21, 2021 15:26
toggle-razer-on-off
echo "Razer Synapse Off"
sleep 3
sudo sed -i -e 's/<false/<true/' /Library/LaunchAgents/com.razer.rzupdater.plist
echo "Now rebooting!"
sleep 3
sudo reboot
@arag0re
arag0re / create_iso_catalina.sh
Last active May 20, 2023 22:39
create-iso-from-dmg
#!/usr/bin/env bash
# Bail at first Catalina ISO creation error
set -e
hdiutil create -o ~/Downloads/Catalina.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach ~/Downloads/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo ~/Downloads/"Install macOS Catalina".app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS Catalina"
hdiutil convert ~/Downloads/Catalina.cdr.dmg -format UDTO -o ~/Downloads/Catalina.iso
mv ~/Downloads/Catalina.iso.cdr /Volumes/"USB_STICK_NAME"/Catalina.iso
rm ~/Downloads/Catalina.cdr.dmg
@taoyuan
taoyuan / generate_self_signed_certification.md
Last active June 5, 2025 11:32
Generation of a Self Signed Certificate

Generation of a Self Signed Certificate

Generation of a self-signed SSL certificate involves a simple 3-step procedure:

STEP 1: Create the server private key

openssl genrsa -out cert.key 2048

STEP 2: Create the certificate signing request (CSR)

openssl req -new -key cert.key -out cert.csr