Cara Mengcopy Antar Account di WHM/Cpanel

16-08-2012 | by hendra | Categories: Webserver

Dalam sebuah cPanel, mungkin kita pernah punya 2 account atau lebih, lalu ada salah satu account yang mau kita copy ke account lain dalam satu cPanel (satu server). Caranya bisa dilakukan via SSH (pakai putty saja). Begini:

# cp -r /home/username/public_html/ /home/otherusername/public_html

# chown -R otherusername.otherusername /home/otherusername/public_html

# chown otherusername.nobody /home/otherusername/public_html

Kalau file yang dicopy banyak, prosesnya akan memakan waktu cukup lama, jadi kelihatannya di prompt SSH diam saja padahal sedang diproses. Jadi tunggu saja. Asal ga salah ketik command. :)

Sumber bacaan dari sini.

 

 

B2evolution Error date() [function.date]

07-08-2012 | by hendra | Categories: Blog ini

Berbulan-bulan blog hdn.or.id error. Potongan error messagenya adalah sebagai berikut:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. bla bla bla....

Dugaan awal pada waktu itu adalah karena pihak hosting mengupgrade PHP nya ke versi 5.3.10. Dugaan berikutnya adalah bahwa error ini akan dapat diatasi dengan mengupgrade ke b2evolution versi terbaru (4.1.5). Dugaan pertama benar. Dugaan kedua ternyata tidak teralisasi.

Setelah cari sana sini, ketemu solusinya di sini:

http://forums.b2evolution.net/viewtopic.php?p=113652

Sederhana, hanya perlu menambahkan baris ini di php.ini:

date.timezone = "Indonesia/Jakarta"

 

Tips Perpanjangan STNK Tahunan di Gerai Samsat

07-12-2011 | by hendra | Categories: Transportasi

Berikut ini tips perpanjangan STNK tahunan di Gerai Samsat. Tips ini saya berikan supaya proses perpanjangan STNK berjalan efisien dan efektif tidak menghabiskan waktu berlama-lama sehingga Anda bisa beraktivitas/kerja rutin kembali. Tips ini saya tulis berdasarkan pengalaman perpanjang STNK motor di Gerai Samsat PGC Cililitan, Jakarta.

1. Siapkan dokumen-dokumen berikut ini:

  • KTP asli dan fotocopy, dan/atau SIM asli dan fotocopy
  • STNK asli dan fotocopy
  • BPKB asli dan fotocopy
  • Surat Ketetapan Pajak Daerah (SKPD) tahun lalu yang asli dan fotocopy (biasanya STNK dan SKPD ini digabung dalam satu plastik), keluarkan dahulu dua-duanya).

Kalau bisa dokumen-dokumen di atas satukan dalam satu map dan yang fotocopyan disteples semua supaya tidak tercecer. Untuk KTP, jangan sampai memberikan KTP yang sudah habis masa berlakunya, perpanjang dahulu KTP Anda jika sudah habis masa berlakunya. Sedangkan SIM, ini sebagai alternatif, karena ada kalanya KTP ditolak seperti saya, entah kenapa, mungkin karena nomor KTPnya ganti akibat proses e-KTP.

2. Usahakan datang ke gerai Samsat di PGC Cililitan pagi-pagi. Pengalaman terakhir, di sini buka sekitar jam 08.00 WIB pada hari Selasa.

3. Ambil formulir di loket "Pengambilan Formulir"

4. Isi formulir sesuai contoh. Contoh biasanya ditempel di dinding.

5. Serahkan formulir isian dan seluruh dokumen-dokumen pada langkah ke-1 ke loket "Pendaftaran". Pada tahap ini biasanya kita harus mengantri. BPKB asli akan langsung dikembalikan pada tahap ini setelah diperiksa oleh petugas.

6. Tunggu panggilan dari loket "Penyerahan Notice". Kalau kursi tunggu penuh, silakan menunggu sambil berdiri, yang penting jangan keluar ruangan. Dan jangan sambil dengerin headphone atau earphone supaya panggilan nama kita terdengar. Sambil menunggu, ada baiknya menyiapkan uang untuk bayar pajak pada tahap selanjutnya.

7. Ketika nama dipanggil langsung ke loket "Penyerahan Notice", lalu akan diberikan "Surat setoran pajak daerah" dan KTP/SIM asli Anda. Di situ tertera jumlah pajak yang harus dibayar serta dendanya (jika Anda telah memperpanjang STNK). Bayarlah ke loket "Kasir" (biasanya mengantri). Sambil mengantri, siapkan uang pas untuk bayar pajak.

