Displaying 20 results from an estimated 600 matches similar to: "Find String Between Characters"
2009 Jun 07
17
ActiveRecord Classes
I''m having a little trouble with understanding how to work out the
schematic for some of my classes using ActiveRecord when a file is in my
lib directory:
Brief example:
Here''s the outline of the files in use:
....app
........controllers
............application_controller.rb
............rushing_offenses_controller.rb
........models
............rushing_offense.rb
....lib
2009 Jun 06
5
Rake Tasks
Hi Everyone,
I just need some further help clarifying a custom rake task I''m building
and the logistics of how it should be working.
I''ve created a custom rake task in libs/tasks called scraper.rake which
so far just contains the following:
desc "This task will parse data from ncaa.org and upload the data to our
db"
task :scraper => :environment do
# code goes
2006 Jan 10
1
OT: Scraper library recommendation
Hi all,
this is quite off-topic, but I''m sure a lot of people here has experience
in the area, so...
I''m writing a website scraper script that needs to download a web page,
traverse the (X)HTML tree and finally insert data and HTML pieces into
a DB. Eventually this data will be served up as RSS and/or Atom.
I''m currently using html/tree (htmltools); I''ve also
2006 Dec 31
0
backgroundrb 0.2.1 doesn''t always load rails environment
I found this stack trace in my logs. My worker name is MiscWorker,
and Qualifier is a Rails model.
uninitialized constant MiscWorker::Qualifier: /Users/bryan/
Workspace/sandbox/scraper-trunk/config/../vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:476:in
`const_missing''
/Users/bryan/Workspace/sandbox/scraper-trunk/lib/workers/
2016 Sep 28
2
Good Bye SAMBA?!?!?
Am 28.09.2016 um 04:01 schrieb Steve Litt via samba:
> Why would ANYBODY type a command when they could perform a bunch of
> mouse clicks. Better yet, you can automate Windows tools with a screen
> scraper and a keyboard injector, or with a top notch language like
> Powershell or Visual Basic
*lol*
why would ANYBODY click in a GUI when he have a console - and i mean
that really
2010 Aug 01
0
ScrapeR Unanticipated XML objects
Dear All,
I have come across a very surprising result as I have started to learn how
to use R to pull data from the web for analysis.
I am trying to isolate that table headers for the quarterly income
statement (qtrinc) that I pulled from Google finance. I executed the
following commands after installing the scrapeR package.
require(scrapeR)
2012 May 28
1
Rcurl, postForm()
Dear colleagues,
Could I get some assistance using postForm() to scrape the business names and addresses at this website:
http://www.brantford.ca/business/LocalBusinessCommunity/Pages/BusinessDirectorySearch.aspx
I've read through (http://www.omegahat.org/RCurl/RCurlJSS.pdf) and scoured the web for tutorials, but I can't crack it. I'm aware that this is probably a pretty basic
2011 Jan 26
1
Error handling with frozen RCurl function calls + Identification of frozen R processes
Dear list,
I'm tackling an empiric research problem that requires me to address a whole
bunch of conceptual and/or technical details at the same time which cuts
time short for all the nitty-gritty details of the "components" involved.
Having said this, I'm lacking the time at the moment to deeply dive into
parallel computing and HTTP requests via RCurl and I hope you can help me
2007 May 11
0
The Soup - new rails community resource
Greetings all,
I am pleased to announced The Soup - http://the-soup.net/ - a tasty
new resource for the Rails Community.
About
Are you a Talented person that is looking for new and interesting
projects to work on? Are you a Project Sponsor that is looking to
build quality relationships in anticipation of your next hiring cycle?
Inspired by the story of The Stone Soup, The Soup provides a
2013 Jul 02
2
[ANNOUNCE] libdrm 2.4.46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Release because I want the cursor ioctls released,
also haswell and radeon ids.
Alex Deucher (3):
radeon: add CIK chip families
radeon: add Bonaire pci ids
radeon: add kabini pci ids
Damien Lespiau (3):
intel/aub: Sync the AUB defines with mesa's
intel/aub: Return early if we disable aub dumps
intel/aub:
2015 Mar 30
2
[LLVMdev] Color diagnostics
Hi Hans,
I used the official Ubuntu binary:
http://llvm.org/releases/3.6.0/clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
Seems to me that it should be an optional dependency. If the target system
has tinfo or ncurses, it should use it, otherwise fallback to no color.
On Mon, Mar 30, 2015 at 6:02 PM, Hans Wennborg <hans at chromium.org> wrote:
> Hi Perry,
>
> On Mon, Mar
2009 Dec 19
1
accessing another controller's data
Hello everybody,
I''m ruby/ror newbie
I''m trying to generate a site map of a website. Website is divided to
three parts (each has own controller). In every controller(in init
action) is variable @left_menu, which is a hash containing a sub-
navigation of current part of the site.
The problem is that to generate the site-map i need to access
@left_menu in father controller (root)
2008 Apr 18
1
create raid /dev/md2
Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added 2
new disks, fdisked , created 2 primary partitions with type fd (linux raid
autodetect)
Now i want to create raid from them
root at vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1
/dev/sdd1
mdadm: error opening /dev/md2: No such file or directory
will return that error, what shouldi do?
Thanks!
2008 Apr 21
2
enable bootsplash
Hi, how do i enable boot splash (graphical boot) in CentOs5.1 ?
I am in init 5, i have updated from minimal install to GNOME using yum
groupinstall.
Thanks in advance!
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080421/233d6fc4/attachment-0001.html>
2009 Jul 23
2
apache redirect rule
Hello guys,
sorry for this OT, but It seems that I am a very stupid :(.
I want to achieve one simple think in apache 2.2.
If users will type extensions.polarion.com I want to redirect him to
extensions.polarion.com/polarion/extensions However there are
following rules that apply
1) extensions.polarion.com is an virtual host alias to
community.polarion.com . There is a definition inside virtual
2008 Mar 20
1
build custom kernel
Hi guys!
i followed tutorial for building custom kernel for centos5
http://howtoforge.com/kernel_compilation_centos with lastest kernel
downloaded from kernel.org .
in menuconfig i used /boot/config-(mycurrentcentoskernel) as a
configuration. then i compiled with make rpm.
Result was ok, but my kernel was about 400MB of size! :(
Next problem was that alltought i we had ip_nat as a module selected
2007 May 16
0
Rake Namespaces - How to keep them separate?
Good morning,
In our app we have a number of custom Rake tasks living in lib/tasks.
Each has a different namespace, but if I do this (yes, I know, global
variables bad):
namespace :spider_uk_foo do
@ss = Scraper.new
@ss.set_name
task :perform do
end
end
Then @ss.set_name is run when running any other rake file, though each
has a different namespace.
@ss would also appear to be
2016 Sep 28
0
Good Bye SAMBA?!?!?
On Tue, 27 Sep 2016 16:02:15 -0300
Gilberto Nunes via samba <samba at lists.samba.org> wrote:
> Hi list
>
> I am sad, today! I start to study how windows deal with CIFS, Active
> Directory and DFS, I just decide follow the other path!
> I will give a try to windows tools....
> The question is: why Linux doesn t have such tools to help and improve
> server
2012 May 11
0
Using xpathapply or getnodeset to get text between two distinct tags
Hello:
The following code extracts the links to the daily transcripts of Canada's House Of Commons. 'links' is a matrix of URLs (ncol=1), each of which points to one day's transcripts.
If you inspect the code for scrape(links[1]), you will find that periodically there appears an italicitze tag after a paragraph tag (<p some text ><i>Translation</i></p>.
2014 Oct 22
1
display force off - kernel 3.18
http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=4d60422
also broken with this commit