search for: snipplet

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

Did you mean: snippet
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...
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. o...
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 systems attempt to write to the same storage. ljs This message posted from ope...
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; @ remove obs that fail all three of the...
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 = NA) med...
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,rec...
2003 Nov 04
1
current CVS seems to have index problems.
...ent 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. After some debugging it seems like dovecot: 1. creates an index, for mbox_index_rewrite(), 2. rewrites the mbox, but then 3. forgets to update the index after the rewrite. and ends up in a state with a pre-rewrite index but a post-rewrite folder. No...
2010 Apr 07
1
Samba PDC: Only one User can't log in
...ldap user suffix = ou=people create mask = 0775 directory mask = 0775 hide files = /Desktop.ini/desktop.ini/ntuser.ini/NTUSER.*/tmp/RECYCLER/ strict locking = No share modes = No delete readonly = Yes Please find attached the logfile-snipplet. Sorry, but its to big for pastebin. Regards Daniel -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: b-xp.log.ds URL: <http://lists.samba.org/pipermail/samba/attachments/20100407/07ac426d/attachment-0001.ksh>
2004 Jun 01
2
Syntax for 2 ISDN Cards
...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). "capi info" shows: Contr1: 2 B channels total, 2 B channels free. Contr2: 2 B channels total, 2 B channels free. Here a snipplet of my capi.conf: [interfaces] msn=7501,7502 incomingmsn=* controller=1,2 devices=2,2 Is that correct? I also tried "devices=4". When I try to make 3 simultaneous connections from SIP to ISDN the first and second one works, but on the third connection this happens: -- Executing Dial(&quot...
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
...the munin.conf. But how do I deploy it then? To manage the server and the clients with minimum effort, I thought that it should be enough to have one (or more) nodes in the munin::server class, and nodes in the munin::client class. The 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 th...
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 us...
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)
...But I still can add individual user. I need to add the group since i have thousand of users and I cannot add all. I searched around the mailing list and the unable to lookup names problem is said to be fixed in ver 2.2.3. But why am i haveing problem ?? Am I doing something wrong ?? Here is my snipplet from my smb.conf file. ldap admin dn = "cn=root,dc=cs,dc=mydomain,dc=com" ldap server = directory.cs.mydomain.com ldap suffix = "ou=People,dc=cs,dc=mydomain,dc=com" ldap port = 389 ldap ssl = start tls ## ## Passwords & Authenticatio...
2014 Sep 18
0
Regression and inconsistency of width of apostrophes in R vignettes
...R. So I noticed a regression of behavior between R 2.x and 3.x/current. The width of apostrophes in code output was working correctly in R 2.x and is wrong in R 3.x generated vignettes. Specifically, it affects summary(data.frame) with some columns that contains NA's. Here is an edited example snipplet (you should view this with fixed-width font terminal): ================= \begin{Sinput} > summary(some.data.frame) \end{Sinput} \begin{Soutput} P.BB z.HWE Min. :0.00000 Min. :-3.83163 1st Qu.:0.07071 1st Qu.:-0.56856 Median :0.26263 Median : 0.18426...
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 :...
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
...um Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: baris at teamforce.name.tr QAContact: xorg-team at lists.x.org nouveau driver, does not correctly reclock my card (nVidia Corporation G71 [GeForce 7300 GS] (rev a1)) Kernel log snipplet is below: [ 1.549172] [drm] nouveau 0000:01:00.0: Detected an NV40 generation card (0x046f00a3) [ 1.550079] checking generic (d0000000 500000) vs hw (d0000000 10000000) [ 1.550081] fb: conflicting fb hw usage nouveaufb vs VESA VGA - removing generic driver [ 1.550100] C...
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,