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
# Add this content on: "/etc/yum.repos.d/CentOS-Base.repo" | |
#---- Packages previously released as 4.3, and its updates | |
[base] | |
name=CentOS-4.3 - Base | |
baseurl=http://vault.centos.org/4.3/os/$basearch/ | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-4 | |
enabled=1 | |
[updates] |
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
(echo o conf prerequisites_policy follow;echo o conf commit)|cpan | |
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 | |
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 | |
yum install -y gcc perl-Digest-SHA1 perl-Digest-HMAC perl-Net-SSLeay perl-libwww-perl perl-Crypt-SSLeay openssl-perl openssl-devel system-config-date | |
cpan App::cpanminus | |
cpanm [email protected] [email protected] | |
openssl version | |
yum install gcc | |
cd /usr/src |
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
gem 'sqlite3', '~> 1.4', '>= 1.4.1' | |
gem 'guard-rspec' | |
gem 'capybara' | |
gem 'rspec-sidekiq' |
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
<%= search_form_for @q.present? ? @q : Requesting.ransack() do |f| %> | |
<div class="field"> | |
<%= f.search_field :guid_cont, class: "form-control", placeholder: "Anything..." %> | |
</div> | |
<div class="field"> | |
</div> | |
<div class="field"> |
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
version: '2' | |
services: | |
webtest: | |
build: | |
context: . | |
dockerfile: doc/docker-conf/web/Dockerfile-test | |
volumes: | |
- .:/usr/src/app | |
command: bash -c "bundle check || bundle install; rm -f /usr/src/app/tmp/pids/server.pid ; rails s -p 3000 -b 0.0.0.0" | |
environment: |
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
default: &default | |
adapter: <%= ENV["DB_ADAPTER"] || "mysql2" %> | |
encoding: utf8 | |
url: <%= ENV["DATABASE_URL"] %> | |
pool: <%= ENV["DB_POOL"] || 5 %> | |
checkout_timeout: <%= ENV["DB_TIMEOUT"] || 5 %> | |
reconnect: true | |
development: | |
<<: *default |
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
ifup eth0 | |
vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
--------------- | |
DEVICE=eth0 | |
TYPE=Ethernet | |
ONBOOT=yes | |
BOOTPROTO=dhcp | |
IPV4_FAILURE_FATAL=yes | |
--------------- |
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
Seleccionar el commit con el sourcetree. | |
git reset HEAD^ --hard | |
git push origin -f HEAD:develop |
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
[mysqld] | |
#bulk_insert_buffer_size=512M | |
# Allow external connections: | |
bind-address = 0.0.0.0 | |
# only localhost | |
bind-address = 127.0.0.1 | |
# or on mysql cli: | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; |
NewerOlder