Skip to content

Instantly share code, notes, and snippets.

View magni-'s full-sized avatar
🔥
deleting code

Paul Padier magni-

🔥
deleting code
View GitHub Profile
@magni-
magni- / update_test_titles.rb
Last active March 1, 2021 06:32
Script to update multiple Rainforest test titles with a simple find-replace
# Prerequisites:
# Ruby (https://www.ruby-lang.org/en/downloads/)
# httparty (gem install httparty)
# multi_json (gem install multi_json)
# Usage:
# RAINFOREST_API_TOKEN=<token> ruby update_test_titles.rb <find> <replace> <space-separated test IDs>
# Notes:
# Up to 100 tests at a time
# <find> may be a regular expression (https://rubular.com/)

Keybase proof

I hereby claim:

  • I am magni- on github.
  • I am magni (https://keybase.io/magni) on keybase.
  • I have a public key ASCNfv7iMyfk8duyt3IVE2fgnlLySXGhILKrfM4njFR_fAo

To claim this, I am signing this object:

@magni-
magni- / asocial.rb
Created March 25, 2016 14:07
After moving away from NY, I needed a faster way to leave all my NY meetup groups than going through them one by one on the website. Hence this script.
#!/usr/bin/env ruby
require 'json'
require 'net/http'
require 'optparse'
user_id = ENV['MEETUP_ID']
api_key = ENV['MEETUP_API_KEY']
message = nil