search for: site_nam

Displaying 20 results from an estimated 31 matches for "site_nam".

Did you mean: site_name
2010 Jan 24
1
auto reading in multiple txt files with filename as 1st column "ID"
...ollowing code: flist <- list.files(path=file.path("my_folder"), pattern="[.]txt$") flist<-flist[grep('.txt', flist)] myInput <- lapply(flist, read.table, header=FALSE, skip=44) ############################################## Each file is uniquely named "site_name.txt" , and the last row of each file contains the line: "end data." I would like to do the following: 1) add a new column with "site_name" repeated for each observation/row (data files vary in the # of observations) which corresponds to the name of the txt file 2) remove...
2011 Dec 18
1
Identifying records with the correct number of repeated measures
...ample_SI <- structure(list(Individual_ID = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 5L ), .Label = c("WW_08I_01", "WW_08I_02", "WW_08I_03", "WW_08I_04", "WW_08I_05"), class = "factor"), Site_Name = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = "Anjan", class = "factor"), Latitude = c(63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935, 63.72935,...
2007 Oct 12
3
Models that reference themselves
...ng Rails models and relationships. In one project I have a hierarchy of (geographical) sites. For example: Earth Europe Ireland Cork Kerry Galway ...... UK France America If I were using any other language my sites model would look like: id, # Primary Key site_name, parent_id # references the id of this site''s parent. In Rails I think I need to: 1. Drop the parent_id column 2. Use a bridge table to bridge the site id back to the parent site record and 3. A has_and_belongs_to_many relationship Is this the correct approach? I''m sure this...
2010 Jul 19
0
dsgetdcname failed: NT_STATUS_ACCESS_DENIED
...Running command WBINT_DSGETDCNAME (no domain) wbint_DsGetDcName: struct wbint_DsGetDcName in: struct wbint_DsGetDcName domain_name : * domain_name : 'DOMAIN.ARRIAD.COM' domain_guid : NULL site_name : * site_name : '' flags : 0x00000000 (0) dsgetdcname: domain_name: DOMAIN.ARRIAD.COM, domain_guid: (null), site_name: , flags: 0x00000000 debug_dsdcinfo_flags: 0x00000000 Returning valid cache entry: key = AD_SI...
2006 May 23
2
ActionMailer stopped working after upgrade to Rails 1.1
...0 OK code). I googled for hours without any success. What am I doing wrong? To repeat, the code works perfectly with Rails 1.0. Snippets from my code: app/models/mailer.rb: def contact_us(options) recipients options[:recipients] || $site_email subject options[:subject] || $site_name + '' - Web Site Inquiry'' from options[:from] || $site_email body options[:body] || {} end app/controllers/sections_controller.rb: Mailer::deliver_contact_us( :body => { :name => @contact_form.user, :email =&g...
2011 Nov 28
4
getting a subdomain name in model.
...c condition in Ability.rb ( the file which is placed in models if we install cancan gem). Below is the condition I wanted: ========================================================= user ||= User.new # guest user (not logged in) if (user.role == ''admin'' && user.site_name == current_subdomain_name) can :manage, :all else can :read, :all end ======================================================= current_subdomain_name should be the name of the subdomain on which user is browsing. But i could not get it. I have tried the following was but...
2009 Sep 27
1
Textpattern and underscores
When using Textpattern with PHP Markdown Extra there is a problem with the textpattern tags. Tags like <txp:image id="42" /> are parsed, but tags like <txp:site_name /> that have an underscore are not. Any ideas how to deal with this? Thanks list, -- Peter Sinn peter.sinn at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20090927/7e8a8790/attachm...
2012 Jul 09
1
number of shared species between sites (VEGAN or RICH?)
...; the names of the other columns are the species names. To use the shared function from the package RICH one needs to input different matrices. So actually, I want to split the dataframe per row so that each row becomes a separate matrix and then perform the shared function. I used split(dataframe, site_name), which splits the dataframe, but I cannot call the separate matrices to calculate the number of shared species.. Does anyone know a way to do this? Or does somebody know a better way of determining this? Thanks! Ellen -- View this message in context: http://r.789695.n4.nabble.com/number-of-sha...
2013 May 13
2
Creating defined resources based on array of parameters.
Hi all, With the goal of making my code a little more DRY, I am trying to define resource parameters in an array of hashes, and then create defined resources from these array items. I am having trouble figuring out the syntax for accessing the hash values for the hash currently being worked on ("self?"). Here''s the code to make it clear: ##### Configuration arguments
2006 May 23
11
adding layouts within layouts
Hi, I want to be able to have several layouts within each other so that I don''t have to keep repeating the layout code for one, in another. An example would be having a layout for the title of your web page and then having an embedded layout for the body portion in which the HTML for whatever view gets displayed. Is this possible? Thanks. -------------- next part -------------- An
2007 Mar 28
7
Rails, REST and JSON
Hi everyone, I''m writing a lightweight AJAX application using Rails on the server side as a RESTful web service provider. I need the web service to support both JSON and XML I/O. Outputting data in XML and JSON is easy (using to_xml and to_json), and it''s also easy to do XML input as Rails does it for you automatically. Is it possible to somehow have the same automatic parsing
2009 Feb 23
8
Puppet's Search function
...ow as an example). Using a contrived example, I have a series of classes with site-specific settings & variables: site::office site::datacenter etc. In each of these classes I have some site-specific variables defined that I want to be able to reference in other classes. manifests/site.pp: $site_name = "office" site/manifests/office.pp: class site::office inherits site::common { $dns1 = "1.2.3.4" $dns2 = "2.3.4.5" $search = "$site_name.local" } bind/manifests/dns.pp: class dns::client inherits dns::common { search "site::$site_name"...
2016 Aug 11
0
net ads testjoin OK, net rpc testjoin fails
...ng pointer for type 5 - private_data=(nil) Opening cache file at /var/cache/samba/gencache.tdb Opening cache file at /var/run/samba/gencache_notrans.tdb sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" dsgetdcname_internal: domain_name: DOMAIN, domain_guid: (null), site_name: Default-First-Site-Name, flags: 0x40000000 debug_dsdcinfo_flags: 0x40000000 DS_RETURN_DNS_NAME dsgetdcname_internal: domain_name: DOMAIN, domain_guid: (null), site_name: Default-First-Site-Name, flags: 0x40000001 debug_dsdcinfo_flags: 0x40000001 DS_FORCE_REDISCOVERY DS_RETURN_DNS_...
2011 Nov 16
0
Meta property for videos uploaded from rails application
...ot;> <meta property="og:video:type" content="application/x-shockwave-flash"> <meta property="og:video:width" content="398"> <meta property="og:video:height" content="224"> <meta property="og:site_name" content="YouTube"> -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gman...
2008 Mar 14
0
problem with rjs and marker group
...() # r = site.map_stat.radius.to_i zoomhash = {13 => 0.5, 14 => 1, 15 => 2, 16 => 4} r = (site.map_stat.radius.to_f * zoomhash[@zoom.to_i].to_f).to_i # title tooltip for the image title = "%s %s => %s" % [@group.name, site.site_name, (KeyWord.stat_description(site.status_sensor.last_value)[0])] # create the icon image ( the pivot circle ) icon = GIcon.new(:image => "/images/tmp/#{site.id}.png", :icon_size => GSize.new((r*2),(r*2)), :icon_anchor => GPoint.new(r...
2015 Jan 13
0
Smbd dumps core while starting
...he.c:708 #6 0x0900000007037478 in sitename_fetch (realm=0x11002e710 "NAMDEV.NSROOTDEV.NET") at ../source3/libads/sitename_cache.c:98 #7 0x0900000006f2b364 in dsgetdcname (mem_ctx=0x110028550, msg_ctx=0x1100279d0, domain_name=0x11002e710 "NAMDEV.NSROOTDEV.NET", domain_guid=0x0, site_name=0x0, flags=1073745937, info=0xfffffffffffe8e8) at ../source3/libsmb/dsgetdcname.c:1187 #8 0x090000000620812c in libnet_DomainJoin (mem_ctx=0x110028550, r=0x11002e550) at ../source3/libnet/libnet_join.c:2018 #9 0x09000000062086a4 in libnet_Join (mem_ctx=0x110028550, r=0x11002e550) at ../sourc...
2009 Jul 07
1
Failing to join an ADS domain
...NULL debug : 0x01 (1) use_kerberos : 0x00 (0) secure_channel_type : SEC_CHAN_WKSTA (2) [2009/07/02 18:12:07, 10] libsmb/dsgetdcname.c:dsgetdcname(1167) dsgetdcname: domain_name: EXAMPLE.DOMAIN.ORG, domain_guid: (null), site_name: (null), flags: 0x40001011 [2009/07/02 18:12:07, 10] libsmb/dsgetdcname.c:debug_dsdcinfo_flags(46) debug_dsdcinfo_flags: 0x40001011 DS_FORCE_REDISCOVERY DS_DIRECTORY_SERVICE_REQUIRED DS_WRITABLE_REQUIRED DS_RETURN_DNS_NAME [2009/07/02 18:12:07, 5] lib/gencache.c:gencache_init(61) Opening...
2015 Mar 10
2
net ads join fails
...secure_channel_type : SEC_CHAN_WKSTA (2) Opening cache file at /var/db/samba4/gencache.tdb Opening cache file at /var/db/samba4/gencache_notrans.tdb sitename_fetch: Returning sitename for AD.DILKEN.EU: "Neuoetting" dsgetdcname_internal: domain_name: AD.DILKEN.EU, domain_guid: (null), site_name: Neuoetting, flags: 0x40001011 debug_dsdcinfo_flags: 0x40001011 DS_FORCE_REDISCOVERY DS_DIRECTORY_SERVICE_REQUIRED DS_WRITABLE_REQUIRED DS_RETURN_DNS_NAME dsgetdcname_rediscover ads_dns_lookup_srv: 1 records returned in the answer section. ads_dns_parse_rr_srv: Parsed dc2.ad.dilken.eu [0,...
2016 Aug 11
0
net ads testjoin OK, net rpc testjoin fails
...ng pointer for type 5 - private_data=(nil) Opening cache file at /var/cache/samba/gencache.tdb Opening cache file at /var/run/samba/gencache_notrans.tdb sitename_fetch: Returning sitename for DOMAIN: "Default-First-Site-Name" dsgetdcname_internal: domain_name: DOMAIN, domain_guid: (null), site_name: Default-First-Site-Name, flags: 0x40000000 debug_dsdcinfo_flags: 0x40000000 DS_RETURN_DNS_NAME info: struct netr_DsRGetDCNameInfo dc_unc : * dc_unc : 'ad-domain-controller.domain.local' dc_address :...
2015 Mar 10
2
net ads join fails
...>> Opening cache file at /var/db/samba4/gencache.tdb >> Opening cache file at /var/db/samba4/gencache_notrans.tdb >> sitename_fetch: Returning sitename for AD.DILKEN.EU: "Neuoetting" >> dsgetdcname_internal: domain_name: AD.DILKEN.EU, domain_guid: (null), >> site_name: Neuoetting, flags: 0x40001011 >> debug_dsdcinfo_flags: 0x40001011 >> DS_FORCE_REDISCOVERY DS_DIRECTORY_SERVICE_REQUIRED >> DS_WRITABLE_REQUIRED DS_RETURN_DNS_NAME >> dsgetdcname_rediscover >> ads_dns_lookup_srv: 1 records returned in the answer section. >&...