search for: date_string

Displaying 9 results from an estimated 9 matches for "date_string".

2011 May 18
4
Loop stopping after 1 iteration
...ta<-ncol(data_grid)-4 num_obs<-num_rows_data*num_cols_data time_series<-matrix(nrow=0,ncol=2) for(i in 1:length(num_obs)){ rownum<-ceiling(i/31)+1 colnum<-if(i%%31==0){ 35 }else{ (i%%31)+4 } year<-data_grid[rownum,2] month<-data_grid[rownum,3] day<-colnum-4 date_string<-paste(month,day,year,sep="/") date<-as.Date(date_string,format='%m/%d/%Y') value<-as.character(data_grid[rownum,colnum]) time_series<-rbind(time_series,c(date,value)) } The script is working as I intended it to (goes through a matrix of data where column 2 is the...
2010 Mar 21
0
[PATCH] core: use MY_NAME for syslinux_banner
Use MY_NAME for syslinux_banner in isolinux and pxelinux. This is already done in ldlinux and extlinux. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> diff --git a/core/isolinux.asm b/core/isolinux.asm index ef7d92d..23429bd 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -1034,7 +1034,7 @@ writestr_early equ writestr ; Data that needs to be in the first sector ;
2011 May 25
1
rake task: uninitialized constant
I have this rake taks: CUSTOM_MONTHS = [nil, "GEN", "FEB", "MAR", "APR", "MAG", "GIU", "LUG", "AGO", "SET", "OTT", "NOV", "DIC"] def parse_date_string(date_string) begin day, month, year = date_string.split("-") Time.mktime(year, CUSTOM_MONTHS.index(month), day).strftime("%Y-%m-%d") rescue return nil end end namespace :import do desc ''import pericolanti'' task :pericolanti => :environment do...
2006 Mar 20
1
can't compil
Hello! Why isolinux.asm is not compil? isolinux.asm:304: error: short jump is out of range isolinux.asm:307: error: short jump is out of range isolinux.asm:788: error: symbol `DATE_STR' undefined ui.inc:26: error: short jump is out of range ui.inc:30: error: short jump is out of range ui.inc:64: error: short jump is out of range ui.inc:88: error: short jump is out of range ui.inc:117: error:
2009 Aug 09
2
real serial port output from pxelinux.0
Hello, On a computer with a real serial port do I mis some output. It is 'real serial port' as opposed to virtual hardware. The text that I mis is 'My IP address seems to be' and the decreasing hexadecimal IP-adress staircase. The banner and the copyright message are displayed. pxelinux.cfg/default is fetched and its "SAY command" is shown. Have a look at this
2020 Mar 15
0
How to create a Bootable Live CD/DVD from your Linux From Scratch (LFS) build
Subject of Hint: How to create a Bootable Live CD/DVD from your Linux From Scratch (LFS) build Good day from Singapore, I am Mr. Turritopsis Dohrnii Teo En Ming, based in Singapore. I have recently *successfully* created my own custom Linux distribution called Teo En Ming Linux 2020.03 (FINAL), which is based on Linux From Scratch 20200302-systemd book and Linux Kernel 5.5.7, on 12 March
2002 Feb 26
0
syslinux timeout
Hi. I've ever wondered how nuch timeis left to timeout while waiting at the boot prompt, so I've writen this small patch to show it. This add a configuration command 'showtimeout'. If you like the patch I could improve it (for example to show the timeout in decimal because now it uses the writehex functions) Regards. -- ______ ________ / / \/ /___ ) I N T E G
2011 Jul 11
39
Help filling out a registration (I think it's called multi tenant)
Do you know when you are filling out a registration for a new account, and you keep pressing next to fill the rest of the information in separate pages? I''d like to do that, but I have no idea how. Basically I have a company model with its information, and a contacts model, with belongs to my company (also each company has only one contact), and I''d like for the user to fill in
2008 Jun 08
20
how to parse a "dd/mm/yyyy" formatted date string???
Hi, I''m stuck. How do you parse a "dd/mm/yyyy" formatted date string??? I get a date format error. Thanks in advance Greg --~--~---------~--~----~------------~-------~--~----~ 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