Skip to content

Instantly share code, notes, and snippets.

View bensheldon's full-sized avatar
🏊‍♂️
Swimming through code.

Ben Sheldon [he/him] bensheldon

🏊‍♂️
Swimming through code.
View GitHub Profile
@bensheldon
bensheldon / add-geekbot-questions.js
Last active July 11, 2023 18:40 — forked from JoseInTheArena/add-geekbot-questions.js
Script for adding questions to a geekbot random question type
/**
* Disclaimer: This works as of the date of writing (7/11/2023) but there's no guarantees it will work in the future
* as it depends on selectors on geekbot's web UI, which may change at any time. Use at your own risk.
*
* To use this:
* 1. Navigate to your geekbot random question settings and click "Edit questions"
* so that you see a list of input fields and an "+ Add question" button
* 2. Open your devtools
* 3. Pasting this script into the console

Install Rails 3.1 RC

gem install rails --pre

generate new app, skipping Test::Unit file generation

rails new my_app -T

Set up Gemfile