search for: snipplets

Displaying 20 results from an estimated 25 matches for "snipplets".

Did you mean: snippets
2006 Mar 30
25
TextMate for Rails development -- why?
Greetings, I am curious, I see quite a few references to using TextMate for rails development. I downloaded TextMate and used it for 30 days. I do not see what everyone is raving about. Snipplets are nice, but other editors do the same thing, some with much more power. Can anyone tell me what makes people draw to TextMate? Maybe I am missing the whole reason, I''d really like to find an editor better than the one I am using, one that makes me more efficient and get things d...
2009 Apr 21
3
create objects in a loop and adding sqlQuery content to them
...e values and retrieve all data out of the database where site = x and write it into an object named 'sitex_data'. Somehow I'm really missing something as I'm not able to create these sitex_data objects with the database values, neither using list nor assign... Here some code snipplets: >library (RODBC) >channel <- odbcConnectExcel2007 ("biomass_data.xlsx") >site_data <- sqlQuery(channel, "select site_no from [biomass_data $] group by site_no") #Here the values I want to loop through >str(site_data) 'data.frame': 44 obs. of...
2006 Oct 10
1
ZFS file system create/export question
Hi, I am wandering HOW ZFS ensures that a storage pool isn''t imported by two machines at one time? Does it stamp the disks the hostID or hostName? Below is a snipplet from the ZFS Admin Guide. It appears that this can be overwritten with import -f. importing a pool that is currently in use by another system over a storage network can result in data corruption and panics as both
2003 Sep 04
1
Looking for R Equivalent of Gauss Statements
Hi, I am translating some Gauss code to R. Gauss has an interesting way of handling constraints. Observe the following code snipplet: e1 = x[.,23] .eq 0; @ remove obs with Regular Hours = 0 @ e2 = x[.,12] .gt 1; @ remove obs with non-regular work status @ e3 = x[.,4] .lt 15; @ remove obs with agricultural and mining industry code (< 15)@ esum = e1 + e2 + e3; e = esum .gt 0; @
2009 Mar 13
1
print median and sd...
Hii, Can anybody help me, I don't know how to print the "median". Below is my code snipplet... x <-read.table(file="D:/Uni/Diplom/Diplom/Grafiken/R/BATMAN/Kabel/Batman1hop/Standardabweichung__output_30_1_Kabel(30m)_b.txt") png(filename = "D:/Grafiken/R/Standardabweichung/Kopie.png", width = 640, height = 480,pointsize = 12, bg = "white", res =
2004 Nov 23
0
merge.list proposal
...ing a way to "merge" two different lists (see the example for my definition of merge). I didn't find anything relevant using different search methods. So, here is my proposal to add a list method for "merge". Best wishes, Eric PS: AFAIK, there still is no place for code snipplets. I am not sure this mail doesn't suite R-devel. If not, what place could there be for discussions/proposal on such code snipplets? -- CODE merge.list=function(x,y,only.new.y=FALSE,append=FALSE,...) { out=x ystructure = names(c(y,recursive=TRUE)) xstructure = names(c(x,recu...
2003 Nov 04
1
current CVS seems to have index problems.
Hi Timo. I've checked out the current CVS version and tested it. There seems to be a problem when dovecot accesses mailboxes for the first time: I have a mailbox with 4 mails, and no special IMAP headers. (no X-IMAPBase, X-UID etc.) and it's in mbox format. I log in, SELECT the folder and do FETCH 2 BODY[] and receive only a snipplet of the mail from somewhere in the middle of it.
2010 Apr 07
1
Samba PDC: Only one User can't log in
Hello, I have a working Samba-PDC with ldap-Backaend. It works fine for all our user, except one user. He can't log in. I can't find an error in ldap (compared his entry with mine) nor in the logfile. Can anybody help me to figure out the cause of this? Here is my smb.conf: [global] workgroup = test netbios aliases = homedirs server string = apollo
2004 Jun 01
2
Syntax for 2 ISDN Cards
Hi there, I searched in mailinglist and in web, but no answer to my problem... Only this post with no answers: http://lists.digium.com/pipermail/asterisk-users/2004-March/038994.html I'm using CVS Asterisk (05/17/04) with chan_capi 0.3.1. (multiple controller support). In my Asterisk-box there are 2 Fritzcards (module for second card compiled with changes on sourcecode found in the web).
2007 May 17
3
Community common.pp
Should a page in the wiki be created to describe a good common.pp? For example, Luke states in the documentation for ''Exec'' that "...there is a strong tendency to use exec to do whatever work Puppet can''t already do; while this is obviously acceptable (and unavoidable) in the short term, it is highly recommended to migrate work from exec to native Puppet types as
2007 May 26
13
munin module: manage clients and server''s config
...idea is now, that for every munin::client, a configuration snipplet is maintained on the puppetmaster. Each munin::server''s munin.conf ist then maintained like in the examples above. I do not know how to implement this. The puppetmaster would have to keep the directory where the node-snipplets reside in sync. For this, it would be necessary, that the puppetmaster generates a munin.conf snipplet locally for every node that is in munin::client. Is this possible? Thanks, and have a nice day, udo.
2015 Jun 10
0
[Bug 1585] Allow an `Include' option which reads another config file in place and does not error out when `Include' file not readable
...ides. This does not *have to* be a big problem in specific cases, but it is a problem in the general case, when one starts mixing configuration bits coming from different sources with different trusts. ssh does not warn when you have twice the same setting with different options, so configuration snipplets from your company can override your own settings without you noticing. It can change host settings. It can change security settings. It can change how ssh connects to where. I myself am using a "cat ~/.ssh/config.d/* > ~/.ssh/config" approach myself and that certainly works and is use...
2007 Oct 05
1
Sklyar's inline package: how to return a list?
...39;s wonderful inline package. The question I have is, how do I return multiple values, say in a list? Inside the C code, I've also calculated 'sum'. How do I return this along with 'res'? Ultimately, I want to return multiple matrix results. Thanks in advance for any code snipplets/advice! Regards, Ken # -------------------------------------------------------------------------------------------------------------------------- > my.mat [,1] [,2] [,3] [1,] 1.5 4.5 7.5 [2,] 2.5 5.5 8.5 [3,] 3.5 6.5 9.5 > funx( a=my.mat ) [,1] [,2] [,3] [1,] -1.5 -4.5 -...
2007 Dec 10
0
IRC Chat Room
...e started the room #wxRuby on irc.freenode.net, since this is where the official Ruby-Lang chat room is. If your looking for help, or support, feel free to drop by. Also, keep in mind, of the following rules: 1.) Be nice to others, keep things below PG-13 Rule, including language! 2.) Paste code snipplets to http://rafb.net/paste (This is in the Room Topic) 3.) Enjoy yourself, and have fun! For now, I''ll be the only developer there for the wxRuby Project, unless Alex or Sean decide they want to stop by. See you all in the chat room! Mario Steele _______________________________________...
2002 Dec 18
0
Unable to lookup names to display / .NET client problem (fwd)
Hi, I am running samba 2.2.7 on FreeBSD 4.7 as PDC with LDAP database backend. I have serveral Windows XP Pro client. Eveything fine about joining the domain ( after change the reg key ), logging in. But when I run, .NET application on the client, it says user need to be in Debugger User Group on local machine. Is there any way to make it work ?? My workaround is trying to change permission
2014 Sep 18
0
Regression and inconsistency of width of apostrophes in R vignettes
My main dev machine died a well-deserved death a few weeks ago after six and a half years of faithful service, and refused to be re-animated. A substantial part of setting up its replacement is re-running a lot of R vignettes (mostly for timing to establish new performance baselines) - and also cleaning away some such vignettes generated in the past under different versions of R. So I noticed a
2006 Feb 24
4
Problem having two belongs_to of the same class type
...ve two belongs_to in Shipment called shipped_to and shipped_from I can''t seem to make it work. I can get it to display the form properly but when I select the branches and click save I get the following error... "Branch expected, got String" Any ideas? I have added some code snipplets below for reference. Thanks! shipment.rb: ------------------------------------------------ class Shipment < ActiveRecord::Base belongs_to :shipped_to, :class_name => ''Branch'', :foreign_key => ''shipped_to_id'' belongs_to :s...
2004 Nov 23
4
Forwarding calls
Hello all, I want to setup Asterisk to forward a call if the dialed extension is busy. I do not want to wait on the line until the extension timeout expired. What I want is when I dial am extension currently Busy (Talking with someone), asterisk inmediately forwards my call to an extension I previosly defined. Someone could help me? Any clue will be appreciated. Regards from Spain. Ismael
2012 Aug 10
2
[Bug 53342] New: nouveau driver doesn't set clock rate of NV40 card
https://bugs.freedesktop.org/show_bug.cgi?id=53342 Bug #: 53342 Summary: nouveau driver doesn't set clock rate of NV40 card Classification: Unclassified Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component:
2013 Apr 08
4
LMTP Setup/Design Help Request
Hi altogether, I am switching from dbmail 2.2 to dovecot 2.1.7, and I was able to do a successful transition of IMAP. But I had a very hard time with receiving mail, and in the end -- after loads of reading and debugging -- I broke down and failed. This is why I am asking you for your kind help. I only have virtual users and have set mail_uid = dovemail mail_gid = dovemail For authentication,