Skip to content

Instantly share code, notes, and snippets.

View 0xE0-rng's full-sized avatar

0xE0_rng 0xE0-rng

View GitHub Profile
@0xE0-rng
0xE0-rng / install.sh
Last active July 24, 2024 14:12
Script to install radare2 on a MacOS enviorment without root access
# 1. Download from https://github.com/radareorg/radare2/releases/tag/5.9.2 and place it in the same folder as this script
# 2. adjust the following paths:
# path for the installed files
INSTALL_TARGET=~/Tools/radare2-test
# where are your bniaries stored? Should be added to Path
BIN_TARGET=~/bin/
# 3. run the script
@Lukom
Lukom / email_previews.rb
Last active April 2, 2021 18:43
Preview Emails in ActiveAdmin / Rails 5.1
# app/admin/email_previews.rb
ActiveAdmin.register_page 'Email Previews' do
menu parent: 'dashboard', priority: 10
content do
div '1'
end
sidebar 'Mail Previews' do
Dir['test/mailers/previews/**/*_preview.rb'].each do |preview_path|