Displaying 20 results from an estimated 20 matches for "wordlist".
2006 May 23
1
Help with observe_field
...0.25,
:update => :search_hits,
:url => { :action => "search"}) %>
<p>Search Results:</p>
<div id="search_hits"></div>
__Controller: search_controller.rb__
class SearchController < ApplicationController
WORDLIST = %w(Rails is a full-stack, really cool, open-source, free
thingy!)
def search
@phrase = request.raw_post || request.query_string
matcher = Regexp.new(@phrase)
@results = WORDLIST.find_all {|word|word =~ matcher}
render(:layout => false)
end
end
__Error: Form is not def...
2008 Aug 27
1
conversion of data structure between R and Perl
...#39;t use system() in R or I should load a particular package
for my R in windows. Please help ....
-------------------------------------------------------------------
the perl subroutine in presentPerformance.pl
sub findAccuracy{
while(defined($filename=glob("*.log"))){
open(WORDLIST , $filename)||die("can't open the file!");
while($line=<WORDLIST>){
if ($line=~m/accuracy/){
$line=~s/-----accuracy://;
@temp=split(" ",$line);
$temp[0]=~s/\%//;
$temp[2]=~s/\%//;
@accInfoList=($temp[0],$temp[2],$filename);
}
}...
2007 Mar 30
7
Some additional attacks on Cookie Session
...uld be expected to be 100
times faster.
# cookie_crumbler.rb
include ''base64''
include ''digest/sha2''
cookie = ARGV[0]
data, digest = cookie.split(''--'')
# You can replace this with any object supporting #each,
# such as a brute force generator
wordlist = File.open(''/usr/share/dict/words'')
wordlist.each do |line|
secret = line.chomp
if Digest::SHA512.hexdigest(data + secret) == digest
puts "Secret found: #{secret.inspect}"
end
end
--~--~---------~--~----~------------~-------~--~----~
You received this messa...
2007 Apr 13
0
[LLVMdev] "Name that compiler"
...roposal is Omnipiler and OmniC, even if the
last one reminds too much of C. Maybe Omnic (with the lowercase c), or
Omnip are better. Simple, elegant and somehow reminds of something
technological (to me at least :P).
So my idea is to list some key words and see if some nice portmanteau
came out :)
Wordlist:
code, source, byte, compiler, optimizer, toolkit, language, assembler,
machine, engine, translation (general llvm related terms)
screwdriver (a generic helpful tool just like LLVM is)
plasticine (gives the idea of modellability)
fun (llvm is fun :P)
matic,
omni, over, uber, iper, etc.
lego (the id...
2007 Apr 13
4
[LLVMdev] "Name that compiler"
me22 wrote:
> One of the nicer project names I've seen recently is Alexandria, for a
> book database program ( http://alexandria.rubyforge.org/ ). It
> unfortunately fails the searchability test, but does brilliantly at
> reminding you what it is.
Along these lines, is there any mythical characters or historical persons which are associated with translation (which
is the primary
2018 Jan 19
1
IBM Power vs Markdown
...ro exit status
...
It looks like the issue can be traced down to, "!gperf_case_strncmp (str, s, len)" ... is there a way to trace this down further?
# tail markdown/src/html_blocks.h
if (key <= MAX_HASH_VALUE && key >= 0)
{
register const char *s = wordlist[key];
if ((((unsigned char)*str ^ (unsigned char)*s) & ~32) == 0 && !gperf_case_strncmp (str, s, len) && s[len] == '\0')
return s;
}
}
return 0;
}
Any assistance is appreciated.
A. Daniel King
Haverty Furniture Companies, Inc.
2004 Jul 13
0
Samba-3.0.x: Strange problems with roaming profiles
...len 12) ?
is_in_path: src
is_in_path: no name list.
is_in_path: .bash_history
is_in_path: no name list.
is_in_path: PUTTY.RND
is_in_path: no name list.
is_in_path: .ssh
is_in_path: no name list.
is_in_path: .viminfo
is_in_path: no name list.
is_in_path: .tcshrc
is_in_path: no name list.
is_in_path: wordlist
is_in_path: no name list.
is_in_path: .links
is_in_path: no name list.
is_in_path: shares
is_in_path: no name list.
is_in_path: log
is_in_path: no name list.
is_in_path: snmp
is_in_path: no name list.
is_in_path: snmp-manager
is_in_path: no name list.
is_in_path: .DS_Store
is_in_path: no name list....
2010 Jun 13
2
Get a list of installed commands
I'm pretty new to R, but have experience with other languages, both OO and scripting.
I'm trying to add support for R to my text editor of choice and to do this I need a list of installed commands I can markup with XML.
I'd then simply feed in the marked up list into my text editor's library and I'm off.
I've done this in Stata before using the following command:
getcmds
2007 Sep 05
9
Profanity Filter for Rails Application
I am creating an application that allows a user to post messages to a
board. I want to be able to filter profanity. For instance if someone
types an inappropriate word of 5 characters I want it to read "#?@#@" or
whatever. Ideally, I would be able to install a rails plugin or ruby gem
and then simply write
Code : - fold - unfold
--> message_text.hide_profanity! <--
and that
2009 May 09
41
updating the db 6000 times will take few minutes ?
i am writing a test program for ActiveRecord, and it reads a document
which is like 6000 words long. And then i just tally up the words by
recordWord = Word.find_by_s(word);
if (recordWord.nil?)
recordWord = Word.new
recordWord.s = word
end
if recordWord.count.nil?
recordWord.count = 1
else
recordWord.count += 1
end
recordWord.save
and so this
2007 Nov 08
1
QueryParser : some remarks
Hi to all,
First, I would like to say a big thank you for the work which was done
on my 'wish bug' to allow mapping one field to multiple prefixes
(http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=93).
That's great!
I have upgraded to 1.0.4 and I am revisiting my code, replacing the php
query parser I wrote with Xapian's one.
Everything works well, but I have some
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
...eap.o chap-md5.o
diff -Naur ppp-2.4.2/pppd/auth.c ppp-2.4.2-bcp/pppd/auth.c
--- ppp-2.4.2/pppd/auth.c Thu Jun 12 01:56:26 2003
+++ ppp-2.4.2-bcp/pppd/auth.c Tue Apr 5 22:33:27 2005
@@ -157,9 +157,31 @@
/* Extra options to apply, from the secrets file entry for the peer. */
static struct wordlist *extra_options;
+/* Bits 0, 8, 14, and 15 are the same in all network protocol numbers, so
+ * remove them to save space in np_running[][]. */
+#define NP_BRIEF(np) ((int)((((np) & 0x3E00) >> 2) | (((np) & 0x00FE)
>> 1)))
+#define NP_ARRAY_BYTE(np) (NP_BRIEF(np) / 8)
+#de...
2007 Apr 18
7
[Bridge] (no subject)
Dear Sir,
I was trying to install bridge as we are installing
scps gateway in our testbed.This requires us to
install the bridge.
Our Linux version is 2.4.18 ~3 and we are using redhat
7.2
Please let me know which is the bridge I should
install and how to configure it.
Before configuring the bridge what I should check in
my configuration.
Thanks for your time,
Sincerely
Rama
=====
I hear
2016 Mar 23
2
r-base installation fails on Ubuntu 14.04
...sgml-base
>>> shared-mime-info unzip x11-common x11-utils x11-xserver-utils xdg-utils
>>> xml-core xz-utils zip zlib1g-dev
>>> Suggested packages:
>>> autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
>>> binutils-doc wamerican wordlist whois vacation devscripts cpp-doc
>>> gcc-4.8-locales dh-make apparmor-easyprof debian-keyring g++-multilib
>>> g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib automake1.9
>>> flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp1-dbg libitm1-d...
2016 Mar 23
5
r-base installation fails on Ubuntu 14.04
...al r-cran-survival r-doc-html r-recommended sgml-base
> shared-mime-info unzip x11-common x11-utils x11-xserver-utils xdg-utils
> xml-core xz-utils zip zlib1g-dev
> Suggested packages:
> autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
> binutils-doc wamerican wordlist whois vacation devscripts cpp-doc
> gcc-4.8-locales dh-make apparmor-easyprof debian-keyring g++-multilib
> g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib automake1.9
> flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg
> libatomic1-dbg li...
2016 Mar 23
3
r-base installation fails on Ubuntu 14.04
...sgml-base
>>> shared-mime-info unzip x11-common x11-utils x11-xserver-utils xdg-utils
>>> xml-core xz-utils zip zlib1g-dev
>>> Suggested packages:
>>> autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
>>> binutils-doc wamerican wordlist whois vacation devscripts cpp-doc
>>> gcc-4.8-locales dh-make apparmor-easyprof debian-keyring g++-multilib
>>> g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib automake1.9
>>> flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp1-dbg libitm1-d...
2016 Mar 23
0
r-base installation fails on Ubuntu 14.04
...cran-rpart
r-cran-spatial r-cran-survival r-doc-html r-recommended sgml-base
shared-mime-info unzip x11-common x11-utils x11-xserver-utils xdg-utils
xml-core xz-utils zip zlib1g-dev
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
binutils-doc wamerican wordlist whois vacation devscripts cpp-doc
gcc-4.8-locales dh-make apparmor-easyprof debian-keyring g++-multilib
g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib automake1.9
flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg
libatomic1-dbg libasan0-dbg libtsan0-...
2016 Mar 23
0
r-base installation fails on Ubuntu 14.04
...-html r-recommended sgml-base
>> shared-mime-info unzip x11-common x11-utils x11-xserver-utils xdg-utils
>> xml-core xz-utils zip zlib1g-dev
>> Suggested packages:
>> autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
>> binutils-doc wamerican wordlist whois vacation devscripts cpp-doc
>> gcc-4.8-locales dh-make apparmor-easyprof debian-keyring g++-multilib
>> g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib automake1.9
>> flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg
>>...
2016 Mar 23
0
r-base installation fails on Ubuntu 14.04
...t; shared-mime-info unzip x11-common x11-utils x11-xserver-utils xdg-utils
>>>> xml-core xz-utils zip zlib1g-dev
>>>> Suggested packages:
>>>> autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool
>>>> binutils-doc wamerican wordlist whois vacation devscripts cpp-doc
>>>> gcc-4.8-locales dh-make apparmor-easyprof debian-keyring g++-multilib
>>>> g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib automake1.9
>>>> flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg libgomp...
2016 Mar 23
5
r-base installation fails on Ubuntu 14.04
I am unable to install R on an up to date (i.e. apt upgraded) Ubuntu
14.04 system. According to
https://cran.r-project.org/bin/linux/ubuntu/README (and many other sources),
R is available for this version of Ubuntu (which is a stable version).
I currently have
deb https://cran.cnr.berkeley.edu/bin/linux/ubuntu trusty/
in sources.list. I've tried this with and without
deb