8. Selanjutnya tunggu panggilan lagi dari loket "Pengambilan STNK". Mengantri.

9. Jika dipanggil, segera ke loket tersebut dengan membawa "Surat setoran pajak daerah". Anda akan diberikan STNK asli dan "SKPD PKB/BBN-KB DAN SWDKLLJ" yang baru. Periksa SKPDnya, khususnya pada bagian jumlah pajak yang telah dibayar (serta dendanya) dan masa berlaku SKPDnya.

Selesai.

Kalau mau lihat bagan prosedur resminya, silakan check TKP di situs Ditlantas Polda Metro Jaya.

 

Upgrade ke b2evolution 4.0.3

15-02-2011 | by hendra | Categories: Blog ini

This blog was upgraded.

  • Old version: b2evolution 3.3.1
  • New version: b2evolution 4.0.3
  • Upgrading time: about 1 hour (midnigt upgrading)
  • Problems found: Nothing at all Muncul error message di setiap comment, berikut ini: 

    • Notice: Undefined index: makelink in /home/hendra/public_html/plugins/basic_antispam_plugin/_basic_antispam.plugin.php on line 251

    • Belum sempat utak atik, tapi sudah sempat lihat referensi utk men-fix, di :

      • http://forums.b2evolution.net/viewtopic.php?t=21976
      • http://evocms.cvs.sourceforge.net/viewvc/evocms/b2evolution/blogs/plugins/basic_antispam_plugin/_basic_antispam.plugin.php?content-type=text%2Fplain
  • Testimonial about new version: More stable. Muncul error di atas. Selebihnya ok-ok saja. See change log nya di situs b2evolution.
 

What is Technopreneur (Apa itu Teknopreneur)?

14-02-2011 | by hendra | Categories: Bussiness, Teknologi Informasi

Belakangan ini marak penggunaan istilah baru di Indonesia dalam bidang teknologi, bisnis, akademik, dan di pemerintahan, yaitu istilah "Teknopreneur" (atau Technopreneur dalam bahasa Inggris). Kalau dilihat dari beberapa contoh kasus, sepertinya ini istilah yang positif. Tapi kalau saya cari definisinya di kamus besar bahasa Indonesia, terminologi teknopreneur belum terdaftar. Jadi, apa itu teknopreneur? Akhirnya saya coba cari definisinya dari berbagai sumber, dan hasilnya ada di bawah ini. Semoga bermanfaat:


http://blog.bitcomet.com/post/18430/ :

Technopreneur is come from 2 words Technologhy and Entrepreneur. It means a business that using technology as their business model.This term only use by Asian countries especially Malaysia and Singapore.

------

http://www.rajeshshakya.com/what-is-technopreneurship.htm :

A technoprenuer is an entrepreneur who is technology savvy, creative, innovative, dynamic, dares to be different and take the unexplored path, and very passionate about their work. They take challenges and strive to lead their life with greater success. They don’t fear to fail. They take failure as a learning experience, a stimulator to look things differently and stride for next challenge. Technoprenuers continuously go through an organic process of continual improvement and always try to redefine the dynamic digital economy.

------

http://chanluie2010.blogspot.com/2010/07/it-elective_13.html :

What is technopreneur?

The one who is brave enough to operate, to manage, to own and to take the risk of operating any legal form of business through the aid of technology known to man. The one who manages all the factors of production to carry on with production. But as time pass by, the purview of the word “technopreneur” changed dramatically and became a comprehensive word that signifies a lot of different aspects and forms of business.

------

http://kevincrisramos.blogspot.com/2010/08/reflection-about-story-of-pirates-of.html :

It is come from two words Technology and Entrepreneur. It means a business that using technology as their business model. They don't fear to fail. They take failure as a learning experience, a stimulator to look things differently and stride for next challenge. Technoprenuers continuously go through an organic process of continual improvement and always try to redefine the dynamic digital economy. People are really struggling for survival but they don't know that the stuffs that could save them from annihilation and broke is just beside them. Yes just beside them, they only need a computer and an internet connection.
But how it could it is so? Can you see dollars around you? Can you earn money for your future or even at this early moment? You know how to earn home base? Can technology help me or to help you to earn some money?

------

http://www.associatedcontent.com/article/369728/what_is_technopreneurship.html :

