Thursday, May 14, 2015

Format mata uang (currency) dengan Javascript

Bagi yang tidak terlalu suka menggunakan javascript framework mem-format mata uang bisa dilakukan dengan cara sebagai berikut.


  1. /*
  2. decimal_sep: character used as deciaml separtor, it defaults to '.' when omitted
  3. thousands_sep: char used as thousands separator, it defaults to ',' when omitted
  4. */
  5. Number.prototype.toMoney = function(decimals, decimal_sep, thousands_sep)
  6. {
  7. var n = this,
  8. c = isNaN(decimals) ? 2 : Math.abs(decimals), //if decimal is zero we must take it, it means user does not want to show any decimal
  9. d = decimal_sep || '.', //if no decimal separator is passed we use the dot as default decimal separator (we MUST use a decimal separator)
  10. /*
  11. according to [http://stackoverflow.com/questions/411352/how-best-to-determine-if-an-argument-is-not-sent-to-the-javascript-function]
  12. the fastest way to check for not defined parameter is to use typeof value === 'undefined'
  13. rather than doing value === undefined.
  14. */
  15. t = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep, //if you don't want to use a thousands separator you can pass empty string as thousands_sep value
  16. sign = (n < 0) ? '-' : '',
  17. //extracting the absolute value of the integer part of the number and converting to string
  18. i = parseInt(n = Math.abs(n).toFixed(c)) + '',
  19. j = ((j = i.length) > 3) ? j % 3 : 0;
  20. return sign + (j ? i.substr(0, j) + t : '') + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : '');
  21. }


Untuk penyesuaian format bisa dilakukan sendiri ya :D.
Nah, jika ingin lebih praktis banyak juga library yang sudah dibuat para orang budiman yang berbaik hati mau berbagi. Salah satu contohnya adalah accounting.js.
Penggunaannya cukup mudah berikut beberapa contohnya.
// Standard usage and parameters (returns string):
accounting.formatMoney(number,[symbol = "$"],[precision = 2],[thousand = ","],[decimal = "."],[format = "%s%v"])

// Second parameter can be an object:
accounting.formatMoney(number, [options])

// Available fields in options object, matching `settings.currency`:
var options = {
 symbol : "$",
 decimal : ".",
 thousand: ",",
 precision : 2,
 format: "%s%v"
};

// Example usage:
accounting.formatMoney(12345678); // $12,345,678.00
accounting.formatMoney(4999.99, "€", 2, ".", ","); // €4.999,99
accounting.formatMoney(-500000, "£ ", 0); // £ -500,000

// Example usage with options object:
accounting.formatMoney(5318008, {
 symbol: "GBP",
 precision: 0,
 thousand: "·",
 format: {
  pos : "%s %v",
  neg : "%s (%v)",
  zero: "%s  --"
 }
});

// Will recursively format an array of values:
accounting.formatMoney([123, 456, [78, 9]], "$", 0); // ["$123", "$456", ["$78", "$9"]]
Gitu aja :D. Sampai jumpa di lain post. Thanks
Oh iya lupa kasi referensinya : http://stackoverflow.com/questions/149055/how-can-i-format-numbers-as-money-in-javascript dan http://openexchangerates.github.io/accounting.js

Memperbaiki Sublime apostrophe key (tanda petik satu) tidak normal

Pernahkah kamu mengalami kejadian seperti judul diatas? Mungkin yang tidak suka mengotak-atik laptopnya kejadian seperti ini tidak akan mungkin dihadapi. Tapi saya pernah. :D

Ini berawal ketika saya mencoba layout Keyboard Dvorak. Jadi saya hapus layout keyboard aslinya (QWERTY) dan hanya ada layout keyboard Dvorak saat itu. Apa jadinya?

Saya stuck. Saat itu cukup banyak job yang harus dikerjakan. Bisa dibilang itu cukup frustating tapi yah mau bagaimana lagi. Eh lah ko curhat :v. Maaf.

