... always the day of the month Thus, the equation applied to January 1, 19 70, is as follows: (19 69*365)+ (19 69/4)- (19 69 /10 0)+ (19 69/400)+ (14 *3060 01/ 10000) +1 Days Since Epoch The start of the script ... the number of days that have elapsed since January 1, 19 70 by determining the number for 1/ 1 /19 70 and subtracting that from the number for the current date (Year*365)+(Year/4)-(Year /10 0)+(Year/400)+(Month*3060 01/ 10000)+(Day) ... date Since the epoch (1/ 1 /19 70) is fixed, its value can be calculated once and the constant 719 5 91 used in its place, thus saving some CPU cycles #!/bin/sh epoch_days= 719 5 91 second=`date +'%S'`...
... CustomerID of ALFKI, as shown in Figure 17 .5 Notice that the equals (=) and single quote (') characters in the whereClause parameter value of the URL have been converted to the codes %3D and %27 respectively ...
... nBytesRead > 65536) break; char nextChar = (char)nextByte; if (nextChar < 16 ) nextLine.Append(" x0" + string.Format("{0 ,1: X}", (int)nextChar)); else if (char.IsLetterOrDigit(nextChar) || char.IsPunctuation(nextChar)) ... xem xét làm file đọc vào Trong trình xử lý thực có dòng chứa (cũng có nghĩa có ký tự (char )13 (char )10 file đến kết thúc file) Chúng ta giải vấn đề cách ban đầu đọc file vào lớp đại diện StringCollection, ... file hộp thoại, gọi phương thức DisplayFile(), dùng để đọc file void DisplayFile() { int nCols = 16 ; FileStream inStream = new FileStream(chosenFile, FileMode.Open, FileAccess.Read); long nBytesToRead...
... Console.WriteLine(myFile.CreationTime.ToString()); // cập nhật thời điểm tạo file myFile.CreationTime = new DateTime (20 01, 1, 1, 7, 30, 0); File and Registry - Editor: Đoàn Quang Editor: Đoà Minh Managing the File System ... thông tin hardware software HKEY_USERS (HKUSR): chứa thông tin user – Để đọc ghi registry, phải có quyền admin (mặc định) File and Registry - Editor: Đoàn Quang Editor: Đoà Minh 12 The Registry Truy ... and Registry - Editor: Đoàn Quang Editor: Đoà Minh 14 Tài liệu tham khảo Professional C#, Second Edition http://www.asp.net http://www.microsoft.com/net/default.mspx http://www.codeproject.com...
... dẫn file ,folder Thời gian file, folder truy xuất cuối Time file or folder was last modified Name of the file or folder Đường dẫn gốc Kích thước file tính bytes (chỉ FileInfo ) Các phương thức bạn ... GetFileSystemObjects() Purpose folder (DirectoryInfo only) Trả đối trương FileInfo DirectoryInfo mảng tham khảoFileSystemInfo Tạo đối tượng DirectoryInfo Bạn bắt đầu làm việc với lớp DirectoryInfo cách khai ... DirectoryInfo dirl = new DirectoryInfo("."); //Tạo mộtthư mục từ thư mục C:\Foo\Bar trở DirectoryInfo dir2 = new DirectoryInfo(@"C:\Foo\Bar"); Lớp Path Lớp Path không lớp mà bạn khai báo cụ thể, Đúng ra,...
... nBytesRead > 65536) break; char nextChar = (char)nextByte; if (nextChar < 16 ) nextLine.Append(" x0" + string.Format("{0 ,1: X}", (int)nextChar)); else if (char.IsLetterOrDigit(nextChar) || char.IsPunctuation(nextChar)) ... xem xét làm file đọc vào Trong trình xử lý thực có dòng chứa (cũng có nghĩa có ký tự (char )13 (char )10 file đến kết thúc file) Chúng ta giải vấn đề cách ban đầu đọc file vào lớp đại diện StringCollection, ... file hộp thoại, gọi phương thức DisplayFile(), dùng để đọc file void DisplayFile() { int nCols = 16 ; FileStream inStream = new FileStream(chosenFile, FileMode.Open, FileAccess.Read); long nBytesToRead...
... details, purpose of the folder and links to Web sites For example, if the shared folder called Products contains several subfolders that have names like 0 021 X1, 0 021 X2 and 0 021 X3, you can customize ... User1 User1 10 0 MB 10 0 MB User2 35 MB User2 35 MB NTFS Volume Windows 20 00 disk quotas track and control disk usage on a per-user, per-volume basis Each user’s disk space is tracked regardless of ... disk partitions and sets in Microsoft Windows NT® version 4.0 A basic disk can contain up to four primary partitions, or up to three primary partitions and one extended partition In Windows 20 00,...
... Console.WriteLine(myFile.CreationTime.ToString()); // cập nhật thời điểm tạo file myFile.CreationTime = new DateTime (20 01, 1, 1, 7, 30, 0); File and Registry - Editor: Đoàn Quang Editor: Đoà Minh Managing the File System ... thông tin hardware software HKEY_USERS (HKUSR): chứa thông tin user – Để đọc ghi registry, phải có quyền admin (mặc định) File and Registry - Editor: Đoàn Quang Editor: Đoà Minh 12 The Registry Truy ... and Registry - Editor: Đoàn Quang Editor: Đoà Minh 14 Tài liệu tham khảo Professional C#, Second Edition http://www.asp.net http://www.microsoft.com/net/default.mspx http://www.codeproject.com...
... 6, 14 PUT 14 INDEX 16 OPL R ‘Record too large’ 10 records bookmarks 14 moving between saving 4, 14 ROLLBACK 13 T tables creating 12 field handles 12 field names 13 in a database 12 indexes 14 ... a different file databases 12 compacting 15 creating 12 opening 13 transactions 13 DELETE E end of file, in a data file EOF ERASE F field handles 12 fields as keys 14 in data files input to types ... GOTOMARK 14 I ‘Incompatible update mode’ 14 input to data fields INSERT 14 INTRANS 13 K KILLMARK 14 L LAST logical name of data file logical names 12 M MODIFY 14 N NEXT O OPEN 3, 13 P POS 6, 14 POSITION...
... of telomeric G-quadruplexes as therapeutic targets in human cancer FEBS J 27 7, 11 18 11 25 Phan AT (2 010 ) Human telomeric G-quadruplex: structures of DNA and RNA sequences FEBS J 27 7, 11 07– 11 17 ... and i-motif in oncogene promoters 12 13 14 15 16 17 18 19 20 21 22 23 T A Brooks et al G-quadruplexes in the hTERT core promoter with implications for inhibition of telomerase by G-quadruplex-interactive ... Soc 13 1, 17 667– 17 676 ´ 29 Gonzalez V & Hurley LH (2 010 ) The c-MYC NHE III1: function and regulation Annu Rev Pharmacol Toxicol 50, 11 1 12 9 30 Postow L, Hardy CD, Arsuaga J & Cozzarelli NR (20 04)...