A technoprenuer is an entrepreneur who is technology savvy, creative, innovative, dynamic, dares to be different and take the unexplored path, and very passionate about their work. They take challenges and strive to lead their life with greater success. They don't fear to fail. They take failure as a learning experience, a stimulator to look things differently and stride for next challenge. Technoprenuers continuously go through an organic process of continual improvement and always try to redefine the dynamic digital economy.

Technology and entrepreneurial skills are driving many economies to prosperity. The most famous of them all is, Bill Gates, who makes Microsoft a household name all over the world. Steve Jobs - well known for his innovations. iPod - most carried gadget by young population. Look at the success of Google - brain child of Sergey Brin and Larry Page. Who don't know Google?

Technopreneurship is not a product but a process of synthesis in engineering the future of a person, an organization, a nation and the world. In a digital, knowledge based society, strategic directions or decision-making processes will be demanding and complex. This requires tertiary level and professional development programs and training to produce strategic thinkers who will have the skills to succeed in a dynamically changing global environment. Traditional educational programs, however, lack the methodology to transform today's students into creative, innovative, visionary global leaders who understand the importance of technopreneurship.

------

Yudha Pratomo, Utilization of Human Virtual Intelligence Framework in Managing Technopreneur Knowledge, Faculty of Computer Science,University of Sriwijaya, Jurnal Generic 2010 :

The terminology of technology entrepreneur or ‘technopreneur’ is used to describe the combination between pure technologist and traditional business people. There is a significant difference between an entrepreneur and a technopreneur, with the latter having an advantage on the mastery of the technology element besides possessing good business acumen.

Technopreneurs are people who make or found their own technology-based business by recognizing opportunities and organizing resources. They are owner, manager, leader, or founder of an organization. They make decisions and take consequences on every aspect within the organization. The typical of technology entrepreneurs are technology minded, risk taker, leader / organizer. They are busy people with very limited time. They have to do many things in many areas of knowledge. To do such things, they need to prepare themselves with the abilities to make use of available information to make strategic decisions. They also have to learn very fast to accommodate the chaotic changes in market trends and conditions.

------

Chua Eng Hwa, An Action Learning Journey of a Technopreneur in Creating, Sustaining and Growing a World Class Knowledge-Based Teaching Organisation in Factory Automation in the 21st Century, July 2009 :

A Technopreneur is an extension of an entrepreneur, and makes use of technology to make a new invention and innovation and thereby exploits his achievement in the market to make money. What differentiates a Technopreneur from any other businessman is the way a Technopreneur operates his business (Milton-Smith 1999; Verburg 2005). His business is generally marked with a high growth potential and high leverage of knowledge and intellectual property. Technopreneurs are technically conversant and able to spot opportunities in high tech or high value added products and processes. It is the Technopreneurs who have successfully invented or commercialized many of the innovations we have today. The writer concurs from his Actions-Observations-and-Reflections (A-O-R) that the critical three core qualities that a Technopreneur must possess to be successful are vision, a never-die-spirit and an innovative mind.

------

http://oxforddictionaries.com/view/entry/m_en_gb0848750#m_en_gb0848750 :

(especially in South and SE Asia) a person who sets up a business concerned with computers or similar technology.

------

http://www.pengusahamuslim.com/baca/artikel/354/teknopreneur

Teknopreneur adalah penamaan bagi entrepreneur yang mengembangkan bisnis berdasarkan kemampuan dalam berinovasi dan memanfaatkan ilmu pengetahuan serta teknologi sebagai basis.

------

https://nurrahmanarif.wordpress.com/2009/03/20/

Teknopreneur adalah seorang entrepenur yang menggunakan aspek teknologi sebagai keunggulannya.

------

http://azwan87.wordpress.com/2009/02/04/perbedaan-entrepreneurship-dengan-teknopreneurship/

Mereka yang disebut teknopreneur adalah seorang “Entrepreneur Modern” yang berbasis teknologi. Inovasi dan kreativitas sangat mendominasi mereka untuk menghasilkan produk yang unggulan sebagai dasar pembangunan ekonomi bangsa berbasis pengetahuan (Knowledge Based Economic).( Nasution, Arman Hakim et al, 2007)

Teknopreneur adalah pengusahan yang membangun bisnisnya berdasarkan keahliannya di bidang ilmu pengetahuan dan teknologi, dan menghasilkan prosuk inovatif yang berguna tidak hanya bagi dirinya, tetapi bagi kesejahteraan bangsa dan negaranya.

 

Definisi Teknologi Informasi Berdasarkan UU ITE

