git clone [email protected]:romanblanco/manageiq.git
git remote add upstream [email protected]:ManageIQ/manageiq.git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler | |
apt-get install -y --no-install-recommends libboost-all-dev | |
apt-get install -y libatlas-base-dev | |
apt-get install -y python-dev | |
apt-get install -y libgflags-dev libgoogle-glog-dev liblmdb-dev | |
apt-get install -y libhdf5-dev | |
apt-get install -y git | |
git clone https://github.com/BVLC/caffe.git | |
cd ~/caffe | |
cp Makefile.config.example Makefile.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get ISO and verify signature | |
# - https://wiki.archlinux.org/index.php/Installation_guide#Verify_signature | |
# ============================ | |
# https://www.archlinux.org/download/ | |
gpg --keyserver-options auto-key-retrieve --verify archlinux-version-x86_64.iso.sig | |
# Preparing bootable USB | |
# - https://wiki.archlinux.org/index.php/USB_flash_installation_medium#Using_basic_command_line_utilities | |
# ====================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "your_SSID" "your_key") ; dhcpd wlan0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### RUN TESTS: | |
# PARALLEL=true bundle exec rake test:vmdb:setup | |
# PARALLEL=true bundle exec rake test:vmdb | |
--- | |
base: &base | |
adapter: postgresql | |
encoding: utf8 | |
username: root | |
pool: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- adblock | |
https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom?hl=en | |
-- json formatter | |
https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa | |
-- screenshot | |
https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl | |
-- language switcher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://manageiq.org/documentation/development/developer_setup/ | |
___ | |
# Ubuntu | |
sudo apt-get install ruby | |
sudo apt-get install git | |
sudo apt-get install memcached | |
sudo atp-get install postgresql libpq-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# manageiq/bundler.d/development.rb | |
require 'rubygems' | |
gem 'pry' | |
gem 'pry-byebug' | |
gem 'pry-rails' | |
gem 'pry-doc' | |
gem 'pry-loudmouth' | |
gem 'pry-inline' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://chartkick.com/ | |
require 'lastfm-client' | |
#require 'ap' | |
#require 'pry' | |
#require 'json' | |
LastFM.api_key = '' | |
LastFM.client_name = 'stats' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe Mixins::CheckedIdMixin do | |
describe '#find_records_with_rbac' do | |
# include tested mixin | |
let(:mixin) { Object.new.tap { |s| s.singleton_class.send(:include, described_class) } } | |
# TODO create user with rights to access vm_1 and vm_2 | |
let(:user_role) { FactoryGirl.create(:miq_user_role) } | |
let(:group) { FactoryGirl.create( | |
:miq_group, | |
:miq_user_role => user_role) | |
} |
OlderNewer