Oke to the point. Bagi kamu yang pakai Editor Sublime tentu familiar dengan fitur auto close apostrophe-nya. Jadi kalau kita tekan tombol apostrophe/single qoute (tanda petik satu ') cursor akan berada ditengah antara quote pembuka dan penutup. Ini cukup amazing. Apalagi bagi yang suka ngetik dengan kecepatan maksimum kayak saya :v.

Jika fitur ini tidak sesuai harapan atau tidak ada pada sublime kamu. Masalah yang mungkin menyebabkan adalah tipe layout keyboardnya. Untuk sublime tipe layout yang didukung adalah US English tanpa ada embel-embel internasionalnya.

Untuk pindah layout keyboard pada Windows 7 cukup mudah, ikuti langkah-langkah berikut.

  1. Tekan tombol Windows (yang sebelah tombol alt itu)
  2. Ketik 'Region and Language' kemudian Enter
  3. Pindah ke tab 'Keyboard and Language'
  4. Change Keyboard
  5. Kemudian Add layout Keyboard US dan jadikan default
  6. Selesai
Itu saja post kali ini. Semoga bermanfaat. :D
Jika ingin lebih jelas silahkan kunjungi referensi nya :v ( http://superuser.com/questions/346142/my-windows-keyboard-is-being-clever-with-the-quote-keys-how-can-i-stop-it )
Linknya panjang kan ? Itu karena doi bingung mau gimana nanyanya, untung yang jawab pada paham masalahnya. :D Semangat vrooh :v

Memicu Even dengan JQuery Trigger

Terkadang kita ingin memicu sebuah even pada halaman website. Hal ini bisa kita lakukan dengan mudah menggunakan fungsi "trigger" pada JQuery.

.trigger()

Pada situs resminya deskripsi fungsi ini sebagai berikut.
Execute all handlers and behaviors attached to the matched elements for the given event type.

Penggunaan :
.trigger( eventType [, extraParameters ] )
// eventType (string): event yang ingin dipicu, misalnya event "click", "submit" dsb
// extraParameters (array atau object json): parameter tambahan yang ingin dilewatkan saat eksekusi fungsi ini
atau
.trigger( event [, extraParameters ] )
// event : jquery event object 
// extraParameters (array atau object json): parameter tambahan yang ingin dilewatkan saat eksekusi fungsi ini

Sekian post kali ini, terima kasih sudah membaca :D.
Jangan lupa berkomentar :v

Referensi: http://api.jquery.com/trigger/

Wednesday, May 13, 2015

Analisis ketika Gagal Membuat Tabel InnoDB pada MySQL (InnoDB Troubleshooting - MySQL)

Kegagalan saat membuat tabel InnoDB seringkali disebabkan oleh masalah sepele diantaranya perbedaan definisi kolom.

MySQL memiliki fasilitas untuk troubleshooting untuk masalah tersebut. Gunakan perintah berikut:


SHOW ENGINE INNODB STATUS

Mysql akan memberikan informasi error kira-kira seperti berikut:

TypeNameStatus
InnoDB===================================== 150513 9:29:01 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 5 seconds ----------------- BACKGROUND THREAD ----------------- srv_master_thread loops: 51 1_second, 51 sleeps, 4 10_second, 12 background, 12 flush srv_master_thread log flush and writes: 57 ---------- SEMAPHORES ---------- OS WAIT ARRAY INFO: reservation count 5, signal count 5 Mutex spin waits 1, rounds 30, OS waits 0 RW-shared spins 5, rounds 150, OS waits 5 RW-excl spins 0, rounds 0, OS waits 0 Spin rounds per wait: 30.00 mutex, 30.00 RW-shared, 0.00 RW-excl ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 150513 9:22:01 Error in foreign key constraint of table inventori/pengadaan: FOREIGN KEY (`approval_id`) REFERENCES `inventori`.`user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE = InnoDB: Cannot find an index in the referenced table where the referenced columns appear as the first columns, or column types in the table and the referenced table do not match for constraint. Note that the internal storage type of ENUM and SET changed in tables created with >= InnoDB-4.1.12, and such columns in old tables cannot be referenced by such columns in new tables. See http://dev.mysql.com/doc/refman/5.5/en/innodb-foreign-key-constraints.html for correct foreign key definition. ------------ TRANSACTIONS ------------ Trx id counter D7B48 Purge done for trx's n:o < D7B47 undo n:o < 0 History list length 1551 LIST OF TRANSACTIONS FOR EACH SESSION: ---TRANSACTION 0, not started MySQL thread id 34, OS thread handle 0x19e0, query id 709 localhost 127.0.0.1 root show engine innodb status ---TRANSACTION D7B05, not started MySQL thread id 8, OS thread handle 0x1b4c, query id 676 localhost 127.0.0.1 root ---TRANSACTION 0, not started MySQL thread id 7, OS thread handle 0x18d4, query id 677 localhost 127.0.0.1 root -------- FILE I/O -------- I/O thread 0 state: wait Windows aio (insert buffer thread) I/O thread 1 state: wait Windows aio (log thread) I/O thread 2 state: wait Windows aio (read thread) I/O thread 3 state: wait Windows aio (read thread) I/O thread 4 state: wait Windows aio (read thread) I/O thread 5 state: wait Windows aio (read thread) I/O thread 6 state: wait Windows aio (write thread) I/O thread 7 state: wait Windows aio (write thread) I/O thread 8 state: wait Windows aio (write thread) I/O thread 9 state: wait Windows aio (write thread) Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] , ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0 Pending flushes (fsync) log: 0; buffer pool: 0 693 OS file reads, 219 OS file writes, 46 OS fsyncs 0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s ------------------------------------- INSERT BUFFER AND ADAPTIVE HASH INDEX ------------------------------------- Ibuf: size 1, free list len 0, seg size 2, 0 merges merged operations: insert 0, delete mark 0, delete 0 discarded operations: insert 0, delete mark 0, delete 0 Hash table size 69257, node heap has 2 buffer(s) 0.00 hash searches/s, 0.00 non-hash searches/s --- LOG --- Log sequence number 672691005 Log flushed up to 672691005 Last checkpoint at 672691005 0 pending log writes, 0 pending chkp writes 41 log i/o's done, 0.00 log i/o's/second ---------------------- BUFFER POOL AND MEMORY ---------------------- Total memory allocated 17006592; in additional pool allocated 0 Dictionary memory allocated 402804 Buffer pool size 1024 Free buffers 327 Database pages 695 Old database pages 273 Modified db pages 0 Pending reads 0 Pending writes: LRU 0, flush list 0, single page 0 Pages made young 0, not young 0 0.00 youngs/s, 0.00 non-youngs/s Pages read 682, created 13, written 177 0.00 reads/s, 0.00 creates/s, 0.00 writes/s No buffer pool page gets since the last printout Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s LRU len: 695, unzip_LRU len: 0 I/O sum[0]:cur[0], unzip sum[0]:cur[0] -------------- ROW OPERATIONS -------------- 0 queries inside InnoDB, 0 queries in queue 1 read views open inside InnoDB Main thread id 3340, state: waiting for server activity Number of rows inserted 2, updated 0, deleted 0, read 21 0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s ---------------------------- END OF INNODB MONITOR OUTPUT ============================

Sekian post kali ini... Kritik saran silahkan berkomentar :D

Saturday, August 16, 2014

Masalah yang mungkin dihadapi oleh pengguna "PHP Composer" dan beberapa solusinya

Lama banget blog ini nggak pernah dikasih makan. Atas dasar usulan teman ane yang keren (yang inisialnya adalah Jamal Apriadi), yaitu tentang menuliskan solusi untuk masalah yang pernah dihadapi di blog. Katanya biar kalo suatu saat lupa tinggal buka blog sendiri. Usulannya menarik, masuk akal dan berhubung ane 'sering banget' kedapetan masalah. Ane putuskan sebisa mungkin menuliskan semua solusi atas permasalahan ane ke blog ini. Semoga saja ke depannya sering dapet masalah dan cepet nemu solusinya. Amiin.

Oke sekian aja pembukaannya. Sekarang mari melangkah ke pembahasan tentang Masalah yang mungkin dihadapi oleh pengguna "PHP Composer" dan beberapa solusinya. Berikut masalah-masalah yang mungkin ditemui oleh pengguna "PHP Composer".

  1. Peringatan "man-in-the-middle-attack".
    Masalah ini muncul saat ane mulai menggunakan PHP Composer di linux. Ane pakai jaringan tri yang entah mengapa susah download kalau kuota sudah dibawah 3 GB. 

    Entah karena jaringannya atau gimana kalau ane pakai composer selalu ada peringatan "man-in-the-middle-attack".

    Setelah sekali gugling, ane nemu link ini https://github.com/composer/composer/issues/2835.

    Setelah baca-baca beberapa saat, ane menyimpulkan bahwa ane nggak bisa mengakses jaringan http, jadi harus pakai https, entah mengapa deh.

    Disitu di komentarnya Seldaek yang ini https://github.com/composer/composer/issues/2835#issuecomment-38678249 dikasi tau cara merubah link repositori packagist.org biar lewat ke https.

    Setelah ane coba langkahnya ternyata berhasil gan. Ane bersyukur banget ada yang udah 'kena' masalah itu duluan. Jadi ane tinggal make yang udah ditemukan.

    Nah, seperti langkah yang dijelaskan di komentarnya seldaek, ini yang ane lakukan.

    - edit config.json nya composer, dengan perintah:
      composer config -ge
    - nanti akan ditampilkan file config.json nya composer. itu diedit pake vim gan, kalau bingung ini ane kasih Vi Cheat Sheet.
    - tambahkan config seperti ini gan (ane anggap agan udah paham tentang json ya):
      "repositories": {"packagist": {"url": "https://packagist.org", "type": "composer"}
    - habis itu tinggal dicoba, berhasilkah?
  2. Belum nemu masalah kedua gan, nanti kalau nemu lagi masalah ane share lagi. Atau kalau agan nemu masalah, coba komen ya, nanti kita coba pecahkan sama-sama.

Nah gan itu aja yang bisa ane tuliskan, meskipun kata-katanya berantakan, ane harap bisa diserap sebagian atau semuanya. hehe...

Silahkan menuliskan komentar agan kalau ada pertanyaan atau kritik saran.

Wednesday, August 21, 2013

Tutorial Belajar PHP untuk Pemula - part 2 - end

Melanjutnya post sebelumnya, tentang Tutorial Belajar PHP untuk Pemula mari melangkah lebih jauh mengenai ini.

Belajar PHP tidak bisa jika hanya tentang PHP terutama jika tujuannya adalah untuk bisa menjadi Web Developer. Kenapa? Yo karena PHP itu berfungsi hanya sebagai pemroses hypertext / html. Jadi kita perlu belajar juga mengenai HTML ini.

Kemudian HTML juga tidak bisa berdiri sendiri terutama jika kita menginginkan tampilan web yang bagus dan keren. Karena gaya/tampilan HTML yang keren itu dibuat menggunakan CSS (Cascading Style Sheet). CSS merupakan teks skrip yang mendefinisikan bagaimana halaman HTML ditampilkan. CSS ini bisa digunakan bersama dokumen HTML dengan tiga cara.
  1. Dideklarasikan pada setiap elemen HTML sebagai attribut style (disebut inline style).
  2. Dideklarasikan pada elemen Head.
  3. Diembbed pada dokumen html melalui elemen link.

Untuk membuat halaman web bisa berinteraksi dengan user kita juga perlu memahami tentang Javascript (ECMAScript). Javascript ini membuat halaman website lebih interaktif. Javascript bisa digunakan untuk membuat animasi-animasi tertentu sehingga mengurangi penggunaan flash dan java pada halaman web.

Web developer juga harus memahami tentang SQL (Structured Query Language). Ini adalah perintah-perintah untuk mengelola database. Sintaknya cukup banyak, namun dengan membiasakan diri menggunakannya tidak akan terlalu sulit untuk memahaminya.

Untuk apa tau tentang SQL?
Tidak bisa dipungkiri, web developer nantinya akan berurusan dengan database. Database memiliki system/software khusus untuk mengelola isinya, disebut dengan DBMS (Database Management System). Dan banyak DBMS yang tersedia di internet baik yang berbayar maupun yang gratis. Contohnya adalah MySQL, msSQL, PostgreSQL, Oracle, SQLLite dan sebagainya.

Semua DBMS itu menggunakan perintah-perintah SQL untuk pengelolaannya. Jadi jika Anda bisa memahami perintah-perintah SQL, maka dunia (programming) akan terasa lebih indah.

Yosh, saya rasa cukup untuk post kali ini. Kesimpulannya adalah untuk belajar PHP, terutama jika ingin menjadi web developer , kita harus memahami HTML, CSS, Javascript dan SQL.

Tips saya bagi yang ingin menjadi Web Developer.
Belajarlah dengan urutan sebagai berikut.
  1. Pahami HTML
  2. Pahami CSS
  3. Pahami Javascript
  4. Pahami PHP
  5. Pahami SQL
  6. Cobalah membuat website sederhana dengan kelima komponen diatas ada didalamnya

Monday, August 19, 2013

Tutorial Belajar PHP untuk Pemula

Tutorial Belajar PHP untuk Pemula merupakan kata kunci yang banyak digunakan oleh orang yang ingin mulai belajar PHP. Dan biasanya akan tersedia banyak sekali hasil pencarian yang cukup relevan.

Dan sebenarnya mudah saya jika kita ingin belajar PHP. Yaitu kita harus N-I-A-T. Memang semua hal yang tidak memiliki niat tak akan berhasil. Percaya deh.

Kemudian jika sudah niat, kita juga tidak boleh mudah menyerah. Kenapa? Ya kalo menyerah sebelum atau pada saat belajar, nanti ga ada hasilnya donk? Iya ga?

Yo saya hanya menyampaikan apa yang dulu saya rasakan. Saya belajar tentang PHP dan bisa sampai memahaminya (meski belum 100%) butuh waktu sampai dua tahun. Kenapa butuh selama itu?

Karena saya belajar sendiri (otodidak). Sumbernya banyak sekali, ada perpustakaan kota yang menyediakan buku-buku bertemakan PHP dan HTML pada saat itu (bahkan sekarang) masih bisa digunakan sebagai referensi, saya juga mencari ebook-ebook yang bertebaran di internet dan mendownload-nya untuk dibaca dirumah. Saya mendapatkan begitu banyak informasi tentang apa yang harus dipelajari sampai-sampai saya merasa over-informasi dan akhirnya menjadi bosan.

Sebagai pelarian, saya beralih bermain game online daripada harus belajar tentang itu lagi selama beberapa periode. Dan setelah beberapa bulan tidak berhubungan dengan skrip-skrip itu lagi saya merasa bisa memahami apa yang sudah saya pelajari sebelumnya. Disini saya sadar bahwa 'rasa jenuh' itu memang wajar. Dalam hal apapun akan terjadi titik jenuh yang membuat kita down. Kita tidak perlu memaksakan diri jika memang sudah merasa jenuh, kita bisa sedikit meluangkan waktu untuk melakukan hal lain yang lebih menyenangkan. Percayalah, ilmu yang sudah dipelajari tidak akan hilang begitu saja.

Kembali lagi ke Topik, apa yang harus Anda yakini sebelum mulai belajar PHP?

  1. Yakinlah bahwa PHP itu sulit!
    Ini keyakinan yang harus Anda miliki. Dalam berbagai artikel, banyak yang memberi saran agar dalam mempelajari apapun, kita harus punya mindset bahwa apa yang kita pelajari itu mudah. Menurut saya, mindset seperti itu tidak benar. Hal ini dikarenakan kita cenderung meremehkan apa yang kita anggap mudah. Dan bila kita sudah meremehkan, kita cenderung menjadi malas mempelajarinya.
  2.  Berlatihlah setiap ada kesempatan!
    Anda harus bisa menyediakan waktu untuk berlatih. Karena hanya dengan latihan apa yang sudah kita pelajari bisa meresap ke pikiran secara otomatis dan lebih permanen. Ini juga bisa membuat kita terbiasa nantinya jika sudah mendapat suatu job nyata.
  3. Jangan terlalu banyak referensi!
    Seperti yang saya kemukakan diatas, saya belajar dengan menggunakan begitu banyak referensi yang hampir semua materinya sama. Tentu saja ini membuang waktu. Kita hanya perlu mempelajari dasar-dasar dari PHP ini dan melakukan beberapa variasi contohnya.
  4. Jenuh itu wajar!
    Jangan memaksakan diri jika otak Anda sudah tidak bisa lagi memikirkan tentang PHP. Anda harus break untuk beberapa waktu, beberapa hari atau bahkan beberapa minggu. Tinggalkan dulu PHP, dan cobalah melakukan hal lain yang lebih menyenangkan. Nantinya, akan merasakan kangen lagi pada PHP dan ingin segera menggelutinya lagi.
Saya rasa cukup untuk post kali ini, kita lanjut pada kesempatan selanjutnya (jika saya masih niat menulis).

Wednesday, October 24, 2012

eSQL_runner -- Running MySQL Queries Live From Browser

Hai, all..
Sudah lama nih, saye tak post di Blog ni. Maklum lah sibuk,, hehe..

Oke, kali ini, saye ingin mengenalkan sebuah tool PHP yang berguna sebagai pengelola database MySQL. Tool ini mirip dengan PHPMyAdmin dan memang terinspirasi darinya.

Berikut screenshotnya:

eSQL_screenshot

eSQL_screenshot

eSQL_screenshot

eSQL_screenshot

eSQL_screenshot

eSQL_screenshot

Nah, itu lah penampakannya.
Tapi ada kelemahannya, yaitu belum mendukung multiple query.

Bagi yang mencoba, silahkan download disini eSQL_runner_v_1.0

Friday, October 28, 2011

Cara Mengetahui Aplikasi yang Terhubung Internet - NetBalancer

Sekian lama tak posting di blog ini, rasanya kangen melanda. :D Meskipun belum banyak visitor yang mengetahui blog ini, namun tak ada salahnya saya tetap menulis kan... :D

Oke langsung saja ya, sedari kemarin, saya yang menggunakan layanan internet dari smartfren connect yang Bandwithnya dibatasi ini sangat terganggu dengan adanya aplikasi lain yang terhubung ke internet ketika saya tidak sedang melakukan aktivitas online.

Tentu saja ini sangat merugikan saya karena Bandwith saya ini sangat terbatas. Bisa-bisa saya kehabisan bandwith tanpa pernah memakainya donk.. Sungguh disayang itu.

Karena itu dengan semangat di pagi yang cerah ini, saya mengunjungi Mbah Google. Dan jeng-jeng, tersangkutlah saya di blognya Mas Heru Wahyuno.

Dari situ, saya tau bahwa ada sebuah aplikasi yang bisa kita pakai untuk mengetahui Aplikasi apa yang sedang terhubung ke internet. Aplikasi ini bernama NetBalancer dari Seriousbit.com.


Dengan aplikasi ini, kita juga bisa mem-blok proses lain agar tidak terhubung dengan internet. Ini pastinya sangat membantu bila kita menggunakan Layanan Internet yang bandwithnya dibatasi. :D

Anda bisa mendownload aplikasi NetBalancer disitusnya langsung (NetBalancer Homepage). Ada yang versi Free ada juga yang Pro. Kebebasan Anda untuk memilih diantara keduanya. Yang jelas, saya menggunakan yang free, yang sudah cukup memberikan fungsi yang saya butuhkan. :D

Koment ya.. :D

Wednesday, June 8, 2011

Our Thinking

In this world, there are so many possibilities that could happen. It all happened because (if we have faith in God), it is a destiny. A destiny that (according to Islam) has two kinds. There is a destiny that can be changed, and there is also a destiny that can not be changed.

The fate that can not be changed, such as DEATH. The death of a human certainly can not be prevented. Because it was decided that human is not eternal.

The fate of the two, the destiny that can be changed for example, stupidity, poverty and other things that are mundane. All that can be changed with hard work and pray to God Almighty.

Do not even think, if we are poor, we will not be rich. But it's easy, if you want to work hard and pray it would be very easy for you to get.

Our life is so precious. Do not waste it by just having fun in the world. Because after this world there will be a second world. World that even gold will not worthwhile and will not be able to speak.

What we need there is for our charity in the world. Hopefully by writing this I can grow diligent. Amiin. See you in the next post.

Tuesday, June 7, 2011

Really JK. Rowling is a Witch?

As we know, that a JK Rowling is very popular in years past. She is known for having written a novel that is so amazing. What makes children and adults drown in the adventures of the character in that novel. That's so fantastic.

She could write it all seemed real. I even almost certain that he composed that it is real. But common sense says, is that correct real? If not, why it feels so real?

We're only human. But there is human with higher imagination than the others. Sometimes his/her imagination like a real thing. That's so real. Actually, how our brain works?

I don't believe, why i could not be a good writer? My words fall apart.

Oh my God, please.. forgive me.. :(

There is nothing

Hi guys,

I just die. I do not know what I should do. You know, I've used to talk about my fate to the people. And most of them talk about fate was not good. And they are not interested. It makes me very depressed. As if I was indeed no friends.

Actually most fundamental things that I need is attention. Attention from people who I want them to care for me. But it was not that easy. To get it I need the effort. The effort to convince them that I deserve to get their attention. Nothing is free in this world. Believe me, that no matter how small people help you. In his little heart would say, "what will I get if i help this guy?"

We must try to get whatever we want. Small or large effort we will determine what we will get.

And we should not give up when facing the failure of our effort. We must always get up and try. Then try again. Again. As long as we are able to do so must we be able to get what we want.

That's what this while I can reveal to you. I know it's not a perfect. I am only human. Let's help each other to become more useful than at present.

Let's live life with passion!

Wednesday, May 12, 2010

Hiding and Shorten URL

The web address (URL) of many different forms. There are long and some short. For this short could easily be remembered by the people also do not eat too many characters to be written on the social networking services such as facebook or twitter that restrict the use of characters in a Tweet or Comment.

For that we can use websites that provide free URL shortening and without the need to register. There are several websites that provide that service. Among them are bit.ly, tinyurl.com, and ketkp.in (Indonesian version).

It's easy to shorten your URL. Here will explain how to shorten the URL in the bit.ly and tinyurl.com.

Shorten URL in Bit.ly
Eghojansu.blogspot.com :: Hiding and shorten URLFirst, prepare URL that you want to be shorten, suppose 'http://eghojansu.blogspot.com/2010/05/hosting-share-file-di-zidducom.html' (it's long enough, isn't it? ^_^)

After that, we visit bit.ly (just click on bit.ly banner beside).

Then, enter the URL to box like below, click 'Shorten' and in a few minutes our URL will become shorter.
Eghojansu.blogspot.com :: Hiding and shorten URL

The URL which we entered will become like this "http://bit.ly/auPMMp", if you click on you will lead to the sam page as if you click on http://eghojansu.blogspot.com/2010/05/hosting-share-file-di-zidducom.html.


Shorten URL at Tinyurl.com
Eghojansu.blogspot.com :: Hiding and shorten URLLet's go to Tinyurl.com (click at the tinyurl's logo)

We use same URL like above, http://eghojansu.blogspot.com/2010/05/hosting-share-file-di-zidducom.html.

Enter the URL to box like below,
Eghojansu.blogspot.com :: Hiding and shorten URL

In the picture there is circled in red, it is an alias for the address that we'll shorten. It help us to remember our address. Let's fill in the alias box with 'eghojansu' (just for example), then we click on 'Make TinyURL' and in a few minutes we have Short URL.

The URL will become like this 'http://tinyurl.com/eghojansu'.

Actually, facilities 'alias' at TinyURL, also provided in Bit.ly but we need to register for using these features 'alias'. Just try, it's free.:D

The facilities provided by TinyURL more of this. Without registering you can make Redirection Link and Hiding your URL (to hide the original link, very useful to hide the link Affiliate's ..: D)

Finally, that's all from me, hopefully useful. : D

Tuesday, May 11, 2010

Hosting & Share Files For Free at Ziddu.com

Eghojansu.blogspot.com :: Hosting & Share Files For Free at Ziddu.comZiddu.com is a file hosting service that does not restrict whatever its members want to save the file. This is a free service provided Ziddu in order to facilitate its members to save files and to share those files to friends.

Services from Ziddu is very useful. Because it can be easy to store and to share files that we have to others.

In details provided by Ziddu facilities for its members as follows:

  • All free accounts! No Premium accounts!!
  • Unlimited Storage space
  • Accepts parallel downloads! no waiting !! (many files can be downloaded directly at the same time)
  • Apart from download, you can view / watch / listen online any uploaded file with Ziddu!
  • Invite, Make and Share the joy and files with your Friends
  • A plethora of photo management tools such as 'Photo Album' and 'Slide Show' to share!
  • Easy file management with multiple folder facility
  • Flexibility to create Video and Audio libraries to share!!
  • Users can browse & Use in Multiple Languages offered
  • Easy to upload files, can also upload multiple files simultaneously
  • Get paid every time others download your videos or photos or documents

Well, that's Ziddu. Facilities on offer is good enough for a free service. Each of our files downloaded by other people, then we get $ 0.001. If you upload up to 1000 files and the file downloaded by 100 people per day, so your income is ($ 0.001 x 1000 x 100 x 365) = $ 36,500 per year. So good to increase our income from internet.

Obviously if you are a blogger or website owner who wants to increase revenue through the blog/website, Ziddu is a very useful service. Take advantage of the blog / website to add your income. So, if you're interested in? Please click Banner Ziddu above to join. Hopefully useful:D

How To: Make PDF File

Membuat File PDF

Hello, this time I want to share about How to Create PDF Files. Because lately PDF files are often used by many parties for various purposes. As in the consolidated company, certain hardware installation guide, exchange documents and so forth. My hope this information will be useful.

According to Wikipedia, Portable Document Format (PDF) is a generic computer term. The best-known PDF implementation is Adobe PDF, a file format created by Adobe Systems in 1993 for document exchange. The remainder of this article discusses Adobe PDF exclusively.

"Adobe PDF is used for representing two-dimensional documents in a manner independent of the application software, hardware, and operating system. Each Adobe PDF file encapsulates a complete description of a fixed-layout 2D document that includes the text, fonts, images, and 2D vector graphics which compose the documents. Lately, 3D drawings can be embedded to PDF documents with Acrobat 3D using U3D or PRC and various other data formats.

Adobe Systems co-founder John Warnock outlined a system called "Camelot", that evolved into the Portable Document Format (PDF) file-format."

EBook is also one example of the use of PDF formatted file. So, for those who want to make ebook, I hope this information is useful to you. :D

Fine, let's get started. To create this PDF file we will use the Software from PDF995. This software can be downloaded for free at www.pdf995.com. There are two files you should download, the pdf995s and ps2pdf995.

Pdf995s is the software while ps2pdf995 is the driver software. So, installation sequence is pdf995s first and then we install ps2pdf995. Do not be reversed, to avoid the things that are not desired.

If already installed, we can use it easily. Its use is the same as using normal printer (the physical printer). Because, basically, pdf995 is a virtual printer. So to produce a pdf file that tracks the same way we would print the document. It's just the printer selection box, choose pdf995 printer and then print and be our pdf file. You also can set the page layout by selecting 'Options'. Please note the following images,
Create PDF Files

Any files that can be printed using the physical printer, can we make the PDF format with this software. Just pick the pdf995 printer when you want to make PDF file.

Okay, that's all from me, hopefully it's be useful information. If anyone wants to ask, please leave a comment. I will be happy to answer.: D

Monday, May 10, 2010

Easy Way Make Website Favicon

Eghojansu's iconThere is a website that provides the generated image files into icon files blogs / websites as well be hosting. You do not need to register to be able enjoy the service. Simply upload the image you want to make a favicon then automatically it will generated into a file icon and its URL address that has been merged with their HTML code.

So, we just copy and paste the html code in between the tag "head". Then we refresh it and our blogs will have its own identity.

The Service provider is Iconj.com. Iconj also can create dynamic favicon. What is a dynamic icon? Please see the example here. But to be able enjoy this service we must join. Do not worry, it's free. You just join, then enjoy its services.

Iconj also provides icons that can be downloaded for free. This icon is the result generated by the other members who allows all people to be able to download or use his own icon.

If you are interested, please visit Iconj.com.

Sunday, May 9, 2010

Farmville Developers Want Out of Facebook

Zynga Farmville GameZynga intend to break away entirely from Facebook. This Farmville game developer is rumored to be making their own gaming portal.

A report from an unnamed source revealed, initially Facebook asks Zynga still join on Facebook and sign an agreement for a period long enough.

But they failed to find a deal when Facebook decided to disable notification for Farmville, even threatened to stop all Zynga games.

When confirmed, the Facebook spokesman denied this. Quoted from the site IGN, Sunday (09/05/2010), the spokesman was evasive by saying that Facebook does not comment on specific discussions and more communication with all developers.

"But in general, our priority is to ensure a quality experience for Facebook users while encouraging a dynamic and innovative environment that offers significant opportunity for all developers on the Facebook platform," he explained.

Meanwhile, representatives Zynga reluctant to comment on this news. To note, this February, Farmville Zynga has launched his own website that allows players to access the game without using Facebook. (source: detikinet.com)

Tips: Beautiful of All Time

Beautiful of All TimeLook beutiful on a short time is not impossible. Such desires can not located on or not, but whether we know how to or not? To find out how to maintain youthful appearance, we only need an initial capital of which is to understand the condition of skin and hair in the decade we age. After that, please start a few small changes in your life.

Here are some steps that small changes you can do:

First, rely on retinol. To you the woman in her 30s, doing treatments with products that contain retinol is no longer a choice. This remark becomes a liability. Retinol is the best anti-aging ingredients that can help stimulate the growth of new cells and stimulates production of collagen in the skin.

Usually the price of a beauty products is a problem. No need to worry, because according to a research, we can get anti-aging products with a more friendly price, but quality. Most importantly, careful in choosing its active ingredient.

"Do not occasionally affected by the packaging," says David E. Bannk, MD, Assistant Professor of Dermatology at Columbia University Prebysterian Hospital. "The active ingredients are proven to be very effective, such as retinol, AHA, and CLA. Better yet, if the selected product consists of a combination of various active ingredients. So, the benefits seemed more optimal."

Second, disguise the "panda eyes". Stepping into old age, drastic changes are often visible is the eye. To solve the problem at the bottom of the eye, like eye bags and dark circles, experts recommend using eye cream-shaped product, rather than lotions. Because it more easily absorbed by the skin in this area. Better, if we use an eye cream with a formulation that can disguise the eye bags and dark circles, as well as fine lines and wrinkles in the eye.

Third, use the Microdermabrasion action. Probably not something you hear the word laity for Microdermabrasion. Usually these treatments often offered in a variety of skin treatment center and salon professionals to erode the dead skin cells from the skin.

Based on the research at the University of Michigan that was published in the journal Archieve of Dermatology, Microdermabrasion procedures can help disguise the signs of aging and acne scars. "But we must still ensure, actions in which we live is more focused to stimulate production of collagen in the skin, without damaging the skin tissue," suggestions from researchers. It will make the skin look younger with safe manner.

Fourth, do not forget to use moisturizer. "When estrogen levels decline, feeling tired more often we feel. The nutritional requirements are also often lacking," says Valori Treloar, an expert on holistic dermatology.

Therefore, Treloar said, using a moisturizer is one measure that should be met, plus we also need enough sleep and eating healthy. "Do not forget to use a moisturizer that contains sunscreen, so that we can remain active outside without worrying about UV radiation exposure," he said.

Fifth, a full-blooded face. Perform full-blooded face is one way that blood flow in the face of our skin more smoothly so fresh and tight. "Lack of blood flow fluently can make easy sagging skin and wrinkles easily arise," said Julie Barsam-Cummings, owner of Plum Blossom Acupuncture Clinic in Cambridge, Massachusetts.

As an alternative, says Julie, try also the face of acupuncture. "The result is relatively faster than full-blooded face," she said.

Sixth, strengthen nails with biotin. According to some research, supplementation of vitamin B may help strengthen brittle nails with age.

Biotin is a member of group B vitamins and very important role in cell growth. Besides nails, vitamin deficiencies can also make hair fall out easily. We could be sufficient intake of B vitamins through food, such as eggs, peanuts, soybeans, or wheat bread.

Seventh, the consumption of more antioxidant. Collagen which disappeared in the skin is a fact that can not be avoided. But, we can prevent the threat of damage to skin cells with antioxidant-rich foods. "For treatment, use products that contain antioxidants, like vitamin C, vitamin E, or coenzyme Q10," suggested Kathleen Davis, holistic dermatology expert from New York.

Eighth, also care neck, chest and hands. These three areas are often forgotten, because we are more focused on face care. That's why we often see women who face a very tight 30 year old tub, but the lower jaw show the age. So make sure anti-aging products that are applied on the face, also applied in the neck, chest, until hands.

Ninth, take care of drop eye. According to experts well-known makeup artist, Bobbi Brown, lift the eyelid area, with right tricks of make-up, that distort the eyelid area with a little dark eyeshadow. Starting from the outer edge of the eyelid corner, then drag it slightly to the inside and bottom, to the base of the eye. Then all over again from the bottom corner, toward the base of the eye. So, we like making a V in the eyelid.

Tenth, frequently smiling. Results of research shows, an easy smile women often mistaken much younger than her age.

"Let's welcome the change of age with more positive," said Becca Levy, Assistant Professor of Psychology at Yale University.

Not least, Robert Butler, President of the International Longevity Center in New York explained, "People always have a passionate purpose in life, think positive, and humorous, usually a long life."

So, show your smile and embrace your life! (Source: gayahidup.liputan6.com)

Find Movies with Jinni.com

Jinni.comJinni.com is a Search Engine that uses a different method with other search engines. This is the claim of Jinni about their search engine,

"Jinni is a Taste Engine. We look at film through the lens of what makes you love or hate anything you watch. With a Taste Engine, you don't search by what you're looking for, you search by what you like. And recommendations are based on analyzing your preferences, not statistics."

Jinni's specialization is Movies and TV Shows. You can watch your favorite TV shows directly. You can choose a movie genre you like, and the plot is how you want. Jinni also provide information about your favorite movies. There is information about actor, director, story writer and etc. Search function is so helpful to do this.

Jinni also provides Community Pulse where you can see Some of the activity going on around Jinni. You must join if want to access this community. If you interest to it, you can learn more about Jinni.com by visiting their website here. Be happy with this. :)

Saturday, May 8, 2010

Mozilla Firefox Plus Google Toolbar

Did you know Goolge Toolbar? Yeah, Google Toolbar is an Toolbar which can integrate with mozilla firefox. It's so useful for us. With this toolbar we can,

  • Posting an artikel to our blog.
  • Send article to Wikipedia.
  • Get notification about our new email.
  • Get information about PageRank of a blog/website.
  • And etc.

You can explore the other function of this tool. Please, install it to your Firefox. This link will guide you to Installation of Google Toolbar. If you're not have Firefox, you can download it here.