〰️ 〰️ 〰️ 〰️ 🔱 〰️ 〰️ 〰️ 〰️
〰️ 〰️ 〰️ 🔥 🌀 🍃 〰️ 〰️ 〰️
〰️ 〰️ 🔥 〰️ ☁️ 〰️ 🍃 〰️ 〰️
〰️ 〰️ 🔥 〰️ ⚡ 〰️ 🍃 〰️ 〰️
〰️ 〰️ 〰️ 🔥 🎶 🍃 〰️ 〰️ 〰️
| #!/usr/bin/env ruby | |
| require 'fileutils' | |
| path_base = ARGV[0] || '~/Sources' | |
| server_path = ARGV[1] | |
| repo_list = ARGV[2] || 'svn_repo_list' | |
| svn_dir = File.expand_path File.join(path_base,'/svn') | |
| git_dir = File.expand_path File.join(path_base,'/git') | |
| unless File.exists? auth_file |
| #!/usr/bin/env ruby | |
| require 'fileutils' | |
| # these are the folders containing all your images | |
| if ARGV.size == 2 |
| --- | |
| :mailboxes: | |
| - | |
| :email: "[email protected]" | |
| :password: "pasword" | |
| :name: "inbox" | |
| # :name: "BIZ/Career" | |
| :delivery_method: logger | |
| :log_path: "/var/www/rails/test_app/log/email.log" | |
| # :delivery_url: "http://www.test_app.com/for/my_gmail_user/collect" |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.myapp</string> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>KeepAlive</key> | |
| <true/> |
〰️ 〰️ 〰️ 〰️ 🔱 〰️ 〰️ 〰️ 〰️
〰️ 〰️ 〰️ 🔥 🌀 🍃 〰️ 〰️ 〰️
〰️ 〰️ 🔥 〰️ ☁️ 〰️ 🍃 〰️ 〰️
〰️ 〰️ 🔥 〰️ ⚡ 〰️ 🍃 〰️ 〰️
〰️ 〰️ 〰️ 🔥 🎶 🍃 〰️ 〰️ 〰️
The situation arose where our Certifier gem would not bundle install
Could not find gem 'rspec-core (= 2.5.1, runtime)' in any of the gem sources listed in your Gemfile.
Our gemserver (non-rubygems) only had
Analysis: someone had an old gem installed via rubygems, and didn't run bundle update when building the latest certifier. This used to be solved by maintaining the full-history of dependencies on our gemserver.
| ######## | |
| # This file script wil show you how to install Ruby Enterprise Edition (REE) 1.8.7-2011-12 with | |
| # rbenv, rails 3 and homebrew. Bundler is also used. | |
| ######## | |
| #setup the installer environment | |
| brew install wget | |
| wget -q http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.12.tar.gz | |
| tar xzf ruby-enterprise-1.8.7-2011.12.tar.gz |
| # I've compiled this in order to test the speed on using a BidDecimal, which some in the community assert is slower than using a float. | |
| # So far, it looks like BigDecimal is faster, and I've created this file to solicit feedback. Cheers. | |
| run_size = 10000 | |
| p_fin = [] | |
| p_fin << "Each run #{run_size}" | |
| t1 = Time.now | |
| run_size.times do | |
| r = BigDecimal.new |