First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :development
Then you'll want to rebuild your Docker container to install the gems
// ==UserScript== | |
// @name Slack filter messages by UID | |
// @namespace Slack | |
// @version 0.1 | |
// @description removes messages from unwanted people in slack channels and threads, or replaces them with kittens | |
// @author Octaharon <Alexander Uskov> | |
// @include https://app.slack.com/client/* | |
// @grant none | |
// ==/UserScript== |
First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails
gem 'pry-rails', group: :development
Then you'll want to rebuild your Docker container to install the gems
require 'nokogiri' | |
require 'open-uri' | |
# Get a Nokogiri::HTML:Document for the page we're interested in... | |
doc = Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove')) | |
# Do funky things with it using Nokogiri::XML::Node methods... | |
#### |