Selasa, 01 Januari 2019
Sabtu, 08 Desember 2018
#include
Kamis, 09 Agustus 2018
Text editor Freeware yang dapat digunakan untuk membuka file berukuran besar EditPadLite7.exe
Sabtu, 07 April 2018
SET SERVEROUTPUT ON; begin DBMS_OUTPUT.PUT_LINE('HELLO ORACLE'); end;
Pada kondisi normal Icon Recycle bin tidak muncul pada windows 8. salah satu cara untuk menampilkan recycle bin pada windows 8 ialah dengan cara berikut. Klik kanan Buat Folder baru buat folder baru dengan nama folder berikut -> Recycle bin.{645FF040-5081-101B-9F08-00AA002F954E}
Minggu, 26 November 2017
Rabu, 01 Februari 2017
data _null_; set libTrx.manipulasi; file "d:\FixLength.txt"; put @1 SysDate DDMMYY10. @10 RptDate DDMMYY10. ; run;
Sabtu, 16 Juli 2016
xcopy "C:\BUFFER\Copy" "C:\VBA\hasil" /s /i save file as CopyFile.vbs parameter /i copy all file in folder parameter /s copy all file in subfolder
Sabtu, 19 Maret 2016
Example 1: Executing Operating System Commands Conditionally If you want to execute operating system commands conditionally, use the CALL SYSTEM routine: options noxwait; data _null_; input flag $ name $8.; if upcase(flag)='Y' then do; command='md c:\'||name; call system(command); end; cards; Y mydir Y junk2 N mydir2 Y xyz ; This example uses the value of the variable FLAG to conditionally create directories. After the DATA step executes, three directories have been created: C:\MYDIR, C:\JUNK2, and C:\XYZ. The directory C:\MYDIR2 is not created because the value of FLAG for that observation is not Y . The X command is a global SAS statement. Therefore, it is important to realize that you cannot conditionally execute the X command. For example, if you submit the following code, the X statement is executed: data _null_; answer='n'; if upcase(answer)='y' then do; x 'md c:\extra'; end; run; In this case, the directory C:\EXTRA is created regardless of whether the value of ANSWER is equal to 'n' or 'y' .
Rabu, 03 Agustus 2011
import java.io.File;
public class DirectoryReader {
static int spc_count=-1;
static void Process(File aFile) {
spc_count++;
String spcs = "";
for (int i = 0; i < spc_count; i++)
spcs += " ";
if(aFile.isFile())
System.out.println(spcs + "[FILE] " + aFile.getName());
else if (aFile.isDirectory()) {
System.out.println(spcs + "[DIR] " + aFile.getName());
File[] listOfFiles = aFile.listFiles();
if(listOfFiles!=null) {
for (int i = 0; i < listOfFiles.length; i++)
Process(listOfFiles[i]);
} else {
System.out.println(spcs + " [ACCESS DENIED]");
}
}
spc_count--;
}
public static void main(String[] args) {
String nam = "D:/";
File aFile = new File(nam);
Process(aFile);
}
}
Minggu, 31 Juli 2011
http://sarovar.org/docman/view.php/32/23/javadbf-tutorial.html
Sabtu, 30 Juli 2011
Senin, 25 Juli 2011
PDFBox
String path = "/Users/daniel/Temp/mypdf.pdf";
PDFTextStripper stripper = new PDFTextStripper();
PDDocument pdDoc = PDDocument.load(path);
StringWriter writer = new StringWriter();
stripper.writeText(pdDoc, writer);
System.out.println(writer.toString());
String path = "/Users/daniel/Temp/mypdf.pdf";
PdfReader reader = new PdfReader(path);
int numberOfPages = reader.getNumberOfPages();
PdfTextExtractor extractor = new PdfTextExtractor(reader);
for (int i = 0;i
}
Sabtu, 25 Desember 2010
c:\>copy /b 123.jpg+123.rar gabung.jpg
Rabu, 10 November 2010
in php we usualy use $_GET['variable_name']
but in joomla 15 we user
JRequest::getVar('parametername');
to get parameter from form with action get
Selasa, 09 November 2010
defined('_JEXEC') or die('Restricted access');
$items = $params->get('items', 1);
$db =& JFactory::getDBO();
$query = "SELECT id, title, author, synopsis FROM #__books WHERE published = '1' ORDER BY id DESC";
$db->setQuery( $query, 0 , $items ); // hanya mencetak sebuah record yang ada
$rows = $db->loadObjectList();
foreach($rows as $row)
{
echo 'id.'&task=view&title='.$row->title).'">'.$row->title.'';
echo '('.$row->author.')
';
echo substr($row->synopsis,0,25).'...
';
}
Label: programming php joomla
Minggu, 24 Oktober 2010
Label: Programming Java
Label: Programming Java
