irfani.firdausy.com

Irfani Firdausy Live Journal

Page 2 of 3

Move a Database Using Detach and Attach (Transact-SQL)

This topic describes how to move a detached database to another location and re-attach it to the same or a different server instance in SQL Server 2012. However, we recommend that you move databases by using the ALTER DATABASE planned relocation procedure, instead of using detach and attach. For more information, see Move User Databases.

Continue reading

Why is it better to develop in PHP with classes (OOP)?

Some developers code their PHP projects writing classes of objects.

Others also write classes but do it just because they see others doing it without being able to explain why classes are a good thing.

Others do not write classes but reuse other people code written in the form of classes.

Others completely refuse to write or reuse other developer classes because they do not see much point in doing it.

Read this article to learn why it is better to develop your PHP projects based on object classes.

You may also learn how to convert your global code based classes into properly written classes that you can reuse in multiple projects besides other benefits of using Object Oriented Programming in PHP.

Continue reading

Sedikit Cerita tentang Alm. Zev koki

hari sabtu ini saya browsing-browsing kemudian ngeliat http://kolomkita.detik.com/ di halaman depan Headline ad artikel “Cinta Itu Sederhana, Mengenang Z” ( http://kolomkita.detik.com/baca/artikel/4/2925/cinta_itu_sederhana_mengenang_z ) kemudian di sebelah box koki refrensi ada artikel Hai Z, setelah membaca saya akhirnya mengingat kenangan masa lalu waktu saya bekerja ama dia dalam koki.

Continue reading

Kumpulan Query

 

Continue reading

Blue Man Group – Up To the Roof

Konser Blueman melibatkan aneka macam musik, semangatt

Continue reading

Pengajian Ramadhan hari ke-4 2011

Hari ini Kamis tanggal 4 agustus 2011 di bulan ramadhan 1432H tepat jam 12 siang, seperti biasa saya turun dari lantai 21 ke lantai 3 ingin sholat dhuhur dan mendengarkan ceramah ramadhan di auditorium Menara Bank Mega.

Continue reading

How to Hotlink-protect images using .htaccess

If your running apache server, you can do what you need by configuring your .htaccess file.

You would do something like this to prevent hotlinking of images –

RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif¦jpg¦js¦css)$ – [F]

replace mydomain.com with your domain name and only your domain will be allowed to access files appeneded by .gif .jpg .js or .css

you can add other allowed domaine with extra lines e.g. –

RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://(www\.)?mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://(www\.)?domain1.com/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://(www\.)?domain2.com/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://(www\.)?domain3.com/.*$ [NC]
RewriteRule \.(gif¦jpg¦js¦css)$ – [F]

Makanan Penurun Kolesterol

Gaya hidup merupakan salah satu faktor risiko penyebab kolesterol yang dapat diubah. Salah satu perubahan gaya hidup yang mudah dilakukan adalah dengan memilih konsumsi makanan yang tepat.

Ada beberapa jenis makanan yang efektif meningkatkan kolesterol baik (high-density lipoproteins/HDL). HDL berfungsi membuang kelebihan kolesterol dari sel dan dinding arteri serta membawa kolesterol kembali ke hati untuk dibuang. Oleh karena itu, dibutuhkan kesadaran sejak dini untuk mulai memilih-milih makanan yang sehat dikonsumsi.

Continue reading

101 Great Computer Programming Quotes

“People always fear change. People feared electricity when it was invented, didn’t they? People feared coal, they feared gas-powered engines. There will always be ignorance, and ignorance leads to fear. But with time, people will come to accept their silicon masters.”

As Bill Gates once warned, computers have indeed become our silicon masters, pervading nearly every aspect of our modern lives. As a result, some of the greatest minds of our time have pondered the significance of computers and software on the human condition. Following are 101 great quotes about computers, with an emphasis on programming, since after all this is a software development site.
Computers

Continue reading

Obat Puyeng barang 2 menit

T : Kalau Asterix habis kerja berat dan capek sekali, jadinya apa ?
J : Pegel Linux
T : Monyet apa yang berdiri di tepi jalan ?
J : Monyetop angkot
T : Kota apa yang nilainya selalu tujuh ?
J : Salatiga, kalau saladua nilainya delapan
T : Kentang apa yang dingin ?
J : Kentangkuban perahu malam-malam
T : Tukang apa yang kalo dipanggil nengok ke atas ?
J : Tukang gali sumur
T : BMW apanya yang mahal ?
J : W-nya, soalnya kalo diganti X jadi murah
T : Saya punya uang Rp 150, terus saya beli permen Rp 75, berapa kembalinya
?
J : Kembalinya Rp 25, karena bayarnya pake uang ce’pe’an.
T : Apa bedanya bulan sama matahari ?
J : Kalau Matahari banyak discount, kalo bulan belum pernah ke sana tuh
T : Di rambut ada, dikening ngga ada, di hidung ada, di alis ngga ada, di
mulut ada, di mata dan pipi ngga ada, apakah itu ?
J : Huruf U
Continue reading

« Older posts Newer posts »

© 2017 irfani.firdausy.com

Theme by Anders NorenUp ↑