Monday, March 25, 2013

Menambah Field Volume pada Senayan Versi Meranti

Hai, guys..
Long time no see yah? haha
Jadi aku dapet tugas buat program khusus untuk serial / terbitan berseri. Nah, karena udah ada program Senayan yang open source, jadi tinggal edit sana edit sini, disesuain dengan kebutuhan. Ceritanya, beliau menginginkan tampilan di record detail harus ada field volume dan number secara terpisah (secara ini koleksinya khusus tentang terbitan berseri.  Padahal tampilan dasar gak ada field tersebut secara terpisah.

Tampilan record detail tidak ada field volume nya


Pengennya muncul field kayak gini

Tampilan pada bibliografi tidak ada field volume

Tampilan pada bibliografi muncul field volume
Well, here is the steps:
1. Buka file detail_template.php di folder template kamu.
 

 2. Setelah itu, tambahkan skrip dibawah untuk menambah field volume pada record detail - save

3. Buka index.php pada C:\\xampp\htdocs\nama_folder_kamu\admin\modules\bibliography. Cari kata edition. Kemudian kopi skrips edition, tambahkan dibawah skrips tersebut. Setelah itu, ganti kata edition menjadi volume - save








4. Buka localhost/phpmyadmin/nama_database_kamu untuk menambah field volume di database. Buka tabel biblio - create php code. Buat field baru dibawah edition. Samakan pengaturan field volume dengan field edition seperti dibawah.










Nah, simpel kan? tapi, proses mencarinya yang butuh proses :') karena emang belajarnya otodidak sih. Sama halnya belajar kode yang kamu beriin ke akooh, #gagalfokus. haha.
Okeeh, segitu dulu tutorialnya, correct me if i wrong and feel free to ask :)









Monday, February 11, 2013

Left Handed

I just know that there are a left handed club. Well, sound nice, i thought. Well, here is the website: www.lefthandersday.com. So, if you're left handed and want to know more about left handed, dont hesitate to visit this site. Oiya, because i am a left handed, i also join this club and easy enough. hehe. You just submit your email account and your first name to register. After all, just wait a thousand years to get the link in your email. Oh, wait, i just kidding, it just a couple second. :) After you get the url, just click it to confirm that you're account is active and you're human. hehe.

Sign up ke website


Confirmation Interface



 Oh my, i got left handed certificate, haha. :)


Oiya, you can download it anyway. :)



Tuesday, February 5, 2013

Felt Sleep Paralysis

source
Sleep Paralysis? 
Whats that, Ntun? 
Is it a kind of sleep or what?
Or is it a kind of sleep disorder?
Well, here is the answer...





Sleep paralysis is a phenomenon in which people, either when falling asleep or wakening, temporarily experience an inability to move. More formally, it is a transition state between wakefulness and rest characterized by complete muscle atonia (muscle weakness).(wikipedia)

Sometimes, in late night, i felt it, whether i've slept before or just slept. I dont know why it always happen to me. My feeling? i feel hard to breath, i cant move my body even my finger, i cant scream out, and i feel desperate. So pathetic. Eventhough it occurs only a few minutes or sometimes in seconds,but i feel it looks like dying.

The two major classifications of sleep paralysis are isolated sleep paralysis (ISP) and recurrent isolated sleep paralysis (RISP). Of these two types ISP is much more common than RISP. ISP episodes are infrequent and of short duration, approximately one minute. Sleep paralysis might even only occur once in an individual's lifetime. As the name suggests, recurrent isolated sleep paralysis is a chronic condition. The individual suffers from frequent episodes throughout their lifetime. One of the major differences between ISP and RISP is duration. RISP episodes can last for up to an hour or longer, and have a much higher occurrence of perceived out of body experiences—while ISP episodes are generally short (usually no longer than one minute) and are typically associated with the intruder and incubus hallucinations. ISP episodes can, however, persist for up to half an hour. With RISP the individual can also suffer back to back episodes of sleep paralysis in the same night while this is unlikely in individuals who suffer from ISP.

It can be difficult to differentiate between cataplexy brought on by narcolepsy and true sleep paralysis, because the two phenomena are physically indistinguishable. The best way to differentiate between the two is to note when the attacks occur most often. Narcolepsy attacks are more common when the individual is falling asleep; ISP and RISP attacks are more common on awakening.
(wikipedia)
Anyway,  when i was a child until the time before i googling some information about it, i believe in old myth that said when you got sleep paralysis, there was a devil who sit and push your body until it can be moved and u cant breath as always. The only way to get out from that feeling is u have to pray eventhough it just in your heart because you can move your lips. Well, it sounds so mistic, i thought. The others said that when you got sleep paralysis, it means that your blood's circulation was inhibited.
 It can occur at sleep onset or upon awakening, and it is often associated with terrifying visions (e.g. an intruder in the room), to which one is unable to react due to paralysis. It is believed a result of disrupted REM sleep, which is normally characterized by complete muscle atonia that prevents individuals from acting out their dreams.  (wikipedia)
.

And, last night it happens again. And it happen for several times in that times. I feeling so scared when in the end of sleep paralysis, i heard a man talking in near my ear. I dont know whether it just my hallusination or real. After all, i wake up and feeling so creepy. Oh my, i was so scared and my heart beat so fast.

