similar to: how to count occurrences of string?

Displaying 20 results from an estimated 3000 matches similar to: "how to count occurrences of string?"

2011 Jul 20
2
Variable assigned to grep output - missing letter n!
This is kind of odd. [scarolan at host:~]$ cat loremipsum.txt Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis ipsum sed elit laoreet malesuada. Quisque rhoncus dui vitae eros euismod fermentum sollicitudin sem scelerisque. Nulla facilisi. Maecenas mollis pulvinar euismod. Duis viverra pharetra turpis eget feugiat. Nulla facilisi. Nullam facilisis, felis vitae lacinia
2008 Apr 09
5
Peculiar Hpricot error in Rails app
Hi, I have been stumped by this error Hpricot is generating in my rails app. The error looks like this: $ script/console Loading development environment (Rails 2.0.2) >> str = ''<p>lorem ipsum <a href="http://dolor.com/">dolor</a> sit amet.</p>'' => "<p>lorem ipsum <a href=\"http://dolor.com/\">dolor</a>
2010 Oct 04
1
Splitting a DF into rows according to a column
Hi, I'm turning my wheels on this and keep coming around to the same wrong solution - please have a look and give a hand ... The premise is: a DF like so > loremIpsum <- "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque leo ipsum, ultricies scelerisque volutpat non, volutpat et nulla. Curabitur consequat ullamcorper tellus id imperdiet. Duis semper malesuada
2019 Dec 27
5
Delete Phabricator metadata tags before committing
Many git commits in the monorepo look like the following: [Tag0][Tag1] Title line Summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque mauris neque, porta nec tristique at, sagittis vel nisi. Fusce pharetra nunc et mauris consequat venenatis. Reviewers: username0, username1 Reviewed By: username0 Subscribers: username2, username3,
2008 Oct 27
1
replace a few strings in a text file
Dear all, I wrote a wrapper to a FORTRAN program using R. The main program uses a text file (~200 lines) as an input describing the simulation to be run. I typically generate the file once with the right parameters using a combination of file(), paste(), cat(). This is fine, and it works well, however I then need to update only a few values in the file many times (~200 times,
2006 Sep 18
1
PHP Dingus Fix
I just realised I hadn't updated the version of PHP Markdown and Extra on the dingus as I pretended I did in my two announcements. It is now fixed: PHP Markdown 1.0.2b7 and PHP Markdown Extra 1.1b1 can now be tested on the dingus. <http://www.michelf.com/projects/php-markdown/dingus/> Sorry for any inconvenience. Michel Fortin michel.fortin@michelf.com http://www.michelf.com/
2006 Jan 28
7
cool components in the form
Is there a easy way to add components like: http://www.dynarch.com/projects/calendar/ http://tinymce.moxiecode.com/example_full.php?example=true in ruby forms, by plugins or whatever? Thank you Rodrigo Dom?nguez Iplan Networs www.iplan.com.ar <http://www.iplan.com.ar/> ? rdominguez@iplan.com.ar www.rorra.com.ar <http://www.rorra.com.ar/> ? rorra@rorra.com.ar --------------
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me Hi. http://favoris.lichenmedia.com/untitled.htm I don''t know why, but when I drag those sortables (tagged with the handle handle) filled with the sortables (the lists with lorem ipsum) The handled-one "stays" where you dropped them. When you drag the li between the uls that are the big containers, no
2020 Jan 02
3
Delete Phabricator metadata tags before committing
I also find the "Reviewed by" tag useful (as well as the review link), for the same reasons. In fact, I don't even use arcanist to push commits, so I do it all by hand, and only include the "Reviewed by" and "Differential Revision" tags. On Fri, 27 Dec 2019 at 20:55, David Blaikie via llvm-dev < llvm-dev at lists.llvm.org> wrote: > I don't think
2006 Feb 09
4
Theme wanted for new Rails CMS
Hi all, I just finished building a CMS (open source, MIT license, same as RoR) that is aimed at people with portfolios: graphic designers, photographers, web developers, etc. Since this fits the Rails demographic well, and I plan to continue actively developing the project, I expect it to be a hit. Some features: * 100% semantic XHTML * Built on Ruby on Rails * AJAXified administration *
2007 Mar 12
5
index.rb:384 [BUG]
Hi folks, I''ve working and playing with acts_as_ferret and follow this fantastic tutorial: http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial When I try to implement the field storage tip, it crash. So, I try to make it via script/console: 1. I have a simple model called Articles: class Article < ActiveRecord::Base acts_as_ferret :fields =>
2020 Apr 09
3
Delete Phabricator metadata tags before committing
Can we fix this in reviews.llvm.org's fork of phab? https://github.com/phacility/phabricator/blob/cac3dc4983c3671ba4ec841aac8efac10744a80c/src/applications/differential/conduit/DifferentialGetCommitMessageConduitAPIMethod.php Seems straightforward(-ish) to drop the relevant fields there, that way `arc land` automatically DTRT. Jon On Fri, Dec 27, 2019 at 11:30 PM Mehdi AMINI via llvm-dev
2007 Mar 05
1
SMS ON ASTERISK
We installed na Asterisk System whith 400 Softphone users (Eyebeam 1.5 from Counterpath). As far as we know, Asterisk don't support yet IM (Instante Message) feature,instead Eyebeam have this feature. Is that true? Is there any new version from Asterisk that supports IM? > Eduardo R. Assis > Soluziona Ltda > Consultor S?nior - TELECOM > Al. Tocantins, 125 - 290 andar -
2020 Jan 04
2
[EXTERNAL] Re: Delete Phabricator metadata tags before committing
The limitation with the "Reviewed by" line is that if you just use `arc` it indicates who was added as reviewer on the revision, but not who approved it. Because of this, I am wary of relying on this line for anything. If you want to know who reviewed a change, better click on the Differential Revision link and go to the source of truth. -- Mehdi On Thu, Jan 2, 2020 at 10:44 AM
2007 Nov 07
5
Prototype error - iterator is not a function
I''m starting to learn to use Prototype (v1.5.1.1) along with Mootools. However I keep bumping into the same problem: All of the inserts result in the error "iterator is not a function" at line 542 of Prototype memo = iterator(memo, value, index); Am I missing something obvious here? I''m wondering if there''s an incompatibility between Prototype and Domino
2020 Jan 06
2
[EXTERNAL] Re: Delete Phabricator metadata tags before committing
I'm sure I've seen many commits with both "Reviewed by:" and "Reviewers:" tags, which look to have been done with arc (though I can't be sure). How were those generated? On Sat, 4 Jan 2020 at 19:12, David Blaikie <dblaikie at gmail.com> wrote: > Yeah, I tend to prune it down myself - and if the list has only one name > on it, it's usually a pretty
2009 Aug 05
6
No way to indent text?
How could one indent (not quote) a block of text? This is commonly done in Wikipedia with one or more colons at the beginning of the line, and is very handy for threaded discussions. An example is at http://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_deletion/MojoMojo&diff=next&oldid=275101911 -- Dan Dascalescu http://wiki.dandascalescu.com
2012 Jun 18
3
Paragraphs and html integration.
Hello everyone. It seems that I can post to the list now. Great. [1] I'm new to this list, and I've subscribed to discuss a design matter. Indeed, I'm currently writing a WebDev Toolkit in PHP for making the creations of simple websites and web applications quicker and easier (I'm fully aware that this kind of thing already exist, let's just say I'd doing it my way,
2009 Aug 25
4
table, xyplot, names, & loops
Hi R community, I'm just starting out in R and have a basic question about xyplot and tables. Suppose I had a table of data with the following names: Height, Age_group, City. I'd like to plot mean Height vs Age_group for each City. When I try to do the following: > library(lattice) > xyplot(mean(Height) ~ Age_group | City) of course I get just one data point, the mean Height for
2010 Sep 03
2
RFC: Lazy syntax for paragraphs, blockquotes and lists
Hi everybody, it was requested that kramdown (a Markdown parser in Ruby, see <http://kramdown.rubyforge.org>) supports the lazy syntax of Markdown. So I sat down, thought about it, skimmed through the Markdown ML on issues regarding lazy indentation as done with Markdown and now I have some rough idea on how to do this in kramdown. First: I'd like to say that there is no way to satisfy