Ubuntu

July 1, 2020
Upload Source Code Dengan Bantuan Resync + Shell

Upload Source Code Dengan Bantuan Resync + Shell

Pernahkah kita ingin meng-upload source code ke web hosting selalu menggunakan program sejenis FTP Client ataupun langsung menggunakan cPanel? Pasti pernah donk. Setiap ada perubahan source code, selalu melakukan upload ulang.

Kali ini saya akan sharing pengalaman upload project Laravel + VueJS ke shared hosting. Problem yang sering ditemui jika menggunakan shared hosting yang murah, tidak terinstallnya npm. Padahal npm diperlukan untuk meng-compile source code VueJS, sehingga dapat berjalan dengan baik.

Baca Selengkapnya...
June 7, 2019

Konversi Banyak Gambar Sekaligus Di Ubuntu

Kesusahan saat menggunakan OS Linux dalam kasus ini Ubuntu adalah mencari software yang mempunyai GUI. Banyak sekali solusi bertebaran di google, tetapi sebagian besar menggunakan command. Iya, ada saatnya command-command itu lebih bergunda, tetapi ada saatnya command-command itu memperlambat pekerjaan. Terutama pekerjaan yang tidak selalu ada hubungannya dengan dunia programming. Beberapa hari yang lalu saya mempunyai ratusan image PNG yang akan saya ubah ke JPG, tetapi tidak mempunyai software untuk conversi banyak sekaligus. Bisa sih menggunakan GIMP, tetapi terlalu banyak jika harus melakukan satu per satu. Baca Selengkapnya...
March 27, 2019

Ubuntu 18.04: Hasil Print Terdapat Background Berwarna Biru

Hari ini saya membuat kontrak kerja dan ingin mencetaknya, tetapi tiba-tiba hasil print saya menjadi aneh dimana semua background diblock dengan background warna biru. Setelah saya googling kesana kemari, ternyata ada BUG pada ghostscript. Padahal dulu waktu pertama kali install Ubuntu 18.04 tidak ada masalah sama sekali. Ini dikarenakan ghostscript melakukan auto update. Untuk menyelesaikan masalah ini cobalah solusi dibawah ini: Lakukan downgrade: [crayon-5efef96294302597623168/] JIka gagal coba lakukan update ghostscript: [crayon-5efef96294307684675286/]  
October 29, 2015

SearchMonkey, TextCrawler Alternative for Ubuntu

Still about migrate to Ubuntu. I have another software that help me a lot find script that really hard to find. it is TextCrawler available only in Windows. Basically this software fill find a text in many text file in a folder. For example you have to find some strange php script that causing bug, but you don't know or forget where you save that script in a file. Here TextCrawler come. You just fill the location folder that you might save the file. Type your text that you want to search. And several result will show related files that have that text. Similar software just like TextCrawler is SearchMonkey.
October 29, 2015

Notepad++ & NppFTP Alternative For Ubuntu

There are several hard part migrating from Windows to Ubuntu. For example: How to install a software? How to remove it? etc, but this problem have many solution. Just search it and you will get so many tutorial about it. I think the hardest part is finding the best software that suite for us. As I am a web developer who need frequently connect with FTP. Notepad++ has very amazing feature like session. You don't need to save your session just close your notepad++ without save it. Reopen your notepad++ and all your work still remain there. Another feature that I love is NppFTP. You just need connect to your server and download it. Every save you made, notepad++ will automatically upload it. Sessioning and NppFTP is the most powerful and miss so much about it which I haven't found it yet in ubuntu. To work with FTP in ubuntu and the simplest solution for me that I found on internet is:
  1. Connect FTP/SFTP using your explorer. In my case is using Nautilus. So you could edit and save directly on it. The cons about this solution is, your text editor you use usually freeze for awhile if your size file have big enough. I tried using Sublime and got freeze every time that I save. During "freeze" moment you could switch or work to another file that you opened.
  2. Using your text editor plugin if any.
The most close text editor until now is jEdit. You won't happy with their UI and must do several tweek to make it like Notepad++. After you install it. Add FTP plugin. After that, you have FTP explorer like notepad++. jEdit doesn't have session feature. So, every you close your program and open it again. Your work will gone. All tab you have will gone. You must open your related file one by one again. However it help me a lot rather than using FileZilla or other FTP client that always click "yes" every update that I make.
October 24, 2015

Run Local *.swf With Browser In Ubuntu

Some of you maybe has same problem with me which is playing local file *.swf with your favourite browser in Ubuntu. By default if you just drag and drop file in your browser they will download the file and playing it. This is because you don't set proper MIME type. Here how you reset it. Edit /usr/share/mime/packages/freedesktop.org.xml and change
<mime-type type="application/vnd.adobe.flash.movie">
to
<mime-type type="application/x-shockwave-flash">
and then run this in your terminal and try again
update-mime-database /usr/share/mime