17-12-2010 | by hendra | Categories: Teknologi Informasi

Berdasarkan statistik di server, banyak yang 'nyasar' masuk ke situs ini gara-gara 'hanya' mencari definisi dari istilah "Teknologi Informasi" (TI). No wonder, karena di situs ini saya memang pernah menulis tentang berbagai definisi teknologi informasi 4 tahun yang lalu!

Di sisi lain, Indonesia sudah memiliki "definisi resmi" dari istilah TI sejak tahun 2008 yang lalu. Hal tersebut tertuang dalam UNDANG-UNDANG REPUBLIK INDONESIA NOMOR 11 TAHUN 2008 Tentang Informasi Dan Transaksi Elektronik atau yang lebih sering dikenal dengan UU ITE. Tapi tetap saja banyak yang nyasar ke sini untuk mendapatkan definisi TI.

Oleh karena itu, saya tulis ulang definisi TI walau sudah agak basi, kali ini definisi yang resmi. Inilah definisi TI berdasarkan UU ITE:

"Teknologi Informasi adalah suatu teknik untuk mengumpulkan, menyiapkan, menyimpan, memproses, mengumumkan, menganalisis, dan/atau menyebarkan informasi."

Hanya itu saja? Ya, hanya itu saja. Moga-moga yang nyasar ke sini dapat definisi TI yang resmi di atas. :)

 

Solve the huge data output problem from the Carrier::getDeliveryPriceByRanges function (Prestashop)

16-10-2010 | by hendra | Categories: PHP, Programming

Link: http://www.prestashop.com/bug_tracker/view/5793/

Inside the Carrier::getDeliveryPriceByRanges function there are join processes between ps_range_weight table and ps_delivery table. If the ps_delivery table and ps_range_weight table have large amounts of data, the results of the join will produce an enormous data. This will cause the process stalled for some servers and we can not set the "Fees by carrier, geographical zone, and ranges".

To fix this, I modified the file: /admin/tabs/AdminShipping.php as follows:

This line:

$Delivery = Carrier::getDeliveryPriceByRanges($rangeTable);


I change to:

$Delivery = Carrier::getDeliveryPriceByRanges($rangeTable, $id_carrier);


After that I modified the file: /classes/Carrier.php as follows:

The function:

    public static function getDeliveryPriceByRanges($rangeTable)
    {
        $rangeTable = pSQL($rangeTable);
        return Db::getInstance()->ExecuteS('
        SELECT d.`id_'.$rangeTable.'`, d.`id_carrier`, d.`id_zone`, d.`price`
        FROM `'._DB_PREFIX_.'delivery` d
        LEFT JOIN `'._DB_PREFIX_.$rangeTable.'` r ON r.`id_'.$rangeTable.'` = d.`id_'.$rangeTable.'`
        WHERE (d.`id_'.$rangeTable.'` IS NOT NULL AND d.`id_'.$rangeTable.'` != 0)
        ORDER BY r.`delimiter1` ASC');
    }



I change to:

    public static function getDeliveryPriceByRanges($rangeTable, $id_carrier)
    {
        $rangeTable = pSQL($rangeTable);
        return Db::getInstance()->ExecuteS('
        SELECT d.`id_'.$rangeTable.'`, d.`id_carrier`, d.`id_zone`, d.`price`
        FROM `'._DB_PREFIX_.'delivery` d
        LEFT JOIN `'._DB_PREFIX_.$rangeTable.'` r ON r.`id_'.$rangeTable.'` = d.`id_'.$rangeTable.'`
        WHERE (d.`id_'.$rangeTable.'` IS NOT NULL AND d.`id_'.$rangeTable.'` != 0 AND d.`id_carrier` = '.$id_carrier.')
        ORDER BY r.`delimiter1` ASC');
    }



Please Prestashop team to check this.

 

Membuat Regex Secara Otomatis

17-08-2010 | by hendra | Categories: Programming

Salah satu hal yang paling sering dilakukan oleh programmer adalah membuat regex untuk operasi-operasi tertentu. Nah, masalahnya tidak semua hapal atau ingat konfigurasi regex. Kalau mau, silakan gunakan fasilitas 'Regex Generator'. Yang online ada beberapa di internet. Salah duanya yang pernah saya gunakan adalah situs-situs di bawah ini:

http://txt2re.com

http://gskinner.com/RegExr/

Oke, selamat ber-Regex ria..!

 

Pages: 1 3 4 5 6 7 8 9 10 11 ... 24