Skip to content

Instantly share code, notes, and snippets.

package pdf;
import com.itextpdf.text.pdf.parser.ImageRenderInfo;
import com.itextpdf.text.pdf.parser.TextExtractionStrategy;
import com.itextpdf.text.pdf.parser.TextRenderInfo;
import com.itextpdf.text.pdf.parser.Vector;
import com.itextpdf.text.Rectangle;
public class MyTextExtraction implements TextExtractionStrategy {
@gunungloli666
gunungloli666 / Hypocicloid.java
Created December 7, 2012 20:13
belajar geometri sederhana di java
/**
* Copyright 2012, Moh. Fajar
*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@gunungloli666
gunungloli666 / MeshGridInJava.java
Created December 10, 2012 17:23
simple example of array manipulation in java.......
package fjr.geometri.test;
/**
*
* @author mamat
*/
public class MeshGridInJava {
public static void main(String[] args) {
@gunungloli666
gunungloli666 / Linspace.java
Created December 10, 2012 17:48
Linear vektor space di java.....
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package fjr.geometri.test;
/**
*
* @author mamat
*/
@gunungloli666
gunungloli666 / RandomArray.java
Created December 10, 2012 18:36
random array di java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package fjr.geometri.test;
import java.util.Random;
/**
*
@gunungloli666
gunungloli666 / BeautifulEye.java
Created December 10, 2012 22:25
bagaimana mengarahkan bola matanya agar menuju pada arah yang tepat....
/**
* Copyright 2012, Moh. Fajar
*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@gunungloli666
gunungloli666 / AppFrame.java
Created December 15, 2012 01:07
untuk belajar plot berjalan
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package tuningpid;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import javax.swing.JFrame;
@gunungloli666
gunungloli666 / runGUI.m
Last active December 11, 2015 20:58
untuk yang masih pemula dalam MATLAB..... :D
function runGUI
% dibuat oleh Mohammad Fajar pada malam selasa (29/1/2013)
clc;
init();
% dalam GUI matlab, container kedua tertinggi adalah figure...
% yang pertama tertinggi adalah root yang merupakan monitor
fig = ...
figure('name', 'Test Sin', ...
'numbertitle', 'off', ...
'position' , [200, 100, 500,500], ...% relatif terhadap
@gunungloli666
gunungloli666 / excel_test.m
Created January 29, 2013 23:15
untuk belajar MATLAB gandeng excel
clc;
% sebelum menjalankan program ini perlu diingat hirarki dari sebuah file
% spreadsheet (khususnya microsoft excel)adalah: yang pertama tertinggi adalah
% 'woorkbook' yang merupakan file excel itu sendiri. Yang kedua adalah 'sheets'
% atau KUMPULAN sel-sel (kotak-kotak) tempat kita bekerja (menaruh angka), biasanya
% secara default dalam sebuah 'workbook' yang baru dibuat, akan ada 3 sheet
% yang tersedia.
% Kemudian yang terakhir adalah 'cell' atau sebuah sel (kotak) dalam 'sheets'
% sebelum memulai anda mesti membuat sebuah file excel yang ditempatkan
@gunungloli666
gunungloli666 / query2excel.m
Created January 30, 2013 08:11
just coba-coba.. :D
function query2excel(varargin)
% dibuat oleh Mohammad Fajar (20211019)
% tuorial ini buat yang pertama kali menggunakan MATLAB...
% mungkin masih banyak kekurangannya, tapi g apa-apalah....
% just for newbie....
clc ;
global f;
global data;
global count;