Displaying 20 results from an estimated 7000 matches similar to: "Anyone can create empty files (v 3.5.11)"
2008 Feb 08
1
unwanted paragraph (syntax edge-case)
Hi list!
Take this markdown input:
* asdf
* asdf
* asdf
asdf
What I want:
<ul>
<li>asdf
<ul>
<li>asdf</li>
<li>asdf</li>
</ul>
<p>asdf</p></li>
</ul>
But markdown puts the first asdf into a paragraph. There is nothing I can do
2011 Mar 18
1
Bug using inline code blocks in nested lists?
Hi,
I am generating a nice document with some inline code blocks and came
around the following error:
1. asdf
- \` asdf `` `asdf` ``
produces:
<ol>
<li>asdf
<ul><li>` asdf <code><code>asdf</code></code> </li></ul></li>
</ol>
instead of:
<ol>
<li>asdf
<ul><li>` asdf
2008 Sep 17
2
bug in maruku with single-element nested unordered list?
This does not produce the expected output, yet does work on the dingus [1]:
* asdf
* asdf
>> require ''maruku''
=> true
>> doc = Maruku.new("* asdf\n * asdf\n")
=> md_el(:document,[
md_el(:ul,[md_el(:li_span,["asdf *
asdf"],{:want_my_paragraph=>false},[])],{},[])
],{},[])
>> doc.to_html
=> "<ul>\n<li>asdf *
2011 Sep 07
1
Samba on freebsd - permissions issue
Hello,
I have Samba set up on FreeBSD with a share for guests. I don't need or want any authentication for this share.
[test2]
path = /data/test2
read only = No
create mask = 0777
guest ok = Yes
The file permission on the host directory was set to 2777 and nobody:nobody. When a windows machine writes to the dir the permissions look fine. For example,
2011 Jan 05
2
check, that a script is in a folder
$ echo ${PWD##*/}
somefolder
$ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$
So i just want to check that i'm in an exact folder. e.g.: "asdf"
What's wrong with my one-liner?
I just want to check, that a script is in a folder,
2011 Jan 02
3
variable in loop
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a $ASDF"$(for i in {1..$a}; do printf "."; done)
65 hello.
$
Why doesn't it print:
65 hello.................................................................
What am i missing?
2007 May 18
1
naive question about using an object as the name of another object
This is a dumb question, but I'm having trouble finding the answer to this.
I'd like to do the following:
x<-"asdf"
and then have
the object x.y become automatically converted/represented as asdf.y (sort of
akin to macro variables in SAS where you would do:
%let x=asdf and do &x..y)
What is the syntax for having x represented as "asdf" in x.y ?
Thanks,
2009 Jun 16
2
Question regarding dataframes, matrix, frame, etc...
Hi all,
As of now, I have a 15x8 matrix (name is "asdf"). The first seven columns
contain numbers while the last column contains a string. The class of each
column is "character". When I use the plot function to display a scatter
plot between any of the two columns, ie. plot(asdf[, 1], asdf[, 2])
everything works fine. However, if I want to use the command "pairs" to
2012 Jan 24
2
Password auth scheme question with mysql
Hi, I have a current auth database using mysql with a "password" column
in plain text. The config has "default_pass_scheme = PLAIN" specified
In preparation for a more adaptable system I changed a password entry
from "asdf" to "{PLAIN}asdf", but now auth fails. Works fine if I
change it back to just "asdf". (I don't believe it's a
2007 Jun 20
1
mail_log plugin updates
It supports configuration now in devel version:
# Events to log. Default is all.
#mail_log_events = delete undelete expunge copy mailbox_delete
# Group events within a transaction to one line.
#mail_log_group_events =
# Available fields: uid, box, msgid, size, vsize
# size and vsize are available only for expunge and copy events.
#mail_log_fields = uid box msgid size
Without
2005 Dec 21
1
random output with sub(fixed = TRUE)
I've noticed what I think is curious behavior in using 'sub(fixed = TRUE)' and
was wondering if my expectation is incorrect. Here is one example:
v <- paste(0:10, "asdf", sep = ".")
sub(".asdf", "", v, fixed = TRUE)
The results I get are
> sub(".asdf", "", v, fixed = TRUE)
[1] "0"
2010 Jun 04
3
SORT with unknown charset bug?
I'm not sure this is a known bug. I'm using dovecot 1.1.19.
C: s SORT (DATE) blah ALL UNDELETED OR HEADER SUBJECT {4}
S: + OK
C: asdf HEADER FROM {4}
S: + OK
C: asdf
S: * SORT 1 2 4 5 3 6 7 (... all messages in folder)
S: s NO [BADCHARSET] Unknown charset
I think there shouldn't be "* SORT... " response.
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
2017 Jun 22
0
Question
Rows are horizontal, columns are vertical.
You really need to spend some time with an R tutorial.
dta <- read.table( "yourfile", header=TRUE, as.is=TRUE )
dta2 <- dta
dta2$D <- c( "awe", "abcd", "asdf", "xyz" )
dta2 <- dta2[ , c( "A", "D" ) ]
--
Sent from my phone. Please excuse my brevity.
On June 22, 2017
2017 Jun 22
4
Question
Hi,
I am using Spark and the Sparklyr library in R.
I have a file with several lines. For example
A B C
awer.ttp.net Code 554
abcd.ttp.net Code 747
asdf.ttp.net Part 554
xyz.ttp.net Part 747
I want to split just column A of the table and I want a new row added to the table D, with values awe, abcd, asdf, and xyz. I am trying to use a command in
2007 Dec 31
2
episode 73 resulting in error: undefined method `stringify_keys!' for "33":String
I''m working with a similar model in Episode 73, (my scenario is
editing multiple pictures for a product using attachment_fu).
And I''m getting an error when I try the technique suggested:
./views/admin/_form.rhtml
<% for picture in product.pictures %>
<% fields_for "product[picture_attributes][]", picture do |
picture_form| %>
Title: <%=
2019 Mar 10
2
Exit status of Rscript when setting options(error=utils::recover)
Hello, I've noticed that Rscript didn't exit with error code if I set
options error = utils::recover in .Rprofile . for example
Rscript -e "asdf"
Error: object 'asdf' not found
No suitable frames for recover()
echo $?
0
if didn't set options in .Rprofile, Rscript exit with error code 1, is
this expected behavior ?
2011 Oct 18
1
file_mode and dir_mode options ignored
Hi there. I'm using samba3x-3.5.4-0.83.el5_7.2 on CentOS release 5.7 x86_64 to mount a Terastation filesystem. The "file_mode" and "dir_mode" options to mount.cifs seem to be ignored; I systematically get a "drwxrwxrwx" permission, no matter what values I provide for these options:
# mount.cifs //terastation/Backup /bkp/BackupPC/ -o
2011 Sep 04
1
Strange permission problem when mounting a share
Hello all,
I have been struggling with a permission issue with Samba for over a week
now. I've tried many different setup, without much success.
I am using samba 3.6 on Arch Linux. The user I am testing with is a member
of the group nobody.
I have a share defined as it :
security = share
[public]
path = /home/smbshare
public = yes
only guest = yes
writable = yes
printable =
2007 Jul 19
3
Merb::Controller#url Usage
I have a question about the usage of Merb::Controller#url. When I
have nested resources, requesting the new action works differently
than I expected. I was wondering what the intended usage is.
For example:
Say I have
r.resources :articles do |article|
article.resources :article_attachments
end
irb(main):002:0> show_routes
[:articles, "/articles"]
[:article_attachments,
2013 Jan 15
2
Regular expression
Hello again,
I am having a problem on Regular expression. Let say I have following code:
> gsub("[',]", "", "'asd'f")
[1] "asdf"
This is perfect. However I am having problem if I include "" (i.e. the
double quote) in the first argument as the pattern search:
> gsub("[',"]", "",