Skip to content

Instantly share code, notes, and snippets.

View christianrojas's full-sized avatar

Christian Rojas christianrojas

View GitHub Profile
ruby(7569) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
[root@carmary ~]# yum install ffmpeg-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.atlanticmetro.net
* atomic: www4.atomicorp.com
* base: mirrors.unbornmedia.com
* extras: holmes.umflint.edu
* updates: centos.corenetworks.net
Setting up Install Process
Resolving Dependencies
[root@carmary ~]# vi /etc/yum.repos.d/dag.repo
[root@carmary ~]# yum install ffmpeg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.atlanticmetro.net
* atomic: www4.atomicorp.com
* base: mirrors.unbornmedia.com
* extras: holmes.umflint.edu
* updates: centos.corenetworks.net
dag | 1.1 kB 00:00
sshLast login: Wed Feb 3 16:43:57 on ttys001
SystemikCode: [~]
$ > ssh [email protected]
[email protected]'s password:
Last login: Wed Feb 3 16:46:33 2010 from 190.67.31.132
############################################################
(mt) shortcuts
############################################################
To see your Plesk password, type: p
Chat History with Rachel Roberts (rachelrobertsey)
Created on 2010-01-26 18:26:37.
2010-01-26
christianrojasgar: 17:48:17
hi rachel
Rachel Roberts: 17:49:08
Hello!
christianrojasgar: 17:49:57
Hi Christian,
I see you spoke with Manpreet on Live Chat today, unfortunately I don't speak spanish either but if you speak english I'd be happy to help with a phone call or Skype Call (See my Skype name below):
Otherwise you can e-mail me any questions you may have.
Let me know how I can help.
Best,
Rachel
Please wait for a site operator to respond.
You are now chatting with 'Manpreet'
Manpreet: Hi Christian
Manpreet: How are you doing today?
Manpreet: How may I be of service to you?
Christian Rojas: fine thanks
Christian Rojas: do you speak spanish?
Christian Rojas: i like to know if can i setup my application by hours
Manpreet: hi
Manpreet: No, I do not speak Spanish
Please wait for a site operator to respond.
You are now chatting with 'Manpreet'
Manpreet: Hi Christian
Manpreet: How are you doing today?
Manpreet: How may I be of service to you?
Christian Rojas: fine thanks
Christian Rojas: do you speak spanish?
Christian Rojas: i like to know if can i setup my application by hours
Manpreet: hi
Manpreet: No, I do not speak Spanish
require "time"
require "date"
now = DateTime.now
day = now.day
month = now.month
year = now.year
hour = now.hour
require 'net/ftp'
ftp = Net::FTP.open('host' ) do |ftp|
ftp.login('user','password')
list = ftp.nlst(ftp.pwd)
list.each do |name|
puts name
end
end