Skip to content

Instantly share code, notes, and snippets.

require 'simple-rss'
class Parser
puts "parser"
class RssParser
puts "rss_parser"
def self.perform(rss_url)
begin
### RAKEFILE
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
May 16 20:13:38 phonemyphone kernel: Out of Memory: Kill process 25482 (mysqld) score 32570 and children.
May 16 20:13:38 phonemyphone kernel: Out of memory: Killed process 25482 (mysqld).
May 16 20:13:45 phonemyphone mysqld_safe[25581]: Number of processes running now: 0
May 16 20:13:45 phonemyphone mysqld_safe[25584]: restarted
May 16 20:13:56 phonemyphone mysqld[25587]: 110516 20:13:55 InnoDB: Database was not shut down normally!
May 16 20:13:56 phonemyphone mysqld[25587]: InnoDB: Starting crash recovery.
May 16 20:13:56 phonemyphone mysqld[25587]: InnoDB: Reading tablespace information from the .ibd files...
May 16 20:13:57 phonemyphone mysqld[25587]: InnoDB: Restoring possible half-written data pages from the doublewrite
May 16 20:13:57 phonemyphone mysqld[25587]: InnoDB: buffer...
May 16 20:15:35 phonemyphone kernel: Out of Memory: Kill process 25586 (mysqld) score 19747 and children.
~/.my.cnf already exists!
Replace ? [y/N] : y
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -
MySQL Version 5.0.32-Debian_7etch5-log i486
QUEUE=scraper RAILS_ENV=backend rake resque:work --trace
(in /var/www/dev1/releases/20110519010406)
** Invoke resque:work (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:work
rake aborted!
undefined method `get' for nil:NilClass
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-2.3.11/lib/active_support/whiny_nil.rb:52:in `method_missing'
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/gems/redis-namespace-1.0.3/lib/redis/namespace.rb:213:in `send'
source 'http://rubygems.org'
gem "rails", "2.3.11"
gem 'money', '3.6.1'
gem 'whenever', '0.6.7'
gem 'paperclip', '2.3.11'
gem 'JasonKing-inline_attachment'
gem 'ruby-gmail', '0.2.1'
gem 'rest-client', '1.6.1'
gem 'resque', '1.16.1'
sudo ./hma-start "USA, Texas, Dallas (DC1 S1)"
Tue May 24 21:19:35 2011 OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010
Enter Auth Username:chasetoys
Enter Auth Password:
Tue May 24 21:20:10 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 24 21:20:10 2011 WARNING: file './keys/hmauser.key' is group or others accessible
Tue May 24 21:20:10 2011 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue May 24 21:20:12 2011 Control Channel MTU parms [ L:1543 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue May 24 21:20:12 2011 Data Channel MTU parms [ L:1543 D:1450 EF:43 EB:4 ET:0 EL:0 ]
Tue May 24 21:20:12 2011 Local Options hash (VER=V4): 'db02a8f8'
-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.1.41-3ubuntu12.10
[OK] Operating on 32-bit architecture with less than 2GB RAM
-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 7B (Tables: 1)
[--] Data in InnoDB tables: 312M (Tables: 44)
[!!] Total fragmented tables: 44
45777095 4 drwxr-xr-x 2 root root 4096 May 27 09:40 /etc/rc0.d/
45778571 0 lrwxrwxrwx 1 root root 15 May 16 11:49 /etc/rc0.d/K85bind9 -> ../init.d/bind9
45777106 0 lrwxrwxrwx 1 root root 18 May 16 10:57 /etc/rc0.d/K19sendmail -> ../init.d/sendmail
45777100 0 lrwxrwxrwx 1 root root 20 May 16 10:57 /etc/rc0.d/S35networking -> ../init.d/networking
45786267 0 lrwxrwxrwx 1 root root 19 May 16 11:39 /etc/rc0.d/K20denyhosts -> ../init.d/denyhosts
45777105 0 lrwxrwxrwx 1 root root 19 May 16 10:57 /etc/rc0.d/K20saslauthd -> ../init.d/saslauthd
45777098 0 lrwxrwxrwx 1 root root 14 May 16 10:57 /etc/rc0.d/S90halt -> ../init.d/halt
45777101 0 lrwxrwxrwx 1 root root 18 May 16 10:57 /etc/rc0.d/S20sendsigs -> ../init.d/sendsigs
45776900 0 lrwxrwxrwx 1 root root 19 May 27 09:40 /etc/rc0.d/S10vzquota -> /etc/init.d/vzquota
45777103 0 lrwxrwxrwx 1 root
Jun 24 16:39:29 LilArooni pulseaudio[1469]: module-alsa-card.c: Failed to find a
working profile.
Jun 24 16:39:29 LilArooni pulseaudio[1469]: module.c: Failed to load module "mo
dule-alsa-card" (argument: "device_id="29" name="platform-thinkpad_acpi" card_na
me="alsa_card.platform-thinkpad_acpi" tsched=yes ignore_dB=no card_properties="m
odule-udev-detect.discovered=1""): initialization failed.