Cannot allocate memory - fork ( 2 )
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
git reset HEAD@{1}
Thanks,
Hemant Gupta
| # config/initializers/carrierwave.rb |
| CarrierWave.configure do |config| |
| config.fog_credentials = { |
| :provider => 'AWS', # required |
| :aws_access_key_id => ENV["AWS_ACCESS_KEY"], # required |
| :aws_secret_access_key => ENV["AWS_SECRET_KEY"] # required |
| } |
| config.fog_directory = ENV["AWS_BUCKET"] # required |
| end |
pg_hba.conf - it may be located, for example in /etc/postgresql-9.1/pg_hba.conf.cd /etc/postgresql-9.1/cp pg_hba.conf pg_hba.conf-backuplocal all all trustsudo /etc/init.d/postgresql restartpostgres (note, the superuser name may be different in your installation. In some systems it is called pgsql, for example.)psql -U postgresALTER USER my_user_name with password 'my_secure_password';pg_hba.conf as it is very dangerous to keep aroundcp pg_hba.conf-backup pg_hba.confpg_hba.confsudo /etc/init.d/postgresql restart