Displaying 20 results from an estimated 10000 matches similar to: "Linux/Unix DNS question"
2008 Jan 03
3
GeoRSS support and Openstreetmap
Hi,
is geoRSS overlay supported with openstreetmap ?
I can''t get it to work.
Google maps georss
http://blogs.intermedia.uib.no/motel/experiments/bergenGeoRSS.html
Openstreetmap georss
http://blogs.intermedia.uib.no/motel/experiments/bergenOSMGeoRSS.html
As you can see, nothing shows in the openstreetmap example.
Regards
--
Rune Baggetun
2009 Jun 02
9
XML::LibXML::Reader
is there anybody who knows how we can get child values using libxml
(Reader class)
def xml_import_to_brands
require''xml''
reader = XML::Reader.file(''c:/brands.xml'')
.
.
.
2010 Dec 25
6
undefined local variable or method?
I have:
<%= form_for(@supplier) do |f| %>
.......
......
<%= render ''sector_categories'', :locals => {:f => f} %>
in _sector_categories partial I have:
<div class="field">
<div id="category_update">
<% for category in @categories %>
<%= f.check_box :category_ids[], category.id,
2010 Jul 20
4
MySQL index question
I am trying to speed up some DB operations and perhaps have gone overboard
with indexes. Does MySQL usually use only one index per query and simply
match keys on the results of the indexed first part? For example:
DELETE FROM tokens WHERE 6813946236211560448 <= fnv AND fnv < 6818449835838930944 AND updated_at<''2010-06-20 14:08:55'' AND occurrences=0;
If I understand
2010 May 25
2
Rails 2.3.6 and Authlogic 2.1.4 or 2.1.3
In the test environment, logging out and back in is not working for me. The
log for the first login looks like this:
Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST]
Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test"},
2010 Oct 04
4
http caching a dynamic page
Is it possible to take advantage of http caching/proxy caching with
dynamic pages? i.e. pages with section/part that can change over time
but certain part of the page remain the same. I would rather not keep
re-rendering the static part but insure the dynamic part are rendered
with fresh data.
I am using memcached mostly as an object store that I can minimize db
hits but I still am rendering a
2009 May 26
6
dump and import MySQL table w/ accents
I am switching to a composite primary key (string and user ID) from the Rails
conventional auto-incrementing integer primary ID. The table is large (2.5
million records) and I''d rather not discard the contents. The
composite_primary_key gem doesn''t appear to support altering the table with a
migration to do its magic, only creating a table from scratch. So I dumped
the table
2004 Aug 26
2
Astricon hotel recommendations.....?
Hi all,
Looks like I'm going to make the trip over to Astricon next month, but
finances being what they are and since I'll be paying for my own flight from
the UK, I'm trying to cut down on costs.
The problem I've got is that the hotel is about 4 miles from the nearest
public transportation (Brookhaven station) and the shuttle bus is only for
hotel residents.
Hiring a car seems
2009 Mar 22
1
Looking for Prepaid Solution
All;
I am looking for a solution a motel that is switching
to VoIP. They are especially interested in prepaid services. That is, a
resident will come to the office and pre-pay for phone services for their room.
When the money runs out, service is shut off, and they need to come down to the
office again. Accurate reports are very important. A search on voip-info.org shows several solutions out
2015 Apr 07
1
Fidelio protocol and Mitel protocol
Does anyone know anything about the Fidelio and Mitel protocol for hotel /
motel?
Are these industry standards or proprietary formats?
Are there open standards for communication with Hotel management
software's that could be used in conjunction with a custom asterisk
deployment?
Thanks
Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Feb 10
7
undefined method join
Hey all,
I get an undefined method `join'' for #<String NoMethodError.
student.rb
has_one :student_fail
attr_accessor :student_fail_attribute
#controller
def student_fail
@student = @student.find params[:id]
def update_student_fail
@student.build_student_fail params[:student][:student_fail_attribute]
if @student.save
#view
form_for @student do |f|
2009 Apr 15
2
Backspace in strings and patterns
Interesting. Not what I expected. This is Ruby 1.8.6.
> irb
irb(main):001:0> str = "abx\bc"
=> "abx\bc"
irb(main):002:0> str.length
=> 5
irb(main):003:0> s = str.sub(/.\b/, '''')
=> "ab\bc"
irb(main):004:0> s.length
=> 4
irb(main):005:0> s = str.sub(/.\x08/, '''')
=> "abc"
2004 Jul 05
9
[Bug 893] With Reliant Unix (5.44/5.45) a connection fails if the host isnt known in DNS
http://bugzilla.mindrot.org/show_bug.cgi?id=893
Summary: With Reliant Unix (5.44/5.45) a connection fails if the
host isn?t known in DNS
Product: Portable OpenSSH
Version: 3.8p1
Platform: MIPS
OS/Version: other
Status: NEW
Severity: critical
Priority: P2
Component: ssh
2008 Jun 09
16
display "..." for text LONER than a certain length...
I am working on an app that has user generated content. What I''d like
to do, is display X characters of, say, a title and put "..." for the
rest. This sounds like something you see in soc networking type app
and wondering if there is some code out there to do this. thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2008 Sep 20
2
NameError: uninitialized constant Inflector
I follwed the example here:
http://dekstop.de/weblog/2005/12/rails_inflector_in_ruby_scripts/
#!/usr/bin/ruby
require ''rubygems''
require ''active_support/inflector''
puts Inflector.singularize(''inflections'')
I loaded it into irb and wrote a killer script both of which worked
perfectly for weeks.
Now when I try and run the script or run
2009 Aug 24
5
extract keywords from string
hi -
i have strings that i need to extract keywords from. the string might
have html tags, urls, etc. i need to extract the keywords from the
string. i imagine i''m not the first guy to have to tackle this
problem. is there a gem i can use or anyone have any ideas how to
approach this?
thanks,
dino
2005 Oct 23
3
dns name server under wine?
Hi all,
I am newbe here, please forgive me for asking something that might be
obvious to everybody.
I've spend last few hours searching through google for "dns settings
wine", "network settings wine", "nameserver wine" and through wine docs on
winehq, couldn't find anything which would help me.
Problem: win32 app (which uses FQDNs, not plain IP
2008 Apr 11
5
NAT issue with Fortinet Firewall
I have a customer with a Fortinet Firewall that is having stability
issues with Asterisk and SIP endpoints (PAP2T) outside his network.
The first issue I see is that Asterisk sees all phones as the IP
address of the Fortinet. Since the parameter "localnet" defines the
local network and that address falls in that range, how will Asterisk
treat the endpoints? I have
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am
getting:
''
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3003
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3003
** Starting Rails with development environment...
2009 Nov 26
4
Is this a bug?
Hello all, while I''m using acts_as_audited(on jruby platform),
after vendored the acts_as_audited, it reports some error,
line 167,
# Start observing the declared classes and their subclasses.
def initialize
Set.new(observed_classes + observed_subclasses).each { |klass|
add_observer! klass } #this line
end
after some trace shows this one, when observed_classes is empty, will