Skip to content

Instantly share code, notes, and snippets.

@drunkrhin0
drunkrhin0 / install_ruby_with_rbenv.md
Last active October 4, 2023 07:46 — forked from barnett/install_ruby_with_rbenv.md
Installing a new Ruby with rbenv on Mac OS

Install a new Ruby with rbenv on Mac OS

If you're doing stuff with Ruby on a Mac, e.g. installling Jekyll or something, by default you'll end up having to use the sudo command to do stuff, since the permission to modify the default config is not available to your user account.

This sucks and should be avoided. Here's how to fix that.

Install Homebrew

To make this better, we are going install a new, custom Ruby. This used to be a big, scary thing, but thanks to the awesome tools Homebrew and rbenv, it's a snap.*

@drunkrhin0
drunkrhin0 / Active_Directory_dump_n_crack.md
Last active July 21, 2020 03:32 — forked from 7MinSec/Active_Directory_dump_n_crack.md
Active Directory hash dump n' crack methodology

Creating AD backup dump of user accounts and hashes

Upgrade to latest version of PowerShell

Check your version with:

$Psversiontable.psversion

If you are below Major: 5, Minor:1 head to Microsoft's download site to get the latest.