Skip to content

Instantly share code, notes, and snippets.

# Bot Rails Template
#
# Use this script to help generate a Rails bot.
#
# rails new rails_app -m bot_template.rb
#
run "rm Gemfile"
run "touch Gemfile"
@jfilip
jfilip / vagrant_halt.log
Created January 5, 2016 03:04
Vagrant halt not detecting machine shutdown with vagrant-parallels 1.6.0 plugin?
INFO global: Vagrant version: 1.8.1
INFO global: Ruby version: 2.2.3
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_OLD_ENV_rvm_version="1.26.11 (latest)"
INFO global: VAGRANT_OLD_ENV_SHLVL="1"
INFO global: VAGRANT_OLD_ENV_PAGER="less"
INFO global: VAGRANT_OLD_ENV_LESS="-F -g -i -M -R -S -w -X -z-4"
INFO global: VAGRANT_OLD_ENV__system_name="OSX"
INFO global: VAGRANT_OLD_ENV_rvm_bin_path="/Users/jfilip/.rvm/bin"
INFO global: VAGRANT_OLD_ENV_RUBY_VERSION="ruby-2.2.3"
@jfilip
jfilip / merged_branch_cleanup.rb
Last active February 21, 2016 05:42
Cleanup your local merged branches from a remote repository!
#!/usr/bin/env ruby
class MergedBranchCleanup
attr_reader :remote, :branch
class << self
def run(remote="origin", branch="master")
MergedBranchCleanup.new(remote, branch).start
end
@jfilip
jfilip / b_27.20140502.firefox26.txt
Created May 2, 2014 20:04
Moodle 2.7 Behat tests -- CentOS 6.5 (x86_64) / Apache 2.2.15 / PHP 5.4.27 / MariaDB 5.5.37
Moodle 2.7rc1 (Build: 20140502), mariadb, 04011431939939f74119504a6db2423848ddfa6f
Server OS "Linux", Browser: "firefox"
Started at 02-05-2014, 09:43
...................................................................... 70
...................................................................... 140
...................................................................... 210
...................................................................... 280
...................................................................... 350
...................................................................... 420
...................................................................... 490
@jfilip
jfilip / b_27.20140502.chrome34.md
Last active August 29, 2015 14:00
Moodle 2.7 Behat tests -- Ubuntu 14.10 (amd64) / Apache 2.4.7 / PHP 5.5.9 / MariaDB 5.5.36

Behat output

Moodle 2.7beta+ (Build: 20140429), mariadb, 08b90682e4f961eef2bc26ec0754caa5978a7697
Server OS "Linux", Browser: "chrome"
Started at 02-05-2014, 00:53
-----------------------------------------------....................... 70
...................................................................... 140
...................................................................... 210

...................................................................... 280

@jfilip
jfilip / b_27.20140501.firefox26.txt
Created May 2, 2014 02:43
Moodle 2.7 Behat tests -- CentOS 6.5 (x86_64) / Apache 2.2.15 / PHP 5.4.27 / MariaDB 5.5.37
Moodle 2.7beta+ (Build: 20140429), mariadb, 3409fac5ef709f0ce4640c690edb0cd8903d019b
Server OS "Linux", Browser: "firefox"
Started at 01-05-2014, 16:46
...................................................................... 70
...................................................................... 140
...................................................................... 210
...................................................................... 280
...................................................................... 350
...................................................................... 420
...................................................................... 490