Displaying 20 results from an estimated 26 matches for "seagul".
Did you mean:
seagull
2017 Oct 25
6
[OT] Bash help
...creams out for associative arrays. (Also called hashes,
> dictionaries, maps, etc.)
>
> That does limit you to CentOS 7+, or maybe 6+, as I recall. CentOS 5 is
> definitely out, as that ships Bash 3, which lacks this feature.
<snip>
Associative arrays?
Awk! Awk! (No, I am not a seagull...)
sort file | awk '{ array[$1] += $2;} END { for (i in array) { print i "\t"
array[i];}'
mark "associative arrays, how do I love thee? Let me tot the arrays..."
2006 Jul 15
5
Textmate command to display Active Record object attributes
I hacked together a command for textmate that displays Active Record
object attributes in a tooltip. Just thought others might find it
useful.
Chris
[1] http://blog.seagul.co.uk/articles/2006/07/14/textmate-command-to-display-active-record-column-attributes
2007 Jan 24
0
Mocha 0.4 released
...me if you''ve been using the Rails plugin based on
subversion HEAD, but now you can get it in all in a gem (or other package).
The most recent changes centre around allowing mocking of Object instance
methods.
Release notes?
- Allow naming of mocks (patch from Chris Roos<http://blog.seagul.co.uk/>
).
- Specify multiple return values for consecutive calls.
- Improved consistency of expectation error messages.
- Allow mocking of Object instance methods e.g. kind_of?, type.
- Provide aliased versions of #expects and #stubs to allow mocking of
these methods.
- Add...
2007 Oct 26
1
Working or mongrel
Hello,
I have started newly working on ruby on rails platform and making use of
mongrel server.......I would like to know how does mongrel communicate
with seagull database.
I could not find any reverent links only for mongrel or the combined
.....
Kindly do help me
Thank You
Advait
--
Posted via http://www.ruby-forum.com/.
2017 Oct 25
1
[OT] Bash help
...ies, maps, etc.)
>> >
>> > That does limit you to CentOS 7+, or maybe 6+, as I recall. CentOS 5
>> is
>> > definitely out, as that ships Bash 3, which lacks this feature.
>> <snip>
>> Associative arrays?
>>
>> Awk! Awk! (No, I am not a seagull...)
>>
>> sort file | awk '{ array[$1] += $2;} END { for (i in array) { print i
>> "\t"
>> array[i];}'
>
> Why the sort? It doesn't matter in what order the lines are read.
> Wouldn't this give you the same?
>
> awk '{ array[$1]...
2006 Aug 07
5
Store SOAP::RPC::Driver in user session throws TypeError
...lication. I am doing this
in my action
require ''soap/wsdlDriver''
factory = SOAP::WSDLDriverFactory.new(TRANSIDIOM_WSDL_URL)
soap = factory.create_rpc_driver
soap.wiredump_file_base="#{RAILS_ROOT}/log/transidiom.log"
param = %(<Request name="com.wm.ccv.rpgrouter.seagull.CustomerProfileResCom">
<Input> <CompanyCode>110</CompanyCode> <CustomerNumber>2442</CustomerNumber>
<UserName>ccvdev2</UserName> <Password>ccvdev2</Password>
<LibrarySuffix>ORC</LibrarySuffix> <targetHost>wmasprod<...
2017 Oct 25
0
[OT] Bash help
...(Also called hashes,
>> dictionaries, maps, etc.)
>>
>> That does limit you to CentOS 7+, or maybe 6+, as I recall. CentOS 5 is
>> definitely out, as that ships Bash 3, which lacks this feature.
> <snip>
> Associative arrays?
>
> Awk! Awk! (No, I am not a seagull...)
>
> sort file | awk '{ array[$1] += $2;} END { for (i in array) { print i "\t"
> array[i];}'
>
> mark "associative arrays, how do I love thee? Let me tot the arrays..."
>
Okay, I'm impressed with this one.? I use awk for simple stuff whe...
2017 Oct 25
0
[OT] Bash help
...(Also called hashes,
>> dictionaries, maps, etc.)
>>
>> That does limit you to CentOS 7+, or maybe 6+, as I recall. CentOS 5 is
>> definitely out, as that ships Bash 3, which lacks this feature.
> <snip>
> Associative arrays?
>
> Awk! Awk! (No, I am not a seagull...)
>
> sort file | awk '{ array[$1] += $2;} END { for (i in array) { print i "\t"
> array[i];}'
>
> mark "associative arrays, how do I love thee? Let me tot the arrays..."
>
>
> _______________________________________________
> CentOS...
2017 Oct 25
0
[OT] Bash help
...o called hashes,
> > dictionaries, maps, etc.)
> >
> > That does limit you to CentOS 7+, or maybe 6+, as I recall. CentOS 5 is
> > definitely out, as that ships Bash 3, which lacks this feature.
> <snip>
> Associative arrays?
>
> Awk! Awk! (No, I am not a seagull...)
>
> sort file | awk '{ array[$1] += $2;} END { for (i in array) { print i "\t"
> array[i];}'
Why the sort? It doesn't matter in what order the lines are read.
Wouldn't this give you the same?
awk '{ array[$1] += $2;} END { for (i in array) { print i &q...
2006 Feb 08
0
sqlite in-memory database for testing
I managed to get this working yesterday on one of our projects.
I''ve written up detailed explanation here[1]
I hope this is of some use to someone else; let me know either way
(especially if I''ve screwed up).
Chris
[1]
http://blog.seagul.co.uk/articles/2006/02/08/in-memory-sqlite-database-for-rails-testing
2006 Dec 25
1
TextMate command to display ActiveRecord model attributes
...your
code and hooking up the bundle (the way you''ve chosen in the bundle
properties).
It''s available here:
http://roman2k.free.fr/rails/tm_show_model_attributes/0.1.0/
tm_show_model_attributes.rb
It''s greatly inspired from this blog entry by Chris Roos:
http://blog.seagul.co.uk/articles/2006/07/14/textmate-command-to-
display-active-record-column-attributes
"Yeah but why should I use your version instead?"
The advantages of mine over Chris''es are:
- Fast load-time before displaying the tooltip. Almost instant actually:
- only loads useful files...
2019 Mar 21
2
icecast player
...hat's coming from Icast and Museter server and if we have a silent issue on the stream can this software automatic move to backup station?
[cid:image001.jpg at 01D4DFE8.15F65960]
Abdallah Al-Sabateen
Technical support
t :+96265638000 Ext 8110
f :+96265638029
Email:abdallah.alsabateen at seagulls.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190321/47d70ac5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Si...
2006 Jun 19
3
MLE maximum number of parameters
Hi All,
I would like to know, is there a *ballpark* figure for how many
parameters the minimisation routines can cope with?
I'm asking because I was asked if I knew.
Cheers,
Federico
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG
Tel +44 (0)20 75941602 Fax +44 (0)20 75943193
f.calboli [.a.t]
2007 Apr 26
5
class parameters
Hello there,
Just wanted to know if class will be able to have parameters ?
Right now i use:
define resolver( $options =''rotate'', $nameserver,
$search='''',$domain='''',$sortlist=''''){
file{ ''/etc/resolv.conf'':
content =>
2007 Jan 05
3
ANNOUNCE: 0.22.0
Hi all,
I''ve just published the long-awaited new release of Puppet. Yes, I
accidentally skipped 0.21.0; oops.
Important features in this new release are:
- Graphing
Puppet now uses the GRATR[1] library to do all of the internals of
managing relationships between resources. This gives Puppet a lot of
functionality internally, but it also makes it possible to produce
simple
2012 Aug 15
5
Extract lines from text file
Hi,
I'm looking for a command to extract lines from a large text file, a
password file. A typical user has a username made from a letter
followed by their id-number.
m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash
So for instance if I need to extract lines where;
the 1st field, the username begins with an m
and
the 4th field, the group contains exactly 850
cat passwdfile |
2006 Sep 11
4
Using rspec and mocha
I prefer to use rspec than test::unit for developing my apps. However
I''ve found its mocking library to be pretty inflexible compared to
Mocha. This isn''t really a surprise since rspec isn''t intended as a
mocking framework, whereas Mocha is. So I''d like to play to both of
their strengths and use rspec as my testing/specification framework
and Mocha do to
2006 Sep 11
4
Using rspec and mocha
I prefer to use rspec than test::unit for developing my apps. However
I''ve found its mocking library to be pretty inflexible compared to
Mocha. This isn''t really a surprise since rspec isn''t intended as a
mocking framework, whereas Mocha is. So I''d like to play to both of
their strengths and use rspec as my testing/specification framework
and Mocha do to
2007 Feb 06
2
Login systems : stubbing accounts and AR association proxies
My Rails site has a fair amount of login and ''ownership'' logic. For
instance, we have a number of clients (companies), each of which has
several accounts. A client owns a number of different types of
resources, and shouldn''t see any other clients'' resources, so, for
example, our ScenesController contains a lot of references to
2006 Feb 14
8
Assigning has_many child in parent creation question
If I have...
class Parent
has_many :children
end
class Child
belongs_to :parent
end
...then...
* Assigning a _new_ child during parent''s creation saves the child
record with the parent''s id.
child = Child.new
Parent.create(:children => [child])
# Results in child being associated with parent
* Assigning an existing child after a parent''s creation