Monday, April 7, 2014

Web page history

Friday, April 4, 2014

Can't remote reboot Windows Server 2003

error: A system shutdown is in progress.(1115)

pskill \\servername winlogon

source: Unstick a remote reboot

Thursday, April 3, 2014

Jadikan laptop menjadi full/semi touch screen

Jual Touch Screen Overlay Murah!
bukan buat laptop karena...
layar monitor laptop kan tipis & "lemes", sedangkan overlay-nya agak berat, nanti ga kuat layar laptop agan

Magic Stick Touchscreen Creator Pen

APEN Touch8, Aksesori Konverter LCD menjadi Layar Sentuh – Touch Screen

Monday, March 31, 2014

UEFI related

Warning - UEFI install and secondary hard drive with Extended/Logical partitions.
a UEFI installed system, will fail to boot if a secondary drive is attached which contains logical partitions. This would have to be an MBR configured drive, of course, but if it has at least one primary and one extended partition, it will stop Windows 7 and Windows 8 from booting

Wednesday, March 26, 2014

OpenVPN on Mikrotik with Windows 7 client

From Manual:Interface/OVPN, this can only be done with RouterOS v5+
...if you don't have milrotik version 5+, use PC as server
...use OpenVPN on both server and client PC
...use Community Edition (free) and Static Key for simplest setup

Mikrotik OpenVPN server / Windows 7 client
to create certificates and keys, follow guide below (section A.)
before importing server.key to mikrotik, it has to be converted to text:
...on lubuntu
...navigate to easy-rsa\keys
...rsa -in server.key -text -out server.key.txt

Setting up your own Certificate Authority (CA) and generating certificates and keys for an OpenVPN server and multiple clients
...Generate the master Certificate Authority (CA) certificate & key
......For PKI management, we will use easy-rsa, a set of scripts which is bundled with OpenVPN 2.2.x and
......earlier. If you're using OpenVPN 2.3.x, you need to download easy-rsa separately from here.
......NOTE to self: download and install easy-rsa using guide from Openvpn 2.3 on Ubuntu VPS:
......As of OpenVPN 2.3, Easy-RSA is no longer a part of the OpenVPN install, so we have to get it
......separately.  We will download it in our home directory.  Note: the latest version of Easy-RSA is version
......3, we needed the older release version 2.

......$ cd ~
......$ wget ......
......$ unzip

......We now put it all together, transferring a copy of Easy-RSA to the openvpn directory.

......$ mkdir /etc/openvpn/easy-rsa
......$ cp -R ~/easy-rsa-release-2.x/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
......$ cd /etc/openvpn/easy-rsa
...Generate certificate & key for server
...Generate certificates & keys for 3 clients need to follow these steps(?)

Tuesday, March 25, 2014

Laporan SPT Tahunan


Apa bedanya bagian A dan bagian B pada lampiran 1770 S II?

misalnya:kita memiliki tabungan maka:

pada bagian A :

kolom 3 (Dasar Pengenaan Pajak/Penghasilan Bruto) isi bunganya tabungan kita (nilai bunganya saja selama tahun 2010 / tahun pelaporan pajak)

kolom 4 (PPh Terutang) kita isikan pajak atas bunga selama tahun 2010 ---> pajak atas bunga yang dikenakan oleh bank dimana kita memiliki tabungan


pada bagian B Harta pada akhir tahun

ktia isikan  kolom 2 : jenis harta --> tabungan

kolom 3:  tahun perolehan --> 2010 (tahun pelaporan pajak kita)

kolom 4: harga perolehan - rupiah ---> jumlah nominal angka akhir tabungan kita di akhir tahun 2010 (tahun pelaporan pajak kita) yaitu nilai tabungan+bungan- biaya administrasi/bank - pajak atas bunga


misalnya agan punya deposito 500 juta di BCA dng bunga 8%/tahun di 2009.
jadi bunga dari deposito adalah 8% X 500 juta = 40 juta
Pajak dari bunga deposito : 40 juta X 20% = 8 juta

data-data ini agan masukkan dalam Formulir 1770 S II, sebagai berikut :

1. Formulir 1770 S II Bagian A Nomor urut 1 yaitu bunga deposito, tabungan, diskonto SBI,bla..bla.. agan isi Dasar Pengenaan Pajak = 40.000.000 dan PPh TERUTANG = 8.000.000

2. Formulir 1770 S II Bagian B HARTA PADA AKHIR TAHUN agan isi :
Jenis Harta = Deposito BCA
Tahun Perolehan = 2009
Harga Perolehan = 500.000.000

Tuesday, March 18, 2014

Filtering on temp table

SETSELECTIONFILTER in temporary records
Regular record variables are looking at the actual table, so you can take the filter from one variable, copy them to another variable, and you get the same results, because the variable goes to the table and retrieves records from the physical table. No brainer right. You'd think that the same applies to temporary records right? Well that's where you are wrong, because temporary records don't have any values in them when you instantiate them, so when you fill only one of them, set filters, and copy the filters to the other one, it comes as no surprise that there are no values in there, BECAUSE IT DOESNT HAVE ANY VALUES.

You have a temporary record variable, which is empty when it is instantiated. You fill it up. Now it has records, temporary records that only exist in this memory space that is occupied by this single record variable. Now you apply a filter on this set of records. Now you want to apply the same filter to another temporary record, but you are surprised that you don't see anything in the other one. The other one hasn't been filed yet, it is uninstantiated!!! The second variable doesn't just read from the first variable, you have to actually put the records into the variable.

Think of a temporary record variable as a collection of objects. Rec (the temporary record variable that your form is based on) and NewRec (which is a global or local variable somewhere in your logic) are two different collections. One of them has been filled, but the other one has not been filled. The selectionfilter from Rec is properly applied to NewRec, but since there is nothing in there, you don't see anything.