Many people that experience sleep paralysis are struck with a deep sense of terror, because they sense a menacing presence in the room while paralyzed—hereafter referred to as the intruder. This phenomenon is believed to be the result of a hyper vigilant state created in the midbrain. More specifically, the emergency response activates in the brain when individuals wake up paralyzed and feel vulnerable to attack. This helplessness can intensify the effects of the threat response well above the level typical to normal dreams; this could explain why hallucinations during sleep paralysis are so vivid.
Well, is it because i feel so stressfull or may be i slept too early than before? I dont know whats the reason exactly. Indeed.  I just easily to slept without feeling sleepy for a couple days. I hope its not the sign of narcolepsy or something. I just want to be healthy as another people feel.

Several circumstances have been identified that are associated with an increased risk of sleep paralysis. These include insomnia and sleep deprivation, an erratic sleep schedule, sleeping in the supine position, stress, overuse of stimulants, physical fatigue, as well as certain medications that are used to treat ADHD. It is also believed that there may be a genetic component in the development of RISP due to a high concurrent incidence of sleep paralysis in monozygotic twins. Sleeping in the supine position has been found to be an especially prominent instigator of sleep paralysis

The Household Cyclopedia (1881) offers the following advice about nightmares:
    "Great attention is to be paid to regularity and choice of diet. Intemperance of every kind is hurtful, but nothing is more productive of this disease than drinking bad wine. Of eatables those which are most prejudicial are all fat and greasy meats and pastry... Moderate exercise contributes in a superior degree to promote the digestion of food and prevent flatulence; those, however, who are necessarily confined to a sedentary occupation, should particularly avoid applying themselves to study or bodily labor immediately after eating... Going to bed before the usual hour is a frequent cause of night-mare, as it either occasions the patient to sleep too long or to lie long awake in the night. Passing a whole night or part of a night without rest likewise gives birth to the disease, as it occasions the patient, on the succeeding night, to sleep too soundly. Indulging in sleep too late in the morning, is an almost certain method to bring on the paroxysm, and the more frequently it returns, the greater strength it acquires; the propensity to sleep at this time is almost irresistible."
 

Sleep paralysis has been linked to disorders such as narcolepsy, migraines, anxiety disorders, and obstructive sleep apnea; however, it can also occur in isolation. When linked to another disorder, sleep paralysis commonly occurs in association with the neuromuscular disorder narcolepsy. (wikipedia)

At the end, i just hope everythings gonna be allright, stay healthy and can focused on what my goal.  Amin.

Thursday, January 17, 2013

Instalasi Senayan di 000Webhost

Untuk menginstal senayan versi meranti, yang kita perlukan yaitu file senayan itu sendiri, aplikasi filezilla untuk mengupload folder meranti ke 000webhost, dan akun 000webhost. Kalau gak punya akun ya percuma dong. Kita liat senayan secara online nya di website mana coba? :p Oiya, untuk mendapatkan file senayan versi meranti, bisa diunduh di sini. Nah, filenya diekstrak dulu yak untuk mempermudah upload datanya ntar. :)
Langsung aja ya, cara instal senayan versi meranti melalui 000webhost yaitu:

1.  Login akun 000webhost

 


 2. Setelah login, akan muncul tampilan seperti di bawah ini



3. Klik icon Mysql untuk membuat database baru



4. Buat database baru dengan mengisikan di kolom tersebut - create database






5. Database telah selesai dibuat. Klik back to control panel


6. Klik icon phpmyadmin


7. Klik import untuk mengimport file senayan.sql dari komputer anda. Cari file tersebut dengan menekan tombol browse - open. Setelah itu klik go









8. file senayan.sql telah selesai diimport


9. Buka aplikasi filezilla untuk mengupload file meranti


10. Isikan hostname, username, dan password sesuai dengan akun 000webhost anda -quickconnect



11. Buka folder senayan versi meranti anda, blok / aktifkan semua file - klik kanan, upload. Semua file di upload pada folder public_html. Letak folder tujuan bisa diketahui pada remote site bagian kanan.



12. Klik icon file manager pada akun 000webhost




13. Klik edit pada file sysconfig.inc.php






14. Edit letak mysqldump.exe untuk mengubah letak backup








15. Edit host name, database name, username, dan password. Sesuaikan dengan akun mysql. Setelah itu, klik icon save.










 16. Ketik alamat 000webhost anda.




 17. Isikan kolom sesuai dengan akun mysql.





18. Senayan Meranti sudah selesai di instal.






 19. Tampilan senayan meranti




Demikian step by step cara menginstal senayan meranti melalui 000webhost. Selamat mencoba. Feel free to ask and corret me if i wrong because we're learning together. :)
























































































Tuesday, January 8, 2013

Mengatur Letak Mysqldump pada Senayan di Localhost

Membuat cadangan / back up sangat penting dilakukan mengingat bisa saja suatu saat nanti ada kerusakan atau human error, misalnya menghapus data secara tidak sengaja. Nah, kalau saat kita membuka tampilan admin senayan dan muncul interface seperti di bawah ini, maka letak mysqldump kita belum benar. Mysqldump merupakan tempat back up data di senayan.



Berikut ini merupakan langkah-langkah mengubah letak mysqldump melalui localhost. Caranya yaitu:

1. Buka sysconfig.inc.php pada folder senayan. Folder senayan tersebut merupakan ekstraksi dari senayan versi meranti, aku rename menjadi senayan. Letaknya di  subfolder htdocs pada folder xampp


2. Cari  kata mysqldump

3. Ubah letak mysqldump.exe . Letak mysqldump.exe saya terletak di drive C:\xampp\mysql\bin\mysqldump.exe . Setelah berhasil diganti, di save.


4. Setelah berhasil disimpan, kalau sukses, maka tampilan senayannya akan menjadi seperti di bawah ini.



Please correct me if i'm wrong and feel free to ask, because we're learning together :)