Skip to content

Instantly share code, notes, and snippets.

View roadhouse's full-sized avatar

Jean Uchôa roadhouse

View GitHub Profile
##################################################
# Extra tools
# $ sudo apt install -y kali-linux-default bloodhound bloodhound-ce-python chisel chisel-common-binaries dirsearch enum4linux-ng feroxbuster goshs grc iputils-ping mssqlpwner nishang peass powercat rlwrap rubeus seclists shellter sharphound sshpass
# urlencode:
# $ sudo apt install gridsite-clients
# csharp:
# $ sudo apt install mono-csharp-shell mono-mcs
# Install flatpak
# -> https://www.kali.org/docs/tools/flatpak/
# Python2 pip
@matthewjberger
matthewjberger / instructions.md
Last active May 16, 2025 08:44
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@rogerleite
rogerleite / gemfile_inline.rb
Created July 3, 2015 14:21
Template for ruby script with Gemfile inline and thor to map actions and arguments
#!/usr/bin/env ruby
begin
require "bundler/inline"
rescue LoadError => e
puts "You should install bundler with >= 1.10.3 version."
puts "* Current Ruby: #{`ruby -v`}"
puts "* Current Bundler: #{`gem list bundler`}"
puts "* Original Exception: \"#{e.message}\""
exit 1
@fnando
fnando / controller_made_by_unicorns.rb
Created September 2, 2012 14:25
Just a refactored controller that uses a custom responder instead of those nasty respond_to blocks.
class NotesController < ApplicationController
self.responder = NotesResponder
def create
@page = Page.find(params[:page_id])
@note = page.notes.create(params[:note])
respond_with(@note, :location => page_path(@page))
end
end